Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to save/export as tiff in a script?

Guest
Apr 09, 2012 Apr 09, 2012

I need to use indesign server to convert an idml file to a tiff.


I find that I can easily export to a jpg (which is lossy) or a pdf (which is not), but I cannot find any options to export to tiff. Is this possible?

If not, what is my best bet since I will have to convert it to tiff using another process.

TOPICS
Scripting
4.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2012 Apr 10, 2012

You could export to PDF and then render a TIFF in PhotoShop. In that way you have more control over image quality and color space.

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2012 Apr 10, 2012

This whole process needs to be automated and writing code against PDFs is messy. Surely this has been done before.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2012 Apr 10, 2012

It certainly depends on the platform you're working on.

To do so in PhotoShop you could use BridgeTalk if you want to stick with InDesign scripting launching PhotoShop, open up the PDF with some parameters and saving the new file as TIFF in a directory of your choice.

Search for "BridgeTalk"  in this forum. There are some examples for implementation around here…

OR: implement some Acrobat Pro scripting to export to TIFF via Acrobat Pro.

OR: use some hotfolder based tools that come with some PDF workflow systems.

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2012 Apr 10, 2012

So hold on,

I don't have Photoshop or anything like that (actually I don't even have InDesign), I just have an instance of Indesign Server to work with.

My understanding is that just about anything you do with InDesign, you can script with InDesign Server - are you saying that is untrue?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Apr 10, 2012 Apr 10, 2012

My understanding is that just about anything you do with InDesign, you can script with InDesign Server - are you saying that is untrue?

I don't have ID server… but where do you see *.tiff export in the standard ID? ( I only have CS5 btw )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 10, 2012 Apr 10, 2012

ID server has pretty much everything that's in ID except anything that has to do with UI.

As for exporting a TIFF, InDesign does not support exporting tiff's.

You can export a jpg, converting that to tiff.

You can also write a plug in that could export a TIFF (see the SDK).

Regards

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2012 Apr 10, 2012

Is there a way to export jpg without loss in quality? I saw png as a key on ExportFormat but I get an error whenever I try to use it.

The nuclear option is to go

Idml -> Indesign -> PDF -> Inkscape Command Line -> TIFF

but good god is that asking for trouble.

Any other good options?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 11, 2012 Apr 11, 2012
LATEST

It does seem that there should be a non-lossy raster export format.

Here's a nutty idea: export to swf with rasterizePages set to true and rasterCompression at RasterCompressionOptions.LOSSLESS_COMPRESSION and then extract the png from the resulting swf with swftools. At least that way you wouldn't be relying on a third-party tool to perform the rasterization.

Jeff

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines