Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - vector graphics in NeoOffice
vector graphics in NeoOffice
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Tue Aug 11, 2009 7:32 am    Post subject: vector graphics in NeoOffice

I recall something about NeoOffice automatically converting vector graphics to bitmaps.

What I do not remember is if this is done for vector graphics on import, or when they get printed and/or exported.

Could someone enlighten me?

best wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Aug 11, 2009 8:30 am    Post subject:

When you import a vector graphics format into NeoOffice, its underlying OpenOffice.org code imports it into a list of internal vector drawing commands. When you save the image, the underlying OpenOffice.org code will convert the internal vector drawing commands back into the image format that you are exporting to.

Where the imported image gets converted to bitmaps is when you copy the image. At that point, the underlying OpenOffice.org code creates a bitmap by executing the internal vector drawing commands and then hands that bitmap to the custom NeoOffice copy and paste code.

Hope that helps,

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Tue Aug 11, 2009 10:49 am    Post subject:

Indeed it helps.

So the bottom line is that you do not lose fidelity importing or keeping the image in your document, but you end up with a bitmap if you take it out of the document to somewhere else.

Good to know.

Thanks,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Aug 11, 2009 10:52 am    Post subject:

ovvldc wrote:
So the bottom line is that you do not lose fidelity importing or keeping the image in your document, but you end up with a bitmap if you take it out of the document to somewhere else.


Yes, you do not lose fidelity. But, you still may see distortion when importing due to the inability of the OpenOffice.org code to properly interpret and match the images file format to internal vector commands. You really can see this with text size and kerning when importing PICT vector images.

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Tue Aug 11, 2009 11:23 am    Post subject:

One wonders why they keep maintaining that instead of going for something like cairo..

Or am I oversimplifying things, other than that ripping out code and replacing it is a tricky job?

Oz

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue Aug 11, 2009 1:00 pm    Post subject:

ovvldc wrote:
One wonders why they keep maintaining that instead of going for something like cairo..

Cairo is really for drawing things to the screen, rather than importing verctor graphics.

Anyway, when you create an application that supports editing vector graphics, you're always going to have to translate "other" vector formats into your native format to edit them. Depending on how "close" your native format is to the format you're importing, you may have more or less fidelity loss. E.g., Illustrator is good with PDF, since PDF and AI are closely related, but Illustrator does a lousy job with SVG, since it's rather different.

It's no different than with .doc and .odt Wink

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.