Option for TGA format image origin
Posted: 2015-09-07T02:00:18-07:00
I can not find an option for specifiying the image origin for TGA files.
I am using convert.exe to crop a TGA file. It has the origin in top-left corner. After the crop the origin is bottom-left.
Is there an option to preserve the original setting?
Regarding the origin, i am talking about the header information in the file:
header[17] bits 5 and 4, being 01 means origin is at bottom-left.
header[17] bits 5 and 4, being 10 means origin is at top-left.
Information from here:
https://github.com/processing/processing/issues/1682
See also:
https://en.wikipedia.org/wiki/Truevision_TGA#Header
Thanks for any hints.
I have tried +repage and also -extent with no luck.
I am using convert.exe to crop a TGA file. It has the origin in top-left corner. After the crop the origin is bottom-left.
Is there an option to preserve the original setting?
Regarding the origin, i am talking about the header information in the file:
header[17] bits 5 and 4, being 01 means origin is at bottom-left.
header[17] bits 5 and 4, being 10 means origin is at top-left.
Information from here:
https://github.com/processing/processing/issues/1682
See also:
https://en.wikipedia.org/wiki/Truevision_TGA#Header
Thanks for any hints.
I have tried +repage and also -extent with no luck.