.png quick question - Post ID 161114

User 2089617 Photo


Registered User
58 posts

I am thinking of using more .png images instead if .jpg however when the .png image is loaded in VSD it seems to show with a black background. I find this a little off putting. However all is fine when previewed.

Is this normal?
Murray Walker: And look at the flames coming from the back of Berger's McLaren
James Hunt: Actually, Murray, they're not flames, it's the safety light.
User 368762 Photo


Registered User
122 posts

Andrew-
Yes the black background is normal and represents areas where the .png is transparent (Unless, of course your image actually has a black background, in which case it would still appear black) That is why when you view your work in preview everything looks fine. I use .pngs for all my images because VSD7 has an annoying habit of making copies of all the .jpgs and renaming the copies every time (I think) you save your work and leaving the old versions on your system too. And they grow, and grow, and grow until you have a folder full of mess. Either that or they breed at night.

Anyway the .pngs work great and will appear correctly when you publish your website.
-Mike
"Live as if you were to die tomorrow. Learn as if you were to live forever" - Gandi
https://elbertcountyfair.com




User 2089617 Photo


Registered User
58 posts

Many thanks Mike.

Appreciate your comments..
Murray Walker: And look at the flames coming from the back of Berger's McLaren
James Hunt: Actually, Murray, they're not flames, it's the safety light.
User 422767 Photo


Registered User
259 posts

McShay wrote:
Andrew-
Yes the black background is normal and represents areas where the .png is transparent (Unless, of course your image actually has a black background, in which case it would still appear black) That is why when you view your work in preview everything looks fine. I use .pngs for all my images because VSD7 has an annoying habit of making copies of all the .jpgs and renaming the copies every time (I think) you save your work and leaving the old versions on your system too. And they grow, and grow, and grow until you have a folder full of mess. Either that or they breed at night.

Anyway the .pngs work great and will appear correctly when you publish your website.
-Mike


That's annoying, but it does spark a question: Do jpegs load faster than pngs, or is there not much of a difference so long as the png is formatted small enough?
Aren't you a little short for a Storm Trooper?
User 322842 Photo


Registered User
209 posts

not a lot of difference between the two - it depends on the file size.
I use a lot of png's because of the transparent background it offers.
User 187934 Photo


Senior Advisor
20,271 posts

If you don't need photo realistic quality then I would say go with a gif or a png for the smallest file size with the best quality.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.