CarloGiuliano / fme-alfresco-extensions

Automatically exported from code.google.com/p/fme-alfresco-extensions
0 stars 0 forks source link

Show images in real size (Gallery Plus Dashlet) #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Suggestion for Gallery Plus Dashlet:

Could be useful if there was a button to show image in real size.

If an image has resolution of 300dpi and is 300x300px the size of image is 1x1 
inch (25.4x25.4mm) and an option to see image on screen at this dimension would 
be nice.

To do this a screen calibration is needed. Can be done showing an image of 
known size and let the user to insert the size on screen measured using a ruler.

Example:

Calibration image: 180x180px
Measured size: 2x2in (50.8x50.8mm)
Calculated screen resolution: 90dpi

Image to display: 300dpi 300x300px
Real image size : 1 in (300dpi / 300px)

To see on real size rescale to px:
  h= 300px * 90dpi / 300dpi = 90px
  w= 300px * 90dpi / 300dpi = 90px

Original issue reported on code.google.com by ziotibi...@gmail.com on 24 Sep 2013 at 9:25