Tiff load warring? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
JenT
Earned some good credits
Earned some good credits
Posts: 114
Joined: Fri Oct 24, 2008 9:23 am

Tiff load warring?

Post by JenT »

I use wxWidgets 3.0 to load tif image, I got a warring from load some tifs Image.
This Tiff is TIFF Revision 6.
How to resolve this problem?

Thank you.
Attachments
TifFile2.7z
(244.52 KiB) Downloaded 86 times
TifFile.7z
(337.54 KiB) Downloaded 91 times
TifError.png
TifError.png (72.51 KiB) Viewed 1979 times
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Tiff load warring?

Post by doublemax »

Create an instance of wxLogNull in your image loading code to suppress the warnings.
http://docs.wxwidgets.org/trunk/classwx_log_null.html
Use the source, Luke!
JenT
Earned some good credits
Earned some good credits
Posts: 114
Joined: Fri Oct 24, 2008 9:23 am

Re: Tiff load warring?

Post by JenT »

doublemax wrote:Create an instance of wxLogNull in your image loading code to suppress the warnings.
http://docs.wxwidgets.org/trunk/classwx_log_null.html
Sorry, my english is too bad.
I did not quite accurate expression what I mean. :oops:
I test read tif file got some problem, it not only popup warring.
It really happen wrong in the wxImage that read Ti.tif into Cekli software.
See those picture.

Thank you for your reply. :D

Cekli PhotoLab
http://sourceforge.net/projects/cekli-photolab/
Attachments
Read Ti.tif
Read Ti.tif
Happen wrong in the wxImage
Happen wrong in the wxImage
Ti.7z
Ti.tif
(244.46 KiB) Downloaded 107 times
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Tiff load warring?

Post by doublemax »

I think the problem lies in the Cekli PhotoLab software, not the TIFF loading. The image has a transparent border and there are just some redraw errors. When i load the image into the wxWidgets "image" sample, i get the same warnings, but the image looks ok.
Use the source, Luke!
JenT
Earned some good credits
Earned some good credits
Posts: 114
Joined: Fri Oct 24, 2008 9:23 am

Re: Tiff load warring?

Post by JenT »

doublemax wrote:I think the problem lies in the Cekli PhotoLab software, not the TIFF loading. The image has a transparent border and there are just some redraw errors. When i load the image into the wxWidgets "image" sample, i get the same warnings, but the image looks ok.
Thank you for your reply
=D>
Post Reply