Hi,
I'm currently trying to save a wx.Bitmap as a
Group4 compressed Tif. The attached script should work as far as I can see. All it does do is create a 0 byte file. I have had a few other effects where the file size is bigger but the contents aren't a correct tif.
I also tried using PIL which works fine but I can't get compression
to work.
I would be grateful for any input.
Adi
save-tif-error.py (1.11 KB)
Robin seems to be working on the problem:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:39564:200505:pedejhdakcfkekmnofkn
I'm not sure that these links help much:
http://mail.python.org/pipermail/image-sig/1997-May/000271.html
and
It looks a bit old, maybe something has changed.
Did you ask on the PIL mailing list?
Harald Stürzebecher
···
2005/6/15, Adi Jörg Sieker <ml@adsworth.info>:
Hi,
I'm currently trying to save a wx.Bitmap as a
Group4 compressed Tif. The attached script should work as far as I can
see. All it does do is create a 0 byte file. I have had a few other
effects where the file size is bigger but the contents aren't a correct tif.
I also tried using PIL which works fine but I can't get compression
to work.
I would be grateful for any input.
Hi Harald,
Harald Stürzebecher wrote:
Hi,
I'm currently trying to save a wx.Bitmap as a
Group4 compressed Tif. The attached script should work as far as I can
see. All it does do is create a 0 byte file. I have had a few other
effects where the file size is bigger but the contents aren't a correct tif.
I also tried using PIL which works fine but I can't get compression
to work.
I would be grateful for any input.
Robin seems to be working on the problem:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:39564:200505:pedejhdakcfkekmnofkn
Looks like he is working on something todo with saving Tiff with no compression. I hope it'll also fix my problem.
I'm not sure that these links help much:
[PYTHON IMAGE-SIG] Re: [PIL] How to write compressed TIFF images
and
ActiveState Community - Boosting coder and team productivity with ready-to-use open source languages and tools.
It looks a bit old, maybe something has changed.
Did you ask on the PIL mailing list?
No, I haven't will do that aswell though.
Thanks for the suggestions
Adi
···
2005/6/15, Adi Jörg Sieker <ml@adsworth.info>: