Photoshop opening PDFs
Posted: Wed Feb 26, 2014 11:34 pm
I am using the Photoshop configurator to open PDFs and rasterize them on difficult jobs. My issue is by default Photoshop selects bounding Box for the Crop too. If I open a PDF manually and change it to Media Box, all files there after will use that setting. Of course if Photoshop is closed it goes back to the default.
I found a Javascript for opening the file but I don't believe it is complete and doesn't run in SWITCH when I try in my Open with Script in the Photoshop configurator. I am sure I need to provide more info.
var pdfOpenOptions = new PDFOpenOptions();
pdfOpenOptions.antiAlias = true;
pdfOpenOptions.mode = OpenDocumentMode.RGB;
pdfOpenOptions.bitsPerChannel = BitsPerChannelType.EIGHT;
pdfOpenOptions.resolution = 300;
pdfOpenOptions.supressWarnings = true;
pdfOpenOptions.cropPage = CropToType.MEDIABOX;
Thanks
Andy
I found a Javascript for opening the file but I don't believe it is complete and doesn't run in SWITCH when I try in my Open with Script in the Photoshop configurator. I am sure I need to provide more info.
var pdfOpenOptions = new PDFOpenOptions();
pdfOpenOptions.antiAlias = true;
pdfOpenOptions.mode = OpenDocumentMode.RGB;
pdfOpenOptions.bitsPerChannel = BitsPerChannelType.EIGHT;
pdfOpenOptions.resolution = 300;
pdfOpenOptions.supressWarnings = true;
pdfOpenOptions.cropPage = CropToType.MEDIABOX;
Thanks
Andy