Issue 10075

Summary: JPEGs images should use DCTDecode filter in print output
Product: Writer Reporter: jameslee <lista>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Solaris   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
As above
As above
As above
As above
As above
As above
As above none

Description jameslee 2002-12-14 12:43:15 UTC
I've put the down as an "enhancment" although I consider it to be a defect -
it's certainly a wobbler and defect in the thinking if not the product.

JPEG images included in writer documents are output to the printer using LZW
compression. (The images is read via the psp_lzwfilter procedure, currentfile
/ASCII85Decode filter /LZWDecode filter.) 

This is wasteful as a JPEG image can be put in the PostScript and the DCTDecode
filter used to read. There is a reason I choose to use JPEG to compress my
images in the first place. Had I though LZW would be the best, I would have used
PNG to save the image.

Attached are some examples that show the problem and demonstrate how to use JPEG
data raw in PostScript. Note when LZW compressed the image include is 17.6 times
bigger than is should be - a non-trivial amout.

otz.bunny.jpeg - The picture
otz.bunny.eps - The same picuture as an EPS, uses the actual JPEG data and
otz.bunny.jpeg.sxw - Writer doc using the JPEG (JFIF)
otz.bunny.eps.sxw - Writer doc using the EPS - print output from JPEG - BLOAT - print output using the EPS
Comment 1 jameslee 2002-12-14 12:47:15 UTC
Created attachment 4037 [details]
As above
Comment 2 jameslee 2002-12-14 12:47:43 UTC
Created attachment 4038 [details]
As above
Comment 3 jameslee 2002-12-14 12:48:43 UTC
Created attachment 4039 [details]
As above
Comment 4 jameslee 2002-12-14 12:49:21 UTC
Created attachment 4040 [details]
As above
Comment 5 jameslee 2002-12-14 12:50:05 UTC
Created attachment 4041 [details]
As above
Comment 6 jameslee 2002-12-14 13:05:03 UTC
Created attachment 4042 [details]
As above
Comment 7 jameslee 2002-12-14 13:06:57 UTC
Created attachment 4043 [details]
As above
Comment 8 h.ilter 2003-01-07 16:35:01 UTC
Reassigned to BH
Comment 9 eric.savary 2003-04-16 15:32:30 UTC
Set to "NEW"
Comment 10 ace_dent 2008-05-16 02:41:32 UTC Issue Tracker - Feedback Request.

The Issue you raised has the status 'New' pending further action, but has not
been updated within the last 4 years. Please consider re-testing with one of the
latest versions of OOo, as the problem(s) may have already been addressed.
Either use the recent stable version:
or consider trying the new OOo 3 BETA (still in testing):
Please report back the outcome so this Issue may be Closed or Progressed as
necessary - otherwise it may be Resolved as Invalid in the future. You may also
wish to search for (and note) any duplicates of this Issue that may have
advanced further by checking the Issue Tracker:
Many thanks,
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~
Comment 11 bettina.haberer 2010-05-21 15:03:29 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".