Question to LZMA support

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
Herb
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Dec 07, 2016 12:26 pm

Question to LZMA support

Post by Herb »

Hello,

I am working with wxwidgets 3.2.1 on a Windows 10 system.
I have built the (MSW-)library with GCC12.2.0 downloaded from winlibs.

Now I need LZMA support within TIFF in order to open/load *.tiff images that have been lzma-compressed.
In building instruction and e.g in file "include\wx\msw\setup.h" is described how to enable LZMA support.

Now I have the questions:
- does this LZMA support only build wxClasses: wxLZMAInputStream and wxLZMAOutputStream?
- does it also enhance libtiff with lzma support.

If someone has experience with this, any help is appreciated.
Thanks for your answers/help in advance
Best regards
herb
User avatar
doublemax
Moderator
Moderator
Posts: 18004
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Question to LZMA support

Post by doublemax »

Did you check if you can actually load a TIFF image with LZMA compression?
Now I have the questions:
- does this LZMA support only build wxClasses: wxLZMAInputStream and wxLZMAOutputStream?
- does it also enhance libtiff with lzma support.
After doing a quick search in the source code, i'd say the #define in setup.h only affects wxLZMAInputStream and wxLZMAOutputStream
Use the source, Luke!
Herb
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Dec 07, 2016 12:26 pm

Re: Question to LZMA support

Post by Herb »

Hello doublemax,

thanks for your investigations.
It is a pity that it does not introduce TIFF-LZMA-support.

Best regards
herb
Post Reply