Let me clarify... I didn't want anything to do with the gif animation. I just wanted the original image chopped up into 16 tiles.
The same command sequence worked like I expected after recompiling the latest version of ImageMagick: 6.3.1 from source. I previously had 6.0.7 installed, which is the default for CentOS 4 and apparently RHEL4 as well. http://www.centos.org/modules/smartfaq/faq.php?faqid=35 If anyone knows how to get Red Hat to either upgrade the version of ImageMagick, or backport the bug fix, please, be my guest, or let me know. I'm guessing it would be helpful too to know when and how this bug was fixed in the ImageMagick source code. Now, to go tile a bunch of images for the Google Maps API! Woot! Thanks, -- Kyle Mulka http://www.kylemulka.com Date: Mon, 18 Dec 2006 21:17:16 -0600 From: [EMAIL PROTECTED] Subject: Re: [magick-users] Forum Registration Problem / Gif Tile Cropping To: [email protected], [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> > Version: ImageMagick 6.0.7 08/28/06 Q16 We tried your command with ImageMagick 6.3.1-2, the latest release, and it worked as expected. It created tile-0.gif thru tile-15.gif. ------------------------------ Message: 4 Date: Tue, 19 Dec 2006 12:58:21 +1000 From: Anthony Thyssen Subject: Re: [magick-users] Forum Registration Problem / Gif Tile Cropping To: ImageMagick User List Message-ID: <[EMAIL PROTECTED]> Kyle Mulka on wrote... | I can't seem to register for the forum. (discourse server as you call it) I tried, but the password I set doesn't work, and the forgot password page says the username and email address don't match. Please help me. | | Alternatively, you could answer my real question: | | I'm having a problem with tile cropping. It is taking my gif image and turning it into a tiled animation instead of multiple files like I want. | | Here's the original image: | http://mulkamaps.com/playpen/testing2/full-image.gif | | Here's the command I used: | convert full-image.gif -crop 256x256 +repage tile-%d.gif | | Here's what I got: | http://mulkamaps.com/playpen/testing2/tile-0.gif | The %d automatically means to seperate the image sequence into seperate image files EG as if you added +adjoin. You can NOT pass %d to IM if you want an animation. It doens't make sense to do so anyway. hmmm.. what do you mean by "tiled animation" in anycase? if full-image is an animation, that you want to tile, then you are going about things all wrong. You will have to seperate each animated tile from the animation seperatally, as the commandline only has one image sequence, so can't hold more than one animation sequence at any one time. EG; convert animation.gif \( -clone 0--1 -crop 256x256+0+0\! -write tile_1.gif -delete 0--1 \) \ \( -clone 0--1 -crop 256x256+256+0\! -write tile_2.gif -delete 0--1 \) \ \( -clone 0--1 -crop 256x256+512+0\! -write tile_3.gif -delete 0--1 \) \ .... null: A script will be needed if you like to automatically create 'tiles' from animations. Such programs are available on the www. NOTE each tile will animate independantally, so a tile will not sycronize with other tiles. Anthony Thyssen ( System Programmer ) ----------------------------------------------------------------------------- Before you find your handsome prince, you've got to kiss a lot of frogs. ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
