Issue 10075 - JPEGs images should use DCTDecode filter in print output
Summary: JPEGs images should use DCTDecode filter in print output
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Solaris
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-14 12:43 UTC by jameslee
Modified: 2013-02-07 22:41 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
As above (55.67 KB, image/jpeg)
2002-12-14 12:47 UTC, jameslee
no flags Details
As above (55.67 KB, image/jpeg)
2002-12-14 12:47 UTC, jameslee
no flags Details
As above (71.00 KB, text/plain)
2002-12-14 12:48 UTC, jameslee
no flags Details
As above (5.72 KB, application/octet-stream)
2002-12-14 12:49 UTC, jameslee
no flags Details
As above (5.74 KB, application/octet-stream)
2002-12-14 12:50 UTC, jameslee
no flags Details
As above (76.60 KB, text/plain)
2002-12-14 13:05 UTC, jameslee
no flags Details
As above (1.23 MB, text/plain)
2002-12-14 13:06 UTC, jameslee
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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
DTCDecode
otz.bunny.jpeg.sxw - Writer doc using the JPEG (JFIF)
otz.bunny.eps.sxw - Writer doc using the EPS
otz.bunny.jpeg.ps - print output from JPEG - BLOAT
otz.bunny.eps.ps - 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
OpenOffice.org 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: http://download.openoffice.org/index.html
or consider trying the new OOo 3 BETA (still in testing):
http://download.openoffice.org/3.0beta/
 
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:
http://www.openoffice.org/issues/query.cgi
 
Many thanks,
Andrew
 
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~
http://marketing.openoffice.org/3.0/announcementbeta.html
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".