Often (always?) the images in Wikipedia articles are in an SVG format. Don't know what it is, but the net result is that if I save it, PWP can't open it. If I copy and paste it to PWP, the background changes from white (which was good) to black (which is not) as if it was a PNG transparent image. I've been fighting successfully with those images now and then to restore the white background - but it appears that each time I do it in some different and often convoluted fashion (like masking all the black one way or the other and then blending the image with a white new background of the same size or making the negative and other such things).
My question is: is there a simpler standard way of getting the Wikipedia images copied and pasted to other application (via some standard PWP conversion, if necessary) so that they look like they did at the source (i.e. the Wikipedia)?
SVG files in Wikipedia
Moderator: jsachs
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
SVG files in Wikipedia
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: SVG files in Wikipedia
SVG files are vector files and not raster images. There are several ways to convert SVG to TIFF.
The simplest method is to just do a screen capture on the Wikipedia image. There are many programs available that do this. I use Faststone Capture.
There are online conversion services (just Google convert SVG to TIFF).
Use a vector drawing program such as Inkscape or Adobe Illustrator that can import SVG and export or PNG.
The simplest method is to just do a screen capture on the Wikipedia image. There are many programs available that do this. I use Faststone Capture.
There are online conversion services (just Google convert SVG to TIFF).
Use a vector drawing program such as Inkscape or Adobe Illustrator that can import SVG and export or PNG.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Re: SVG files in Wikipedia
Cheers for that! The screen capture seems to work best, but...
I still have a tendency of right-clicking on the image and copying and pasting it to PWP. Once in PWP, and out of curiosity, what's the most sane and simple procedure to convert what becomes the black background in pasted SVG back to white as it was when copying it?
p.s. When an image displayed in a browser is copied, most of the time pasting it to other programmes presents no problem. Why, when copying an image from Wikipedia, the image format in the clipboard is forced to be a SVG vector, and, more interestingly, whatever the format is when the image is copied to clipboard from the source (i.e. Wikipedia), when pasted to PWP it has to be pasted as a raster image. Why the background colour is reversed?
p.s. in PWP Preferences\Clipboard there is a choice as to how images copied form the PWP appear in the clipboard. But that doesn't seem to control how different formats of images are pasted to PWP from the clipboard, I take it. Maybe it's possible to control pasting format as well somehow?
I still have a tendency of right-clicking on the image and copying and pasting it to PWP. Once in PWP, and out of curiosity, what's the most sane and simple procedure to convert what becomes the black background in pasted SVG back to white as it was when copying it?
p.s. When an image displayed in a browser is copied, most of the time pasting it to other programmes presents no problem. Why, when copying an image from Wikipedia, the image format in the clipboard is forced to be a SVG vector, and, more interestingly, whatever the format is when the image is copied to clipboard from the source (i.e. Wikipedia), when pasted to PWP it has to be pasted as a raster image. Why the background colour is reversed?
p.s. in PWP Preferences\Clipboard there is a choice as to how images copied form the PWP appear in the clipboard. But that doesn't seem to control how different formats of images are pasted to PWP from the clipboard, I take it. Maybe it's possible to control pasting format as well somehow?
Maciej Tomczak
Phototramp.com
Phototramp.com
Re: SVG files in Wikipedia
The Windows clipboard supports various formats, including primarily text and bitmap (see https://learn.microsoft.com/en-us/windo ... d-formats). Programs that copy images on the clipboard are supposed to do so in as many clipboard formats as they can. When PWP pastes from the clipboard it does so using one of the bitmap formats. The details as to how SVG images are converted to bitmaps on the clipboard is the responsibility of the program that copies them.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 584
- Joined: January 29th, 2019, 11:47 pm
- What is the make/model of your primary camera?: Nikon Z8
Re: SVG files in Wikipedia
The easiest way is to obtain the PNG raster image directly from wikimedia commons.
Follow the link from the Wikipedia image to Wiki media, and choose one of the raster dimensions.