I have an application that work with wx 2.6 on win. When I try to save
(SaveFile method) a wxstaticbitmap to a tiff file, I receive this error
that on wx 2.4 I don't receive:
11:51:04: tiff module: image
11:51:04: LZW compression is not available to due to Unisys patent enforcement
11:51:04: TIFF: Error writing image.
I have an application that work with wx 2.6 on win. When I try to save
(SaveFile method) a wxstaticbitmap to a tiff file, I receive this error
that on wx 2.4 I don't receive:
11:51:04: tiff module: image
11:51:04: LZW compression is not available to due to Unisys patent enforcement
11:51:04: TIFF: Error writing image.
Is there a solution for save into tif format ?
I think that this would work:
1. convert your bitmap to a wx.Image.
2. Call image.SetOptionInt( wx.IMAGE_OPTION_COMPRESSION, 0)
3. call image.SaveFile
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I have an application that work with wx 2.6 on win. When I try to save
(SaveFile method) a wxstaticbitmap to a tiff file, I receive this error
that on wx 2.4 I don't receive:
11:51:04: tiff module: image
11:51:04: LZW compression is not available to due to Unisys patent
enforcement
11:51:04: TIFF: Error writing image.
I have an application that work with wx 2.6 on win. When I try to save
(SaveFile method) a wxstaticbitmap to a tiff file, I receive this error
that on wx 2.4 I don't receive:
11:51:04: tiff module: image
11:51:04: LZW compression is not available to due to Unisys patent enforcement
11:51:04: TIFF: Error writing image.
Is there a solution for save into tif format ?
I think that this would work:
1. convert your bitmap to a wx.Image.
2. Call image.SetOptionInt( wx.IMAGE_OPTION_COMPRESSION, 0)
3. call image.SaveFile
This don't work, I receive the same error.
Thanks,
Michele
And into the sources I don't find any comment about python. I don't
think create a wrapper for python, for example with ctypes, is the
better solution for me.
I have an application that work with wx 2.6 on win. When I try to save
(SaveFile method) a wxstaticbitmap to a tiff file, I receive this error
that on wx 2.4 I don't receive:
11:51:04: tiff module: image
11:51:04: LZW compression is not available to due to Unisys patent enforcement
11:51:04: TIFF: Error writing image.
Is there a solution for save into tif format ?
I think that this would work:
1. convert your bitmap to a wx.Image.
2. Call image.SetOptionInt( wx.IMAGE_OPTION_COMPRESSION, 0)
3. call image.SaveFile
This don't work, I receive the same error.
Ok, I'll take a closer look at the sources.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!