Jpg with round corner and white background
Posted: 2007-10-05T06:52:38-07:00
Hello,
I try to generate photos thumbnails jpg with white background. I use this command :
But I dont understand why it's not working (I obtain black corner).
It's great with png out but the image is too bigger ! 40 Ko for 100x100 simple png...
Thanks !
YvesTan (french user)
I try to generate photos thumbnails jpg with white background. I use this command :
Code: Select all
convert -size 100x100 xc:none -draw 'roundRectangle 0,0 100,100 15,15' -fill white original.jpg -compose SrcIn -composite thumbnail.jpg
It's great with png out but the image is too bigger ! 40 Ko for 100x100 simple png...
Thanks !
YvesTan (french user)