MozillaZine

save as .png files

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

Post Posted February 3rd, 2019, 10:27 am

Hi. Does anyone know how to 'save as' png files from sites opened in firefox?

Brummelchen
 
Posts: 3989
Joined: March 19th, 2005, 10:51 am

Post Posted February 3rd, 2019, 1:57 pm

when the image IS png file format (on server), then yes, otherwise use an external image converter, no firefox problem.

dickvl

User avatar
 
Posts: 52466
Joined: July 18th, 2005, 3:25 am

Post Posted February 4th, 2019, 9:27 pm

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: 13
Joined: November 1st, 2017, 4:13 am

Post Posted February 5th, 2019, 5:08 am

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: 3989
Joined: March 19th, 2005, 10:51 am

Post Posted February 5th, 2019, 7:17 am

concerning webpage?

Ortho_Fan
 
Posts: 244
Joined: December 7th, 2012, 4:49 pm

Post Posted February 5th, 2019, 11:20 am

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: 13
Joined: November 1st, 2017, 4:13 am

Post Posted February 6th, 2019, 2:36 am

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.

dickvl

User avatar
 
Posts: 52466
Joined: July 18th, 2005, 3:25 am

Post Posted February 6th, 2019, 6:36 am

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: 3989
Joined: March 19th, 2005, 10:51 am

Post Posted February 6th, 2019, 8:38 am

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

RobertJ
Moderator

User avatar
 
Posts: 10759
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted February 6th, 2019, 8:46 am

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 65.0.1 - FF 66b9 - FF 67a - TB 60.5 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

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

Post Posted February 7th, 2019, 2:25 am

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: 3989
Joined: March 19th, 2005, 10:51 am

Post Posted February 7th, 2019, 2:12 pm

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.

MarkRH

User avatar
 
Posts: 1262
Joined: September 12th, 2007, 2:30 am
Location: Oklahoma City, OK

Post Posted February 9th, 2019, 5:41 am

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?

therube

User avatar
 
Posts: 19309
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 9th, 2019, 11:14 am

How about a link to this "image"?
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: 13
Joined: November 1st, 2017, 4:13 am

Post Posted February 10th, 2019, 5:12 am


Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 4 guests