WebP Image Support from the Changelog

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Endymion
Newbie
Newbie
Posts: 5
Joined: 2023-01-17, 19:10

WebP Image Support from the Changelog

Unread post by Endymion » 2023-03-26, 02:08

Did I understand the changelog correctly on this point: in the newest version of Pale Moon, the about:config entry "image.webp.enabled" will no longer exist? If that is the case, how can I force Pale Moon to download the jpeg version of a webp image? Would altering the string for "image.http.accept" to remove webp do the job?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35477
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: WebP Image Support from the Changelog

Unread post by Moonchild » 2023-03-26, 13:44

Endymion wrote:
2023-03-26, 02:08
Did I understand the changelog correctly on this point: in the newest version of Pale Moon, the about:config entry "image.webp.enabled" will no longer exist?
Correct.
Endymion wrote:
2023-03-26, 02:08
Would altering the string for "image.http.accept" to remove webp do the job?
That depends on the server. If they honour content negotiation that way, then yes.
Depending on what they do in a "default" situation, you may also use preference and weight values in that header, by setting preferred order and weight, e.g.:

Code: Select all

image/jpeg;q=1.0,image/jxl,image/png,image/*;q=0.8,*/*;q=0.5
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
emmafrost1
New to the forum
New to the forum
Posts: 1
Joined: 2023-05-12, 09:41

Re: WebP Image Support from the Changelog

Unread post by emmafrost1 » 2023-05-12, 09:45

Endymion wrote:
2023-03-26, 02:08
Did I understand the changelog correctly on this point: in the newest version of Pale Moon, the about:config entry "image.webp.enabled" will no longer exist? If that is the case, how can I force Pale Moon to download the jpeg version of a webp image? Would altering the string for "image.http.accept" to remove webp do the job?
To do this, you can follow these steps:

Type "about:config" in the address bar of Pale Moon and press Enter.
You will see a warning message; click on the "I accept the risk!" button.
In the search bar at the top, enter "image.http.accept" to find the preference.
Double-click on the "image.http.accept" preference to modify it.
Remove any mention of "webp" from the value, but make sure to keep other image formats like "jpeg" or "png" intact.
Click "OK" to save the changes.
By removing "webp" from the "image.http.accept" preference, you are indicating to Pale Moon that you prefer other image formats over WebP. This should force the browser to download the JPEG version of a WebP image when encountered.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35477
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: WebP Image Support from the Changelog

Unread post by Moonchild » 2023-05-12, 09:59

With the difference of course that Pale Moon does not have an "I accept the risk" button ;)
Did you copypasta Firefox instructions?
(I don't think the OP necessarily needed basic instructions)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

patrick-g
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: 2020-12-23, 10:49

Re: WebP Image Support from the Changelog

Unread post by patrick-g » 2023-05-15, 03:37

Hi,
Moonchild wrote:
2023-05-12, 09:59
With the difference of course that Pale Moon does not have an "I accept the risk" button ;)
Well it's still there in French language pack: "Je prends le risque" (literally: "I take the risk").
It should be replaced with "Je promets d'être prudent" to be in par with english version.

Cheers.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35477
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: WebP Image Support from the Changelog

Unread post by Moonchild » 2023-05-15, 09:50

Off-topic:
patrick-g wrote:
2023-05-15, 03:37
Well it's still there in French language pack
I rely on volunteer translators for the language packs on CrowdIn. Not all of them are accurate, and most of them have not been proofed by a second person.
If you want to help improve the French language pack, please feel free to go to the l10n boar and read the stickies to get started with CrowdIn :)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked