How To Wiki
Advertisement
How To Wiki

There are hundreds of different image formats. They are split into two different categories. Vector graphics and Raster graphics

List of common image formats

Raster graphics Vector graphics
Name Extension
PNG .png
Bitmap .bmp
JPEG .jpg or .jpeg
GIF .gif
TIFF .tif or .tiff
Name Extension
SVG .svg
Postscript .ps
Encapsulated Postscript .eps
PDF .pdf

more complete list


Conversion Software

Raster to Raster Conversion

Imagemagick Convert

Supported Conversions
JPG to PNG PNG to JPG
PNG to BMP BMP to PNG
PNG to GIF GIF to PNG
PNG to TIFF TIFF to PNG
many more
  • Full list of convertable format
    • R means Imagemagick can only read that format, it can not convert to that format
    • RW means Imagemagick can read that format, and can convert to that format
Requirements
  • imagemagick


non utile cazzo

Requirements
  • png2ico
commands
  • png2ico FILE_IN.png FILE_OUT.ico

PNG to ICNS

Requirements
  • libicns
commands
  • png2icns FILE_IN.png FILE_OUT.icns

Vector to Vector Conversion

EPS to SVG

Requirements
commands
  • eps2eps -dNOCACHE FILE_IN.eps temp1.eps
  • pstoedit -f sk temp.eps temp.sk
  • skconvert temp.sk FILE_OUT.svg
Script

SVG to EPS

Requirements
commands
  • inkscape -f FILE_IN.svg -E FILE_OUT.eps

SVG to PDF

Requirements
commands
  • inkscape -f FILE_IN.svg -A FILE_OUT.pdf

EPS to SK

Requirements
commands
  • eps2eps -dNOCACHE FILE_IN.eps temp1.eps
  • pstoedit -f sk temp.eps FILE_OUT.sk


Vector to Raster Conversion

SVG to PNG

Requirements
commands
  • inkscape -f FILE_IN.svg -w 256 -h 256 -e FILE_OUT.png
    • for a png width=256, height=256