Author |
Topic |
|
UBeyerAtWork
Switzerland
13 Posts |
Posted - Sep 19 2019 : 08:49:53
|
Hello,
I have problem to show a TIFF image. In Irfanview it's no problem.
It gives no error message on load. Image control stays gray. Does anyone have same problems?
Uwe
Uwe Beyer Software Engineering / Consulting (Personalsystem/Archivsystem/Web)
IS International Sourcing AG Stockwiesenstr. 1 CH-8240 Thayngen
attach/UBeyerAtWork/201991991057_ImageENTifTest.zip 568.75 KB |
|
xequte
38610 Posts |
Posted - Sep 19 2019 : 18:18:17
|
Hi Uwe
I cannot find a single app that loads this TIFF file. It must be a very uncommon format. Is there a particular reason you need to support it?
Nigel Xequte Software www.imageen.com
|
|
|
UBeyerAtWork
Switzerland
13 Posts |
Posted - Sep 20 2019 : 02:00:36
|
Hi Nigel,
the reason is to switch our archiv system. We have to convert from single pages to multitiff. As I saw it's a format from Leadtools.
In new version of Irfanview it's working fine. Maybe I can ask Irfan, if he can help us.
>> I got answer from Irfan. He takes the newest version of libtiff. I will try to write a wraper for it.
The big problem is that we don't get any error message.
King Regards from south Germany Uwe
Uwe Beyer Software Engineering / Consulting (Personalsystem/Archivsystem/Web)
IS International Sourcing AG Stockwiesenstr. 1 CH-8240 Thayngen
|
|
|
xequte
38610 Posts |
Posted - Sep 20 2019 : 17:42:13
|
Hi Uwe
I'll take a look at it and see if it's practical to support, or at least raise an exception.
We're a bit behind at the moment because of the FireMonkey development.
Nigel Xequte Software www.imageen.com
|
|
|
xequte
38610 Posts |
Posted - Sep 20 2019 : 23:32:36
|
Hi Uwe
Actually, it seems you can view the content of this image just fine if you disable the alpha channel, e.g. after loading, call:
ImageEnView1.RemoveAlphaChannel;
I'll investigate this in more depth shortly.
Nigel Xequte Software www.imageen.com
|
|
|
UBeyerAtWork
Switzerland
13 Posts |
Posted - Sep 23 2019 : 06:54:36
|
Hi Nigel,
perfect thanks a lot
Uwe
Uwe Beyer Software Engineering / Consulting (Personalsystem/Archivsystem/Web)
IS International Sourcing AG Stockwiesenstr. 1 CH-8240 Thayngen
|
|
|
xequte
38610 Posts |
Posted - Sep 30 2019 : 17:03:11
|
Further information from Fabrizio:
The fourth channel in TIFF images can be interpreted as alpha channel or not. When it represents alpha channel then ExtraSamples tag should be 1 or 2. However old software may not assign ExtraSamples tag and include anyway the additional channel as alpha channel (as in the test image).
I've added a define in ie.inc that enables current behaviour (until 8.7.0), meaning "always interpret additional channel as alpha". But we should should disable it (from 8.7.1) because with newer TIFFs the ExtraSamples tag is generally assigned correctly (allowing this forum image to be read correctly).
Uwe, You can email email me for a pre-release if you like.
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|