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 - Printing high resolution bitmaps
Printing high resolution bitmaps
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Aug 03, 2007 8:35 pm    Post subject: Printing high resolution bitmaps

FYI. I filed bug 2542 today when I discovered that images were getting "downscaled" to 300 DPI when printing even when the various reduce bitmaps resolution options were unchecked in the Tools :: Options :: NeoOffice :: Print panel.

Anyway, the fix was pretty simple and I have posted a test patch in that bug. If anyone could test this test patch out, that would be very helpful. Please note that due to OOo's inability to do direct transparent drawing, images will still be limited to 300 DPI if you have any transparent shapes or images in your document.

Patrick
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Sat Aug 04, 2007 12:37 pm    Post subject:

I'd like to help, but how can I know in which resolution an image is printed?

Sorry, maybe it's a silly question Rolling Eyes

Jacqueline
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Aug 04, 2007 1:04 pm    Post subject:

jgd wrote:
I'd like to help, but how can I know in which resolution an image is printed?

Sorry, maybe it's a silly question Rolling Eyes


Here's how I checked my code:

1. Insert a very large image in a document and make sure that it is sized much smaller than the actual image. For example, if you have a 1000 x 1000 pixel image and you make it 5 cm x 5 cm in your document, then you will effectively have a 500 DPI image in your document.

2. Open the original large image that you inserted in the Preview application and zoom in until the image size is roughly equal to the size of your screen.

3. Print your document to the Preview application and zoom in until the image within the Preview window is also roughly equal to the size of your screen.

If my code is working, the image in 3 will be as clear as in 2. However, if my code is not working or you have NeoOffice set to reduce bitmaps or you are printing transparent objects over the image, the image will become very unclear and jagged.

Hope that helps,

Patrick
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Sat Aug 04, 2007 1:24 pm    Post subject:

Thanks Patrick,

It seems to work fine on Intel. Not still tested on PPC. Tomorrow Smile

Jacqueline
Back to top
rays
The Anomaly
(earlier version)


Joined: Sep 23, 2004
Posts: 475
Location: Geneva, Switzerland

PostPosted: Sun Aug 05, 2007 1:59 am    Post subject:

jgd wrote:
It seems to work fine on Intel. Not still tested on PPC. Tomorrow Smile


Ditto

_________________
Ray Saunders
World Scout Bureau
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Sun Aug 05, 2007 2:11 am    Post subject:

it's good on PPC too.

Jacqueline
Back to top
rays
The Anomaly
(earlier version)


Joined: Sep 23, 2004
Posts: 475
Location: Geneva, Switzerland

PostPosted: Mon Aug 06, 2007 3:33 am    Post subject:

jgd wrote:
it's good on PPC too.


ditto ditto

_________________
Ray Saunders
World Scout Bureau
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Aug 07, 2007 9:55 pm    Post subject:

FYI. I have also removed the 300 DPI limit when printing transparent images and shapes and I have posted a new test patch in bug 2542 with these additional fixes.

If this last test patch looks OK. I'll put it in an official Neo 2.2.1 EA patch within the next week and I will remove the 300 DPI limitation from the main web site's Features and Bugs page.

Patrick
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Wed Aug 08, 2007 2:32 am    Post subject:

It works fine on Intel and PPC.

Jacqueline
Back to top
rays
The Anomaly
(earlier version)


Joined: Sep 23, 2004
Posts: 475
Location: Geneva, Switzerland

PostPosted: Fri Aug 10, 2007 4:47 am    Post subject:

Looks like we've picked up an issue with Test Patch 2. We have a Writer document with images that crashes on printing from Patch1-TestPatch2 but which does not crash from vanilla Patch1.

I'm looking for crash log now and will file to bug 2542 with sample document.

_________________
Ray Saunders
World Scout Bureau
Back to top
rays
The Anomaly
(earlier version)


Joined: Sep 23, 2004
Posts: 475
Location: Geneva, Switzerland

PostPosted: Fri Aug 10, 2007 4:56 am    Post subject:

Just tried NeoOffice-2.2.1_Early_Access-Patch-1-Test-3-Intel and crash persists. Not able to find any crash log via Console/Crash Reporter.
_________________
Ray Saunders
World Scout Bureau
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Aug 10, 2007 8:12 am    Post subject:

Thanks for the sample document. It is more than enough for me to debug and fix this so don't worry about a crash log for this bug.

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Mon Aug 13, 2007 5:49 am    Post subject:

I've installed Test Patch 2 and now I have an image with transparency that doesn't print correctly.

I've opened bug 2549 and attached the image and a document and pdf generated by Printing to Preview.

I can still print it correctly if I export to PDF first.

Andy.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing 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.