File Extension for Images in the FFF

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

File Extension for Images in the FFF

Post by zyklame » Sat Jan 12, 2019 7:12 pm

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: 3354
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: File Extension for Images in the FFF

Post by Klonan » Sat Jan 12, 2019 8:18 pm

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
Inserter
Inserter
Posts: 34
Joined: Sat Mar 24, 2018 8:19 am
Contact:

Re: File Extension for Images in the FFF

Post by weaknespase » Sun Jan 13, 2019 8:51 am

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”

Who is online

Users browsing this forum: No registered users and 0 guests