Skip to main content
Participant
August 4, 2014
Question

In Indesign CS6 I export an artboard to TIFF with the sdk's funtion SnapshotUtilsEx->ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sd

  • August 4, 2014
  • 1 reply
  • 553 views

In Indesign CS6 I export an artboard to  TIFF with the sdk's funtion SnapshotUtilsEx->ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?

This topic has been closed for replies.

1 reply

Participant
August 5, 2014

An easy example to prove this bug of Indesing CS6:  I create a psd with Photoshop CS6, with width 505 pixels, height 317 pixels and a resolution of 300 pixels per inch. This psd is placed on a page in InDesign CS6. Then I try to export it as a tiff with the functions:

fSnapshotUtilsEx->Draw(flags,fullResolutionGraphics,greekBelowPtSize,enableAntiAliasing,transparencyQuality,abortCheck,pVPAttrMap,bDrawNonPrintingObjects);

and

SnapshotUtilsEx-> ExportImageToTIFF (iStream)

The resulting tiff has a width of 506 pixels (one pixel more in width). It will happen the same if we start with a width of 507 pixels, etc.

This error does not occur with Indesign CS5, nor Indesing CC.

Legend
August 5, 2014

Are you using the same document e.g. original in CS5, converted for the newer versions?

If you created the doc from scratch in each version, check whether the image has a stroke applied, a drop shadow or similar.

You might have inherited those settings from application presets changed by accident, e.g. check the applied default object styles.

You could also export the image as snippet, then diff the snippet xml.

Participant
August 5, 2014

Hello,

The documents are created from scratch, and there is no stroke or shadow applied to the image. The size and resolution of the photo on the page are good, but are those functions to export as tiff images, which don't work fine, depending on the width and resolution.

Thank you very much.