FPC can't read it's own TIFF-Files generated with fpWriteTIFF
Original Reporter info from Mantis: Knut-HH
-
Reporter name: Knut
Original Reporter info from Mantis: Knut-HH
- Reporter name: Knut
Description:
When writing a TIFF with FPWriteTIFF and re-reading the TIFF with FPReadTIFF it raises an exception that the Tags are not in Order.
FPWriteTIFF needs to sort the FPEntry-Lists by Tag-Value first before Writing the TIFF to Disk.
I attached my solution to this bug.
Steps to reproduce:
Load an image, assign it to a fpWriteTIFF-Object then write it to Disk. Try to reread this file with a fpReadObject.
Mantis conversion info:
- Mantis ID: 35586
- Build: WinX64
- Version: 3.0.4
- Fixed in revision: 42143 (#6d65a8f1)