cfpdf action=getinfo returns incorrect PDF sizes

2011-01-25 Thread Stefan Richter

Something seems wonky with cfpdf. 
I've looked at JPedal for my PDF to image conversion because cfpdf 
action=thumbnail would produce images that were not at 1:1 scale with the 
original PDF, instead they were smaller. When I open the PDF in Acrobat at 100% 
and measure via an on screen ruler I get a width of roughly 690pixels. CF tells 
me the width is 505. Height is also incorrect by the same ratio.

I've now noticed that cfpdf action=getinfo also gives those same (and what I 
think are wrong) results for the dimensions. Bug? Or is Acrobat showing me the 
wrong size when I tell it to show me the PDF at 100%? To be fair I think it's 
CF that's getting it wrong. 

Anyone else noticed the same?

Stefan

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfpdf action=getinfo returns incorrect PDF sizes

2011-01-25 Thread Stefan Richter

Hmm, looking at this more closely, if I 'Get info' on a PDF in the OSX Finder I 
see the same small dimensions as the ones that CF reports. But the 100% view in 
Acrobat is clearly the authored size, more or less an A4 page on screen. Maybe 
this is some specific 'feature' of the PDF format?

Stefan


On 25 Jan 2011, at 15:51, Stefan Richter wrote:

 
 Something seems wonky with cfpdf. 
 I've looked at JPedal for my PDF to image conversion because cfpdf 
 action=thumbnail would produce images that were not at 1:1 scale with the 
 original PDF, instead they were smaller. When I open the PDF in Acrobat at 
 100% and measure via an on screen ruler I get a width of roughly 690pixels. 
 CF tells me the width is 505. Height is also incorrect by the same ratio.
 
 I've now noticed that cfpdf action=getinfo also gives those same (and what 
 I think are wrong) results for the dimensions. Bug? Or is Acrobat showing me 
 the wrong size when I tell it to show me the PDF at 100%? To be fair I think 
 it's CF that's getting it wrong. 
 
 Anyone else noticed the same?
 
 Stefan
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341174
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm