I have some images in Powerpoint for which I want to know the real size in pixels and then calculate the resolution.
For an image imported at 300 ppi and 240x108 mm, I get 680x306 pixels.
Those are the number of pixels for a 72 ppi resolution.
The same image in InDesign returns 2835x1272 px.
use scripting additions use framework "Foundation" use framework "AppKit" set thePast to current application's NSPasteboard's generalPasteboard() set theData to ((thePast's pasteboardItems()'s objectAtIndex:0)'s dataForType:"public.tiff")'s mutableCopy() set rep1 to (current application's NSBitmapImageRep's imageRepWithData:theData) set rep2 to current application's NSImageRep's imageRepWithPasteboard:thePast
Can some one help me on this?