Problem Statement
We had following requirment
1) Tiff image saved with compression 4 (Fax Formate)
2) Following Tiff Fields should be present in Tiff Header
a) encodeParam.setCompression(TIFFEncodeParam.COMPRESSION_GROUP4);
b) encodeParam.setWriteTiled(false); // false means use strips.
c) encodeParam.setTileSize(0, 0); // tiling will make the file size much larger.
d) encodeParam.setLittleEndian(true); // create an Intel (II) format image
e) TIFFField(282, TIFFField.TIFF_RATIONAL, 1, new long[][] {{ xCurrentDPI, 1 } });
f) TIFFField(283, TIFFField.TIFF_RATIONAL, 1, new long[][] {{ yCurrentDPI, 1 } });
When we save using Aspose provided api, the file which is created does not have the above fields set, it only support the point 1 of above list.
What we need
See solution or apis which will allow us to set the above field list