Re: [flexcoders] How to find the dpi of an image

2010-06-30 Thread Oleg Sivokon
DPI is a relative value... I mean, if you stretch the image, it will
change... you can only find it out by comparing the number of pixels to the
size of the rectangle you are going to put them in... Also, I'm afraid that
given the runtime limitation on bitmapdata size, you will only be able to
print (relatively) small images. As of version 9, the max size was 2880x2880
(if I remember it right), which would give you approximately 24x24 cm image,
I think that in player 10 the max size is doubled. This would be OK to print
on A4, but not bigger than that.


[flexcoders] How to find the dpi of an image

2010-06-30 Thread speedypipper
I'm working on an adobe air app that prints postcards. I need to verify that 
the images that the user selects to be printed are 300 dpi. Otherwise the 
images will be pixellated when printed. Is there a way to get the dpi of an 
image in flex? Sadly I can't use any server side code for this since it is a 
stand alone adobe air app.

Thanks