Skip to main content
Participant
December 1, 2008
Question

Corba: JPEG export

  • December 1, 2008
  • 1 reply
  • 480 views
Hallo,
i control the InDesignServer over Corba and communicate with java.
I can export a PageItem as JPG but the resolution information is always on 72 ppi.
Although I set these informations. application.getJPEGExportPreferences().setJPEGQuality(kJPEGOptionsQualityMaximum.value);
application.getJPEGExportPreferences().setJPEGRenderingStyle(kJPEGOptionsFormatBaselineEncoding.value);
application.getJPEGExportPreferences().setResolution(2000);

pageItem.doExport(VariableTypeUtils.createString("JPEG"), jpg.getAbsolutePath(), OptArg.noPDFExportPreset(), OptArg.noString(), OptArg.noBoolean());
Thanks for Help!
This topic has been closed for replies.

1 reply

Participant
December 19, 2008
Hej Marcel,

hast du es mal mit einem kleineren wert als 2000 probiert? 2000 dpi ist schon ganz schön viel, keine ahnung ob der indesign server das so macht.

ich setze folgendes:

application.getJPEGExportPreferences().setJPEGQuality(kJPEGOptionsQualityHigh.value);
application.getJPEGExportPreferences().setResolution(300);

und dann kommt auch ein 300 dpi bild raus...