ImageMagick / Usage-Markdown

Base text document processed with pandoc
12 stars 13 forks source link

Update Thumbnails Rounded #17

Closed emcconville closed 9 years ago

emcconville commented 9 years ago

http://www.imagemagick.org/Usage/thumbnails/#rounded

Circle masked Image (example)...

Using a Polar Cycle Trick we can generate a perfect anti-aliased circle mask for any sized thumbnail. Of course we will only use the distorted image as a mask for the original image, so as to get the best result.

convert thumbnail.gif -alpha set \
             \( +clone -distort DePolar 0 \
            -virtual-pixel HorizontalTile -background None -distort Polar 0 \) \
            -compose Dst_In -composite -trim +repage circle_masked.png
KurtPfeifle commented 9 years ago

Eric, I'm not understanding this and/or its context. Can you help me out?

emcconville commented 9 years ago

Apologies @KurtPfeifle. This is a reference to Anthony's post. The thumbnail document will need to be updated to reflect HTML changes.

emcconville commented 9 years ago

Thumbnails updated