ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Batch Converter Demo: Converting to Webp fails
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AScomp

Germany
18 Posts

Posted - Jan 03 2021 :  17:17:36  Show Profile  Reply
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

38684 Posts

Posted - Jan 04 2021 :  02:01:00  Show Profile  Reply
Hi Andreas

WebP writing is not supported. Is ImageEnView1.IO.Aborting true after the call?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

AScomp

Germany
18 Posts

Posted - Jan 04 2021 :  08:46:53  Show Profile  Reply
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
Go to Top of Page

xequte

38684 Posts

Posted - Jan 04 2021 :  13:56:11  Show Profile  Reply
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
Go to Top of Page

xequte

38684 Posts

Posted - Nov 27 2023 :  16:02:40  Show Profile  Reply
WebP saving is also supported by the ImageMagick plug-in, and also WIC:

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=5834

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: