Author |
Topic |
|
AScomp
Germany
18 Posts |
Posted - Jan 03 2021 : 17:17:36
|
Hi,
I just tried to convert some images (PNG, JPG, BMP) to webp using the Batch Converter Demo.
Although the demo project does not throw any exceptions, the resulting image files are 0 Bytes in size.
ImageEn version 9.2.6, Delphi XE, WebP Codec Setup 0.19.9.0 installed
Tested with official .EXE demo as well, same issue.
Any ideas?
Kind regards
Andreas |
|
xequte
38608 Posts |
Posted - Jan 04 2021 : 02:01:00
|
Hi Andreas
WebP writing is not supported. Is ImageEnView1.IO.Aborting true after the call?
Nigel Xequte Software www.imageen.com
|
|
|
AScomp
Germany
18 Posts |
Posted - Jan 04 2021 : 08:46:53
|
Hi Nigel,
the Batch Converter Demo uses TIEBitmap, not TImageEnView. For TIEBitmap, I could not find .IO.Aborting.
TIEBitmap.Write returns true, even that the resulting file is 0 Bytes in size. This seems to be a bug and should be fixed, since I have no chance to check if succeeded (other than check file size or try to load image after conversion, which is a bad idea if you have several hundreds or thousands of files in a batch process).
It's a little bit disappointing, that WebP is not supported. I downloaded the Batch Converter Demo prior to my purchase, saw that WebP is supported as destination format and decided to buy. In total, it's a great library and I am happy with it up to now, but these two issues are serious for my application.
Is it planned to support WebP writing shortly?
Kind regards
Andreas |
|
|
xequte
38608 Posts |
Posted - Jan 04 2021 : 13:56:11
|
Hi Andreas
WebP support depends on the WIC driver, but the way ImageEn is handling it is incorrect.
We'll have a fix for this in 9.3.0.. You can email me for a pre-release.
Nigel Xequte Software www.imageen.com
|
|
|
xequte
38608 Posts |
|
|
Topic |
|
|
|