8 ms·
The download is one big TIFF. Is there a tool or script to cut out each icon as an individual image?
by bitcartel 14y ago
The download is one big TIFF. Is there a tool or script to cut out each icon as an individual image?
- pdwetz 14y agoA common technique is to use a single image to limit the number of connections needed to grab them. If you want to pull them out (say, you only need one or two) any image program will let you crop (Paint.Net, Gimp, Photoshop, etc.) Related SO Q&A: http://stackoverflow.com/questions/4870292/css-icon-images-or-icon-image http://stackoverflow.com/questions/4870292/css-icon-images-o...
- goldfeld 14y agoJust curious, wouldn't a zip file accomplish the same objective?
- vinothgopi 14y agoHe means when displaying the icons on a webpage. You use one big tiff file, which is loaded using just one connection. Then with CSS you choose which part of the big tiff file you want displayed (as an icon). Like "show the second icon on the 5th row". Try googling "CSS Sprites".
- davej 14y agoFireworks (and I think photoshop) has a slice tool. So you coud slice them into rectangles and export them all at once. One big TIFF is an insane way to package icons for the web. Also why use TIFF over PNG?
- geon 14y ago> One big TIFF is an insane way to package icons for the web. Not really. You almost always would need to resize or somewhat edit them anyway. And if you care about performance, you would want them in a sprite sheet, so you need to recombine them. Having them in a single document is much more convenient than having a few hundred open documents in photoshop. That is relevant for the web. Really though, I think fonts are the way to go for web icons. Crisp at any resolution and CSS style-able. Bitmap icons feel a bit 2008.
- davej 14y ago> Not really. You almost always would need to resize or somewhat edit them anyway. This would make sense if they were vector icons but because it's a TIFF you can't really do any resizing or worthwhile editing.
- fomojola 14y agoOne other nice part about supplying it as a big tiff is that you can push out a PNG and then with a little CSS you end up with a sprite sheet. I bought the colored ones: would be awesome if they came with a CSS file.
- troels 14y agoFor example, assuming the images are spaced with 200px between them: convert -crop 200x200 bw-smaco.tif smaco.png Imagemagick can do anything.