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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Batch Converter Demo: Converting to Webp fails

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AScomp 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
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 27 2023 : 16:02:40
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
xequte 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
AScomp 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 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