The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Export Objects Ends Up With Different Pixel Size (http://forums.omnigroup.com/showthread.php?t=23814)

agroisman 2012-03-28 12:53 AM

Export Objects Ends Up With Different Pixel Size
 
I read a few other threads on this but couldn't really get an answer to it. I'm relatively new to this tool so I apologize if I'm missing something obvious.

On Omnigraffle Pro 5.3.6 I created an object of say 100x100 px.
Now I go to File > Export and choose PNG format, "Current Selection" as Export Area, Scale is set to 100% and Resolution is set to 100 dpi.
I open up the exported PNG and for some weird reason it's 144x144 px.

The original object doesn't have any shadows and I'm not exporting any margins, it just got scaled up somehow.

Is there a way to make it so the exported object's size (in pixels) matches exactly what I designed?

Thanks for your help!

RobTrew 2012-03-28 08:35 AM

1 Attachment(s)
72dpi is the default for screens.

If you have: [LIST][*]used the Canvas inspector to set [B]Canvas > Size > Ruler Units[/B] to [I]pixels[/I],[*]used the [B]Properties > Geometry[/B] inspector to give the shape a height and width of 100px each,[/LIST]
You should get a pixel-proportionate export using the settings shown here:

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2328&stc=1&d=1332948445[/IMG]

Note that current selection export frames the shape with a bit of margin even if you uncheck 'include margin', but you can shave this down by giving a negative margin value.

I am getting a closely cropped 101 pixels square PNG from the above from an OG circle sized at 100px height and width - about right because its stroke is not zero width ...

[COLOR="White"]--[/COLOR]

[COLOR="White"]--[/COLOR]

agroisman 2012-03-28 11:02 AM

That worked, thank you!


All times are GMT -8. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.