-
1. Re: InDesign export page item as PNG - DPI issues
Bob Stucky Nov 8, 2010 10:22 AM (in response to Peter Celuch)It's a bit convoluted but, export as EPS from InDesign, then open the EPS in Photoshop. If you open it in PS' UI, you'll get a dialog that allows you to set the dpi of the rasterizing process. You can do that via script using Script Listener code. I typically use 600 or 1200 dpi. Then just save as PNG.
Regards
Bob
-
2. Re: InDesign export page item as PNG - DPI issues
Peter Celuch Nov 8, 2010 12:07 PM (in response to Bob Stucky)wow bob! convoluted you say, huh?
By "save as PNG" you mean the whole document / page? because I needed the particular parts of the page (pictures, articles) exported separately, not flattened. Thanks for the idea, but I'm affraid the multi-app script won't work for me - I need ID script only
Isn't there a way to set up the "PageItem.exportFile()" to export in different DPI? Or maybe just for a moment change DPI of the whole document, export PNGs and change the document's DPI back. Won't that work? (I'm not sure where to change doc's DPI..)
-
3. Re: InDesign export page item as PNG - DPI issues
Olav Martin Kvern Nov 8, 2010 3:27 PM (in response to Peter Celuch)flashlabs.eu asked: "Isn't there a way to set up the "PageItem.exportFile()" to export in different DPI? Or maybe just for a moment change DPI of the whole document, export PNGs and change the document's DPI back. Won't that work? (I'm not sure where to change doc's DPI..)"
Changing the documents DPI won't work. I was thinking that we might be able to do this (ExtendScript version):
app.xflExportPreferences.pageRange = PageRange.SELECTED_ITEMS;
app.xflExportPreferences.rasterFormat = XFLRasterizeFormatOptions.PNG;
app.xflExportPreferences.rasterResolution = 300;
pageItem.exportFile(ExportFormat.packagedXFL, File("/c/test.zip"), false);...and then open the resulting zip and extract the image (from the LIBRARY folder). But...no, that doesn't work--everything except images gets rasterized at 72 dpi. This is true even when exporting the objects from the UI--the PNG resolution setting only affects *placed images* in the InDesign file.
JPEG export options, on the other hand, work just fine. Is there a way you could use JPEGs?
Let's keep poking at this--I feel that there must be a way....
Thanks,
Ole
-
4. Re: InDesign export page item as PNG - DPI issues
Peter Celuch Nov 9, 2010 12:26 AM (in response to Olav Martin Kvern)Thanks Olav, interesting approach but unfortunately I need hi-quality text as well, and all with transparency so PNG is the only way for me
-
5. Re: InDesign export page item as PNG - DPI issues
Peter Celuch Nov 9, 2010 1:06 AM (in response to Peter Celuch)How about scaling the whole document?
Is it possible? ID exports all page items in 100% scale (72dpi) so what if my font wasn't 12px but 24px and all objects were 2x bigger (still 72dpi)?
As I mentioned in the beginning - temporary item scaling up and down works ok. Except items' interaction. If you scale items individually, their interactions are all messed up (picture in text etc.)
But If you could scale it all as one piece and than export one by one ... I believe this could work just fine. The only problem is - I have no idea how to scale the whole document
-
6. Re: InDesign export page item as PNG - DPI issues
herr mueller Nov 17, 2010 9:02 AM (in response to Peter Celuch)I solved this once by exporting each page to a pdf. Importing each page to a document 2x the dimensions and placing each page into a container and fitting to the container. Again, convoluted but workable.



