• Welcome to Valhalla Legends Archive.
 

Image converter

Started by Topaz, November 04, 2005, 07:49 PM

Previous topic - Next topic

Topaz

I need an image converter that turns JPG/BMP/etc into an icon(.ico).

If you can link me towards one, (preferably freeware), I'd be grateful.

Thanks!

Joe[x86]

A .BMP is a .ICO with a different extension, IIRC.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

rabbit

You don't RC.  Check the structures, ICO is completely different from BMP.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Arta

Just google for an icon editor.

Yoni

- Microangelo is an icon editor that might not be freeware. (Google)
- Visual Studio resource editor contains an icon editor.

Yegg


Mangix


iago

#7
The "convert" program, which comes with ImageMagick (one of my favorite programs) does it great, and is completely scriptable.

Example of converting a single file:
Quoteiago@slayer:~/tmp$ convert -resize 32x32 hpim0318.jpg hpim0318.ico
iago@slayer:~/tmp$

Example of converting a mess of files:
Quoteiago@slayer:~/tmp/cam$ for i in *.jpg; do echo "Converting $i..."; convert -resize 32x32 $i $i.ico; done
Converting h0010197.jpg...
Converting h0010198.jpg...
Converting h0020230.jpg...
Converting h0020231.jpg...
...............
iago@slayer:~/tmp/cam$

Also, it supports many formats:
QuoteName   Mode Description
        o  8BIM      *rw- Photoshop resource format
        o  AFM       *r-- TrueType font
        o  APP1      *rw- Photoshop resource format
        o  ART       *r-- PF1: 1st Publisher
        o  AVI       *r-- Audio/Visual Interleaved
        o  AVS       *rw+ AVS X image
        o  BIE       *rw- Joint Bi-level Image experts Group
                          interchange format
        o  BMP       *rw+ Microsoft Windows bitmap image
        o  CAPTION   *r+  Caption (requires separate size info)
        o  CMYK      *rw- Raw cyan, magenta, yellow, and black
                          samples (8 or 16 bits, depending on
                          the image depth)
        o  CMYKA     *rw- Raw cyan, magenta, yellow, black, and
                          matte samples (8 or 16 bits, depending
                          on the image depth)
        o  CUT       *r-- DR Halo
        o  DCM       *r-- Digital Imaging and Communications in
                           Medicine image
        o  DCX       *rw+ ZSoft IBM PC multi-page Paintbrush
        o  DIB       *rw+ Microsoft Windows bitmap image
        o  DPS       *r-- Display PostScript
        o  DPX       *r-- Digital Moving Picture Exchange
        o  EPDF      *rw- Encapsulated Portable Document Format
        o  EPI       *rw- Adobe Encapsulated PostScript
                          Interchange format
        o  EPS       *rw- Adobe Encapsulated PostScript
        o  EPS2      *-w- Adobe Level II Encapsulated PostScript
        o  EPS3      *-w- Adobe Level III Encapsulated PostScript
        o  EPSF      *rw- Adobe Encapsulated PostScript
        o  EPSI      *rw- Adobe Encapsulated PostScript
                          Interchange format
        o  EPT       *rw- Adobe Encapsulated PostScript with TIFF
                          preview
        o  FAX       *rw+ Group 3 FAX
        o  FILE      *r-- Uniform Resource Locator
        o  FITS      *rw- Flexible Image Transport System
        o  FPX       *rw- FlashPix Format
        o  FTP       *r-- Uniform Resource Locator
        o  G3        *rw- Group 3 FAX
        o  GIF       *rw+ CompuServe graphics interchange format
        o  GIF87     *rw- CompuServe graphics interchange format
                          (version 87a)
        o  GRADIENT  *r-- Gradual passing from one shade to
                          another
        o  GRANITE   *r-- Granite texture
        o  GRAY      *rw+ Raw gray samples (8 or 16 bits,
                          depending on the image depth)
        o  H         *rw- Internal format
        o  HDF       -rw+ Hierarchical Data Format
        o  HISTOGRAM *-w- Histogram of the image
        o  HTM       *-w- Hypertext Markup Language and a
                          client-side image map
        o  HTML      *-w- Hypertext Markup Language and a
                          client-side image map
        o  HTTP      *r-- Uniform Resource Locator
        o  ICB       *rw+ Truevision Targa image
        o  ICM       *rw- ICC Color Profile
        o  ICO       *r-- Microsoft icon
        o  ICON      *r-- Microsoft icon
        o  IPTC      *rw- IPTC Newsphoto
        o  JBG       *rw+ Joint Bi-level Image experts Group
                          interchange format
        o  JBIG      *rw+ Joint Bi-level Image experts Group
                          interchange format
        o  JP2       *rw- JPEG-2000 JP2 File Format Syntax
        o  JPC       *rw- JPEG-2000 Code Stream Syntax
        o  JPEG      *rw- Joint Photographic Experts Group
                          JFIF format
        o  JPG       *rw- Joint Photographic Experts Group
                          JFIF format
        o  LABEL     *r-- Text image format
        o  LOGO      *rw- ImageMagick Logo
        o  M2V       *rw+ MPEG-2 Video Stream
        o  MAP       *rw- Colormap intensities (8 or 16 bits,
                          depending on the image depth) and
                          indices (8 or 16 bits, depending
                          on whether colors exceeds 256).
        o  MAT       *-w+ MATLAB image format
        o  MATTE     *-w+ MATTE format
        o  MIFF      *rw+ Magick image format
        o  MNG       *rw+ Multiple-image Network Graphics
        o  MONO      *rw- Bi-level bitmap in least-significant-
                          -byte-first order
        o  MPC       -rw- Magick Persistent Cache image format
        o  MPEG      *rw+ MPEG-1 Video Stream
        o  MPG       *rw+ MPEG-1 Video Stream
        o  MPR       *r-- Magick Persistent Registry
        o  MSL       *r-- Magick Scripting Language
        o  MTV       *rw+ MTV Raytracing image format
        o  MVG       *rw- Magick Vector Graphics
        o  NETSCAPE  *r-- Netscape 216 color cube
        o  NULL      *r-- Constant image of uniform color
        o  OTB       *rw- On-the-air bitmap
        o  P7        *rw+ Xv thumbnail format
        o  PAL       *rw- 16bit/pixel interleaved YUV
        o  PALM      *rw- Palm Pixmap format
        o  PBM       *rw+ Portable bitmap format (black and white)
        o  PCD       *rw- Photo CD
        o  PCDS      *rw- Photo CD
        o  PCL       *-w- Page Control Language
        o  PCT       *rw- Apple Macintosh QuickDraw/PICT
        o  PCX       *rw- ZSoft IBM PC Paintbrush
        o  PDB       *r-- Pilot Image Format
        o  PDF       *rw+ Portable Document Format
        o  PFA       *r-- TrueType font
        o  PFB       *r-- TrueType font
        o  PFM       *r-- TrueType font
        o  PGM       *rw+ Portable graymap format (gray scale)
        o  PICON     *rw- Personal Icon
        o  PICT      *rw- Apple Macintosh QuickDraw/PICT
        o  PIX       *r-- Alias/Wavefront RLE image format
        o  PLASMA    *r-- Plasma fractal image
        o  PM        *rw- X Windows system pixmap (color)
        o  PNG       *rw- Portable Network Graphics
        o  PNM       *rw+ Portable anymap
        o  PPM       *rw+ Portable pixmap format (color)
        o  PREVIEW   *-w- Show a preview an image enhancement,
                          effect, or f/x
        o  PS        *rw+ Adobe PostScript
        o  PS2       *-w+ Adobe Level II PostScript
        o  PS3       *-w+ Adobe Level III PostScript
        o  PSD       *rw- Adobe Photoshop bitmap
        o  PTIF      *rw- Pyramid encoded TIFF
        o  PWP       *r-- Seattle Film Works
        o  RAS       *rw+ SUN Rasterfile
        o  RGB       *rw+ Raw red, green, and blue samples (8 or
                          16 bits, depending on the image depth)
        o  RGBA      *rw+ Raw red, green, blue, and matte samples
                          (8 or 16 bits, depending on the image
                          depth)
        o  RLA       *r-- Alias/Wavefront image
        o  RLE       *r-- Utah Run length encoded image
        o  ROSE      *rw- 70x46 Truecolor test image
        o  SCT       *r-- Scitex HandShake
        o  SFW       *r-- Seattle Film Works
        o  SGI       *rw+ Irix RGB image
        o  SHTML     *-w- Hypertext Markup Language and a
                          client-side image map
        o  STEGANO   *r-- Steganographic image
        o  SUN       *rw+ SUN Rasterfile
        o  SVG       *rw+ Scalable Vector Gaphics
        o  TEXT      *rw+ Raw text
        o  TGA       *rw+ Truevision Targa image
        o  TIF       *rw+ Tagged Image File Format
        o  TIFF      *rw+ Tagged Image File Format
        o  TILE      *r-- Tile image with a texture
        o  TIM       *r-- PSX TIM
        o  TTF       *r-- TrueType font
        o  TXT       *rw+ Raw text
        o  UIL       *-w- X-Motif UIL table
        o  UYVY      *rw- 16bit/pixel interleaved YUV
        o  VDA       *rw+ Truevision Targa image
        o  VICAR     *rw- VICAR rasterfile format
        o  VID       *rw+ Visual Image Directory
        o  VIFF      *rw+ Khoros Visualization image
        o  VST       *rw+ Truevision Targa image
        o  WBMP      *rw- Wireless Bitmap (level 0) image
        o  WMF       *r-- Windows Metafile
        o  WPG       *r-- Word Perfect Graphics
        o  X         *rw- X Image
        o  XBM       *rw- X Windows system bitmap (black
                          and white)
        o  XC        *r-- Constant image uniform color
        o  XCF       *r-- GIMP image
        o  XML       *r-- Scalable Vector Gaphics
        o  XPM       *rw- X Windows system pixmap (color)
        o  XV        *rw+ Khoros Visualization image
        o  XWD       *rw- X Windows system window dump (color)
        o  YUV       *rw- CCIR 601 4:1:1

           Modes:
                     *    Native blob support
                     r    Read
                     w    Write
                     +    Multi-image

I don't know if there's a Windows port, but it's an amazing piece of software, highly recommended. I use it for mass conversions, between size or type, for screenshots, and for lots of other stuff. 


<edit> I went and checked, because I'm such a nice guy.  It does indeed have a Windows binary, although I don't know how good/bad it is:
http://www.imagemagick.org/script/binary-releases.php

Good luck!
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Topaz