jscher2000 / Save-webP-as-extension

Firefox extension to overlay format and JPEG quality buttons on inline or stand-alone images for quickly saving a converted version of the image.
Mozilla Public License 2.0
42 stars 1 forks source link

Error message: filename must not contain... #32

Open Whoik opened 4 weeks ago

Whoik commented 4 weeks ago

Hi,

When I am trying saving webp, I mostly get an error notification saying -

An error occurred while saving the image file. Error message: filename must not contain illegal characters.

The rest of the notification is -

Parameters: {"url":"blob:moz-extension://1d3b01fd-d013-466d-ad2e-76e470c32de8/13368e54-887d-44be-a3c7-b05c598249a6","filename":"Save_webP/a800df3f-f34d-4e8a-8a62-d9f47c16acfc-soccer_ball obrázek, 2138 × 1402 bodů) - Měřítko.jpg"}

I am from Czechia, so it seems it adds some Czech words (image, resolution) behind the original name, and that could be the problem?

Original image url - https://www.azcentral.com/gcdn/presto/2019/11/03/PPHX/a800df3f-f34d-4e8a-8a62-d9f47c16acfc-soccer_ball.jpg

Thanks for checking it.

jscher2000 commented 4 weeks ago

It seems that there is an error in the code that removes the scaling AND image size information from the stand-alone page title. I'm not sure what is causing it, but I think I have a fix. It will take some time for it to go live.