Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Issue loading TIFF images with plugin/TIF
Re: Issue loading TIFF images with plugin/TIF [message #59547 is a reply to message #59538] |
Tue, 24 January 2023 14:04   |
Tom1
Messages: 1302 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I have now implemented those GeoTIFF features I presented above for tifupp.cpp externally, calling libtiff of plugin/tif directly. I also avoided the FetchPage issue (black area with large images) and horizontal mirroring crash with strangely oriented images by using this approach. Therefore, I do not need merging of those new features to plugin/tif anymore. However, someone else might find them useful, so please proceed as you prefer.
The crash when loading JPEG compressed TIFF images is still there with Windows (not Linux though). So, I guess it is a bug in libtiff, not plugin/tif. Anyway, this requires further digging. The sample file is:
https://www.marinha.mil.br/chm/sites/www.marinha.mil.br.chm/ files/geotiff/22700geotiff.zip
I think that updating the libtiff to its latest version (4.5.0 at this time) might be useful as there is a continuous bug fixing and development going on.
Also, it might be useful to add support for COMPRESS_ZSTD and COMPRESS_LZMA, if possible through using existing plugin/zstd and plugin/lzma. (COMPRESS_LZW and COMPRESS_DEFLATE work well as is.)
Best regards,
Tom
EDIT: So, the above JPEG compressed TIFF image loads correctly in Linux 64 bit. However it also loads correctly in Windows when ImageViewer is built with CLANG (32-bit) or MSBT22 (32-bit), but crashes in __intrinsic_setjmp() with both CLANG64 and MSBT22x64. Don't know how to fix this.
[Updated on: Mon, 13 February 2023 17:37] Report message to a moderator
|
|
|
 |
|
Issue loading TIFF images with plugin/TIF
By: Tom1 on Fri, 13 January 2023 17:44
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Mon, 16 January 2023 17:42
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Tue, 17 January 2023 10:56
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Wed, 18 January 2023 11:12
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Thu, 19 January 2023 11:55
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Thu, 19 January 2023 20:29
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Tue, 24 January 2023 14:04
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: mirek on Tue, 14 February 2023 00:46
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Tue, 14 February 2023 09:02
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: mirek on Tue, 14 February 2023 15:28
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Tue, 14 February 2023 20:54
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Wed, 15 February 2023 07:56
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: mirek on Wed, 15 February 2023 08:15
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Wed, 15 February 2023 08:26
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Thu, 16 February 2023 17:29
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: mirek on Fri, 17 February 2023 11:04
|
 |
|
Re: Issue loading TIFF images with plugin/TIF
By: Tom1 on Fri, 17 February 2023 16:37
|
Goto Forum:
Current Time: Tue Apr 29 18:38:35 CEST 2025
Total time taken to generate the page: 0.00796 seconds
|