Welcome!

Welcome to our community forums, full of great people, ideas and excitement. Please register if you would like to take part.

This is extra text with a test link..

Register Now

Announcement

Collapse
No announcement yet.

Missing item icons

Collapse
X
Collapse
Who has read this thread:
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Missing item icons

    How did you make your item icons? You have some missing now.

    #2
    I updated all the missing lucy icons. If you need any, I have the full batch.

    Comment


      #3
      PHP Code:
      set_time_limit(0);

      function 
      make_icon ($infile$outfile$x$y) {
      echo 
      "convert $infile -crop 40x40+".  ($x 40) ."+". ($y 40) ." +repage $outfile\r\n";

      system("convert $infile -crop 40x40+".  ($x 40) ."+". ($y 40) ." +repage $outfile");

      }
      $outnumber 500;

      for (
      $file=1$file<=248$file++) {
          
      $infile "dragitem"$file .".dds";
          
      //print "Processing $infile";
          
      for ($x=0$x<=5$x++) {
              for (
      $y=0$y<=5$y++) {
                  
      $pngfile "eqicons/item_$outnumber.png";
                  
      $giffile "eqicons/item_$outnumber.gif";
                  
      make_icon($infile$giffile$x$y);
                   
      make_icon($infile$pngfile$x$y);
                  
      $outnumber++;
              }
          }
          print 
      "\n";

      Using ImageMagick
      The views represented here does not necessarily reflect the views of the guild (tm).

      Comment


        #4
        Same as me. They are only using up to 234 atm though.

        Comment

        Working...
        X