WEBP Image Format

Martin Koob mkoob at rogers.com
Wed Jan 15 16:59:21 EST 2020


Not sure if this would work but in the following article


 it says there are command line utilities to convert WebP images to PNG and other formats

 'Google offers up the utilities to encode, decode, and view WebP on Linux, Windows, and Mac OS X.’

C:\Path\To\dwebp.exe inputFile.webp -o outputFile

I think you could use LiveCode’s shell() function to run this to convert any of the WebP images you are supplied to get PNG versions to server to your customers.


Martin Koob

> On Jan 15, 2020, at 4:48 PM, Rick Harrison via use-livecode <use-livecode at lists.runrev.com> wrote:
> Ralph,
> Sounds like you are stuck with it.
> I think you will have to play around with the browser widget
> or figure out how to take a screen shot of just the image
> so you can use it.  
> It’s a headache and a PITA!
> Good luck!
> Rick
>> On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Hey Rick,
>> Yes, I have no choice. This in one of many weather icon URLs that our
>> weather provider delivers via their API. I don't know what the image is
>> until it's downloaded and displayed. All of the images to date were/are
>> PNGs. This one seems to be an outlier but I'm worried that more of these may
>> come my way. I Can't open it up in any app(Windows) except for Chrome. I
>> display these icons in the app using 24 of these images(one per hour) in a
>> scrolling group.
>> The browser widget opens the URL and displays the image. If I knew the size
>> I guess I could do some convoluted procedure to resize/export the image from
>> the browser widget to an image to display in a resizable image control.
>> If the browser widget can open it then the open source library for webp must
>> be available (conversion widget?).
>> Headache....
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list