save as .png files

User Help for Mozilla Firefox
arbeeuk
Posts: 22
Joined: November 1st, 2017, 4:13 am

save as .png files

Post by arbeeuk »

Hi. Does anyone know how to 'save as' png files from sites opened in firefox?
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: save as .png files

Post by Brummelchen »

when the image IS png file format (on server), then yes, otherwise use an external image converter, no firefox problem.
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: save as .png files

Post by dickvl »

Firefox 65 supports the WebP image format if that is what you get.
https://www.ghacks.net/2018/11/02/firef ... ge-format/
https://developer.mozilla.org/en-US/doc ... s/65#Other

There are these prefs present on the about:config page to control this feature.
image.webp.enabled = true
image.http.accept = image/webp,*/*
network.http.accept.default = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
arbeeuk
Posts: 22
Joined: November 1st, 2017, 4:13 am

Re: save as .png files

Post by arbeeuk »

thanks for replying. My settings in about:config were already the same as in your link but I still can't save the webp files with save as.
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: save as .png files

Post by Brummelchen »

concerning webpage?
Ortho_Fan
Posts: 266
Joined: December 7th, 2012, 4:49 pm

Re: save as .png files

Post by Ortho_Fan »

arbeeuk wrote:Hi. Does anyone know how to 'save as' png files from sites opened in firefox?
To save a webpage as a PNG file you

1) click on the three dots to the right of the address bar

2) click on take a screenshot

3) click on save full page

4) click on the Download button

The page's image will be saved as a PNG file.

You can also use the screenshot feature to save a portion of the page, such as an image, as a png file.

Hope this is what you wanted.

OrthoFan
arbeeuk
Posts: 22
Joined: November 1st, 2017, 4:13 am

Re: save as .png files

Post by arbeeuk »

Thanks Orthofan.
I have already tried that to save the web page and cut out pictures but they have a background the same as the web page and I want them to be transparent, which is the main idea of the png files so they can be used in other projects.
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: save as .png files

Post by dickvl »

You need to disable WebP (i.e. remove image/web from the HTTP request headers) to make the website fallback to other formats like JPG.
image.http.accept = */*
network.http.accept.default = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: save as .png files

Post by Brummelchen »

png is a lossless format, but transparency is depending on alpha layer and its creating program. firefox cant do that, that simple.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: save as .png files

Post by RobertJ »

Brummelchen wrote:png is a lossless format, but transparency is depending on alpha layer and its creating program. firefox cant do that, that simple.
Correct

.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
arbeeuk
Posts: 22
Joined: November 1st, 2017, 4:13 am

Re: save as .png files

Post by arbeeuk »

Thanks you guys.
I can download them in Edge (which I don't like at all) so I will still use Firefox but use edge just for downloading the png files.
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: save as .png files

Post by Brummelchen »

use a webp capable viewer/converter, eg IrfanView. just read this discussion elsewhere - same as above - firefox 65 is now able to show webp images and is able to save them as webp. webp is webp, not png, not jpg. the content wont change when saving webp as png, it is still webp.

example

Code: Select all

<picture>
  <source srcset="firefox.webp 1x, firefox@2x.webp 2x" type="image/webp">
  <img src="firefox.png" srcset="firefox@2x.png 2x" alt="Firefox">
</picture>

a) WebP for high res
b) WebP for low res
c) PNG for high res
d) PNG for low res
edge is able to show webp since autumn 2018, if it shows png then web page is bad formed.
User avatar
MarkRH
Posts: 1360
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: save as .png files

Post by MarkRH »

I use https://addons.mozilla.org/en-US/firefo ... src=search to take screenshots of sites. There are numerous extensions that can do similar things: https://addons.mozilla.org/en-US/firefo ... screenshot

After more thinking, I think you're just wanting to save specific images and not the actual site?
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: save as .png files

Post by therube »

How about a link to this "image"?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
arbeeuk
Posts: 22
Joined: November 1st, 2017, 4:13 am

Re: save as .png files

Post by arbeeuk »

Post Reply