Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: ico

26 May

Convent Ico to Gif

This will convert all the ico files in the folder to gif. It uses the final frame of the ico file to create the gif.


for i in *.ico; do convert `mogrify -identify i|awk '{print1}'|tail -n1` $i.gif;  done   
admin Posted in Command Line, Linux awk, convert, favicon, ico, icon, mogrify Leave a comment
17 Mar

Convert all Ico files to Gif

I had a collection of ico files with the ext gif – these are the commands I used to fix the situation…


rename .gif .ico *.gif
find . -name '*.ico' -exec convert "{}" "{}.gif" \;
OR
mogrify -format gif *.ico
rm -f *.ico
admin Posted in Command Line, Linux command, convert, gif, ico, icon, image, Linux Leave a comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑