Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

SaveAs PBM

$
0
0

Hello.

I need to save my current active document as a PBM format file via CS6 javascript.

However, I'm running into the problem that there's no PBMSaveOptions object defined that I can pass into the saveAs function.

My output always gets converted to .psd even if I define a .pbm extension.

 

Anyone know if I need to create a custom Options object or another trick?

Bottom line: there don't seem to be enough SaveOptions objects to cover all the formats Photoshop can save to via the GUI.

 

The Javascript reference lists these:

 

BMPSaveOptions

DCS1_SaveOptions

DCS2_SaveOptions

EPSSaveOptions

GIFSaveOptions

JPEGSaveOptions

PDFSaveOptions

PhotoshopSaveOptions

PICTFileSaveOptions

PICTResourceSaveOptions

PixarSaveOptions

PNGSaveOptions

RawSaveOptions

SGIRGBSaveOptions

TargaSaveOptions

TiffSaveOptions

 

Thanks for any help.

 

-Len


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>