简体   繁体   中英

What's an SVG image rendered as PNG?

There's an svg image of Alabama's state flag @ http://en.wikipedia.org/wiki/File:Flag_of_Alabama.svg

The caption says "This image rendered as PNG in other sizes." I downloaded the 1,000-pixel size @ http://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Flag_of_Alabama.svg/1000px-Flag_of_Alabama.svg.png but it won't display on my web page. I opened it in Photoshop, copied it into a new window and saved it with a new file name, but it still doesn't display.

So I guess I was wrong when I thought "rendered as a PNG" means an image is a png. It's actually a SVG...with a .png extension?

Anyway, I just wondered what's going on here and what I need to do to download such images as pngs. Or is the only solution to take a screenshot?

To get the image as .svg just copy the source of the page (of the image) to an editor. Now save it as an .svg image

The PNG file you linked to (the ".png" link) is not an SVG. It is definitely a PNG.

I don't know why it isn't displaying for you, but it has nothing to do with SVG.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM