I have .dll library which use tiff image in big-endian (MM) byte order, but image scanner create image in little-endian (II) byte order.
How to convert tiff from little-endian (II) to big-endian (MM)?
Will be great, watch how it make in java
I have .dll library which use tiff image in big-endian (MM) byte order, but image scanner create image in little-endian (II) byte order.
How to convert tiff from little-endian (II) to big-endian (MM)?
Will be great, watch how it make in java
You can do that with ImageMagick like this:
Here is the before image with Intel byte ordering (
II
):And here is the after image with Motorola ordering (
MM
):