Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [jaltuve] Thumbnailing + Imagemagick & Andy...

Quote Reply
Re: [jaltuve] Thumbnailing + Imagemagick & Andy... In reply to
Fine, taht works great, also my admin-preview works with that (doesn't work with the standards).

Is there a possibility to conserve the ratio of a picture and have the with and height as a maximum?

Example:
ratio_height = heigt / height_max
ratio_width = width / width_max
ratio_new = max(ratio_width,ratio_heigth)
height = height / ratio
width = width / ratio

How can I define an invidible background-color?
Thanks a lot for your help,
Christian

Subject Author Views Date
Thread Thumbnailing + Imagemagick & Andy... jaltuve 3313 Aug 15, 2003, 10:21 PM
Post Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
Andy 3228 Aug 16, 2003, 1:50 AM
Thread Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
pugdog 3228 Aug 16, 2003, 9:17 AM
Thread Re: [pugdog] Thumbnailing + Imagemagick & Andy...
jaltuve 3194 Aug 17, 2003, 4:27 PM
Post Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
Andy 3169 Aug 18, 2003, 12:41 AM
Post Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
pugdog 3011 Sep 29, 2003, 1:47 PM
Post Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
afinlr 3208 Aug 16, 2003, 10:30 AM
Thread Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
jaltuve 3146 Aug 18, 2003, 3:04 PM
Thread Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
cwschroeder 3096 Sep 25, 2003, 3:29 AM
Thread Re: [cwschroeder] Thumbnailing + Imagemagick & Andy...
jaltuve 3083 Sep 25, 2003, 4:04 AM
Thread Re: [jaltuve] Thumbnailing + Imagemagick & Andy...
cwschroeder 3066 Sep 25, 2003, 7:51 AM
Post Re: [cwschroeder] Thumbnailing + Imagemagick & Andy...
jaltuve 3044 Sep 25, 2003, 1:12 PM