File Extension for Images in the FFF

Discussions related to the forums itself. Call for moderators. Trash Posts area.
zyklame
Inserter
Inserter
Posts: 30
Joined: Fri Jul 01, 2016 2:03 pm
Contact:

File Extension for Images in the FFF

Post by zyklame »

The images in the FFF have the endings jpg, png but in reality they are webp images.
Is these intended?
The browser is just showing them but other programms have trouble showing them unless they are renamed.
Why not save them as *.webp in the webpage as ther original file type suggests?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: File Extension for Images in the FFF

Post by Klonan »

All the images are exported from GIMP or ShareX as PNG's and JPG's,
They also show as JPGs to me in browser 'Image type'
Image
Do you have an idea what might be happening?
weaknespase
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sat Mar 24, 2018 8:19 am
Contact:

Re: File Extension for Images in the FFF

Post by weaknespase »

Well, probably one of CDN tricks to conserve bandwidth - WEBP have better compression than JPEG.

The same image in your screenshot served in WEBP format (134 KiB) for Firefox 66a and in JPEG format (214 KiB) for Microsoft Edge, for example. CDNs usually don't serve content they don't sure client doesn't know how to open.

Update: Looked under the hood - it is CDN trick, cloudflare recompressing the image. Response header "cf-polished: origFmt=jpeg, origSize=218252" is more than enough evidence.
Post Reply

Return to “This Forum”