Tiles and Cropping
Posted: 2008-05-26T10:11:12-07:00
I successfully created a set of tiles. I'm trying to create the same amount of tiles every time which works fine.
My problem is that each tiles retains it's exact position from the original file. In other words the image is "padded" from the left. So, when I load the image into html there is "space" on the left.
Is there a way to "trim" the image so each image would be in the top-left with not padding, ie (0,0) of the web page?
Here is the original instruction.
convert Don_Manuel.jpg -crop 33.3333333%x33.333% Don_Manuel_%d.gif
My problem is that each tiles retains it's exact position from the original file. In other words the image is "padded" from the left. So, when I load the image into html there is "space" on the left.
Is there a way to "trim" the image so each image would be in the top-left with not padding, ie (0,0) of the web page?
Here is the original instruction.
convert Don_Manuel.jpg -crop 33.3333333%x33.333% Don_Manuel_%d.gif