all devices regression report - 2018-01-22-09:07:03 - eb5d417375e1c7052aeb9f2532d34573bfd07f53

[email protected] Mon, 22 Jan 2018 09:07:03 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180122170703.B9BF120409D2@i7>
Differences in all devices errors using gs/examples files

Previous Revision: f858f560061560cbd3670509206dfdd98fea4d07
 Current Revision: eb5d417375e1c7052aeb9f2532d34573bfd07f53

commit eb5d417375e1c7052aeb9f2532d34573bfd07f53
Author:     Ken Sharp <[email protected]>
AuthorDate: Mon Jan 22 15:20:29 2018 +0000
CommitDate: Mon Jan 22 15:20:29 2018 +0000

    Feature - JPEG Pass through
    
    This commit adds the capability for the PostScript and PDF interpreters
    to pass JPEG compressed image data directly to a device (currently the
    pdfwrite family of devices) as the original JPEG data.
    
    This allows us to avoid the compression artefacts caused by decompressing
    JPEG image data, and then applying JPEG compression again.
    
    This works by having the JPEG decoder inquire (via spec_op) if the
    current device would like the original uncompressed data. If so then it
    instructs the JPEG stream decoder to call a routine which will use
    more spec_ops to pass the uncompressed data to the device.
    
    The interpreter still calls the image methods with the decompressed
    data, its up to the device to ignore these calls while handling JPEG
    pass-through.
    
    We have to work this way in PostScript, as we must decompress the data
    as it arrives in order to find the end of the DCT compressed data. In
    addition, this allows the device to change its mind about accepting
    compressed data directly if it discovers from the image data that it
    is not suitable for preserving unchanged.
    
    This approach does not work with the PXL and XPS interpreters. These
    interpreters appear to completely decompress the JPEG data before
    starting an image, unlike the PostScript and PDF interpreters where the
    image methods are called as the stream is decopressed.
    
    As a result this feature is disabled for these interpreters.

Resource/Init/gs_pdfwr.ps
base/gxdevsop.h
base/sdct.h
base/sdctd.c
devices/vector/gdevpdfb.h
devices/vector/gdevpdfi.c
devices/vector/gdevpdfj.c
devices/vector/gdevpdfx.h
devices/vector/gdevpsdf.h
devices/vector/gdevpsdi.c
devices/vector/gdevpsdp.c
doc/VectorDevices.htm
pcl/pxl/pximage.c
pcl/pxl/pxvendor.c
psi/int.mak
psi/zfdctd.c
xps/xpsjpeg.c
xps/xpstiff.c
xps/xpstile.c

new errors:

errors that went away:

errors that are not whitelisted:
=== ghostpdl/examples/transparency_example.ps === cp50 ===