Le 16/12/2021 à 21:17, Bob Friesenhahn a écrit :
On Thu, 16 Dec 2021, Milian Wolff wrote:
So, do these two things mean that a patch would be accepted upstream
to make
libtiff write the buffers in an aligned fashion? How would that API
look like?
For our purpose a minimal non-optional API that will always ensure
the strip
buffer offsets are BitsPerSample-aligned would be enough. Would that be
acceptable upstream? Or does it have to be user configurable? If so,
could you
please give me a rough outline of your expectations, then I will work
on this
and prepare a patch.
In my opinion, if this is done, it should be done by default by
libtiff without any extra API exposure. Files written by libtiff
would then be a bit larger.
I would limit that behavior to uncompressed data only. No point to add
padding between compressed tiles/strips.
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff