Every time Googleās policies worm their way into Brave I think Iām using the wrong browser. Now I canāt even save a PNG image as a PNG image.
We all know the evil game Google is playing, here. Theyāre trying to force this format down our throats every way they can and Iām tired of Google treating the web like their private ecosystem. I may as well be using Chrome at this point.
@Ball not sure what youāre speaking of. A lot of times format originates based on what the website has it posted as. But to show, I just went to Google and typed in Brave Browser and to image searches. I saw the below:
Once saved to the desktop, I checked its properties:
Brave has never forced people to download a specific way. It first checks how itās shared by the website. Then it goes by us. Even if it tries to download in another format, we can always change it. Such as adding .png or .gif at the end and changing the file to All Files.
AVIF and WBP use advanced compression techniques to provide comparable or better image quality at smaller file sizes. This results in faster load times and reduced bandwidth consumption for websites, which can help improve the user experience. As such, you will encounter a variety of websites that will upload using plugins that convert the images as such.
This is why many websites are starting to use it instead. Brave is having you download the format as it actually exists according to the websites coding.
And to give an example of an AVIF file I found. Youāll see it defaults to wanting to download AVIF because thatās how it is displayed on the website.
But then I changed file type away from AVIF and named the file to the file extension/type I wanted, which was .png. At that point, I have a .png file. I was able to do the same for JPG.
Looking further into it what is probably happening is the web site is serving an AVIF (named PNG) based on the HTTP request header. Unfortunately, I see no way of disabling AVIF
@Ball have you tried renaming the file when you choose Save As or its Mac equivalent? Ending the file name in the format you want generally will do it, but you also have to make sure to look at the Save as type area if there is one as it can sometimes override.
You are right that thereās no inherent way to change it beyond as I mentioned above.
Otherwise, I know people have mentioned using extensions which can streamline the situation. Before I mention anything, I want to premise with the warning below:
WARNING
I do not know if itās any good. Extensions always carry risk of data collection, malware, etc. So do your research before making a decision.
Again, I never used it or tested. Also havenāt researched to know anything of that particular extension. It will be up to you to research and decide if you want to test it or any other extension out there.
@Ball,
As you yourself stated before, this behavior is due to the image being served by the site and is not related to what browser youāre using. So switching browsers will not solve this problem for you.
Further, as @Saoiray states, you can download files with the AVIF extension and simply rename and replace .avif with .png (or .jpg or whatever format) and the image will show just the same. I just tested this myself and had no compatibility issues.
Not sure there are any modern browsers that donāt support AVIF. Firefox, Edge, Chrome, Brave, Vivaldi, Safari, etc., all handle AVIF the same way. The only way to avoid this would be by using outdated browser versions.
Just a note, wget isnāt a browserāitās a tool primarily used to download data.
You mentioned that the browser changes the image format when downloading. What I meant earlier is that you may need to edit or change settings yourself. If you save an image without editing, it will save in the format itās currently in, which is AVIF. From your feedback, it seems you havenāt mentioned trying this or shown any screenshots. Expecting the browser to automatically convert to a different format than what the file is uploaded in isnāt typically how browsers operate.
Ultimately there does not appear to be a Brave issue here, unless youāre having some issue where every image from all sites is saving as .avif then thereās not much we can do here. As @Saoiray mentions, there are extensions you might be able to use to help you here but other than that, just change the file extension when necessary.
The file is a png. If you download this file without a header specifying avif support, it sends the original file unaltered. I donāt know how to interpreted anything I said to mean I expect the browser to convert anything.
What Iām trying to convey is that itās usually the web host that converts the file type as it serves the content. Youāre right that if youāre using a browser that doesnāt support certain formats, it might default to downloading in a supported format as a fallback. However, most modern browsers aim to maintain the fileās original format as itās hosted. As I mentioned earlier, you also have the option to choose the format when saving or downloading images.
So essentially, the server is using the Accept header in order to serve the most optimized (as in file size) version of the image based on the capabilities advertised by the client.
Brave never gets to see the original PNG file and so it canāt offer to save that to disk for you.