creating square thumbnails regardless of picture ratio.
Posted: 2007-01-17T04:59:05-07:00
Hi Guys,
I'm trying (and failing miserably) to get Imagemagick to replicate a task that I do in fireworks to create a 65x65px thumbnail image.
In fireworks I i take the original image, resize its smallest side to 65px (scaling the other side down equally so the image does not look squashed) and then i crop a 65x65px square from the centre of the image.
This essentially gives me the original image, but as a 65x65 thumbnail and keepign the ratio of the original image, but possibly with it's sides trimmed.
If that doesn't make sense let me know and i can provide some images.
I'm trying (and failing miserably) to get Imagemagick to replicate a task that I do in fireworks to create a 65x65px thumbnail image.
In fireworks I i take the original image, resize its smallest side to 65px (scaling the other side down equally so the image does not look squashed) and then i crop a 65x65px square from the centre of the image.
This essentially gives me the original image, but as a 65x65 thumbnail and keepign the ratio of the original image, but possibly with it's sides trimmed.
If that doesn't make sense let me know and i can provide some images.