Thanks for the heads up - I knew cfimage was too good to be true :o)
Is this an officially known issue (i.e. Adobe acknowledges it) and if so, do
you by any chance have a link to where this issue is described?
~|
AdobeĀ®
yes, it is a known issue. the workaround that worked for me is setting
the width/height .1 pixel larger than needed:
cfimage action=resize source=#mySource# width=160.1 height=
name=oImage
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Michael Christensen wrote:
I have a jpg, width =
Yup, I've seen it but it's never been an issue because it's only 1px out.
I get that maintaining the aspect ratio will result in decimal values but
even when it's 159 it still gives it a decimal width.
968x648
160x107.107
159x106.438
What width are you getting, 107 or 106?
I'm interested in
With a picture that 600x400 I get width = 160 px (as I asked) and a height of
106px.
So it seems it could be rounding-related
Yup, I've seen it but it's never been an issue because it's only 1px out.
I get that maintaining the aspect ratio will result in decimal values but
even when it's
image resize makes picture too small??
yes, it is a known issue. the workaround that worked for me is setting
the width/height .1 pixel larger than needed:
cfimage action=resize source=#mySource# width=160.1 height=
name=oImage
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Michael
It should get you 160x107 for the 968x648 image though.
I wonder if it's a bug or if there's a valid reason for it?
Adrian
-Original Message-
From: Michael Christensen
Sent: 07 November 2008 11:14
To: cf-talk
Subject: Re: CF8 image resize makes picture too small??
With a picture
as stated here:
http://cfsearching.blogspot.com/2008/04/coldfusion-8-imageresize-is-losing-it.html
(thanks again to -==cfSearching==- from adobe cf forums!), it is a
rounding problem and it is mentioned in CF8.0.1 release notes as a know
issue.
to absolutely make sure your resized image is of
7 matches
Mail list logo