WEBP Image Format
Ralph DiMola
rdimola at evergreeninfo.net
Wed Jan 15 13:49:27 EST 2020
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....
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Rick Harrison via use-livecode
Sent: Wednesday, January 15, 2020 1:11 PM
To: How to use LiveCode
Cc: Rick Harrison
Subject: Re: WEBP Image Format
Hi Ralph,
Webp format is a google image format.
Can you convert the image to standard .png before using it or is this
something google is forcing you to use?
Rick
> On Jan 15, 2020, at 11:44 AM, Ralph DiMola via use-livecode
<use-livecode at lists.runrev.com> wrote:
>
> I have this link although its url is a .png apparently it's in webp
format.
> This has broken my app.
>
> https://assets.weatherstack.com/images/wsymbols01_png_64/wsymbol_0007_
> fog.pn
> g
>
> How do I display this in LC? No shells please as this is a mobile app.
>
> Thanks
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> _______________________________________________
> 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
_______________________________________________
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