Is there a command that can discern whether or not the image is a bitmap or a vector?
Also, I though all PNGs were vector.
Bitmap or Vector
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Bitmap or Vector
All postscript, PDF, and SVG files are vector images. Though the former could only be a 'wrapper' around a raster image.
PNG, JPEG, GIF, TIFF, and most other image formats are raster images.
Most video formats are some form of raster image sequences. The most common exception to this is Flash animations which can be generated using vector graphics. This is also why flash animations often has a very cartoon like feel to them.
PNG, JPEG, GIF, TIFF, and most other image formats are raster images.
Most video formats are some form of raster image sequences. The most common exception to this is Flash animations which can be generated using vector graphics. This is also why flash animations often has a very cartoon like feel to them.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Bitmap or Vector
Thanks! I was trying to figure out whether a WMF was a vector or bitmap. I uploaded a bunch of converted files, as you know, and one commenter said I converted vectors to bitmaps. The interesting thing was the WMFs looked a lot worse than the PNGS that I converted.
http://i1022.photobucket.com/albums/af3 ... rama/3.png
http://i1022.photobucket.com/albums/af3 ... rama/3.png
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Bitmap or Vector
WMF is also a vector image format. IM converts it to raster itself.
Some other programs may convert it better, some worse. You can also try a WMF to Postscript converter (vector to vector) that should be commonly available.
Some other programs may convert it better, some worse. You can also try a WMF to Postscript converter (vector to vector) that should be commonly available.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/