EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #05078


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Coversheets - file compression issues? [RESOLVED]


Hi John,

Bravo!  Excellent sleuthing, John - thanks.  Problem solved.

Cheers

George

> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-
> bounces@ecs.soton.ac.uk] On Behalf Of John Salter
> Sent: 09 November 2015 12:50
> To: 'eprints-tech@ecs.soton.ac.uk' <eprints-tech@ecs.soton.ac.uk>
> Subject: [EP-tech] Re: Coversheets - file compression issues?
> 
> Hi,
> This might be useful:
> http://stackoverflow.com/questions/8158584/ghostscript-to-merge-pdfs-
> compresses-the-result
> 
> In ~/archives/ARCHIVEID/cfg/cfg.d/z_coversheet.pl, the gs command is:
> $c->{gs_pdf_stich_cmd} = "gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -
> sOutputFile=";
> 
> **totally untested** Maybe try changing that to something like:
> $c->{gs_pdf_stich_cmd} = "gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -
> dPDFSETTINGS=/prepress -sOutputFile=";
> 
> The code for the coversheets plugin is here:
> https://github.com/eprintsug/coversheets
>  - if you want to flag any issues or suggest improvements, go ahead!
> 
> Cheers,
> John
> 
> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-
> bounces@ecs.soton.ac.uk] On Behalf Of George Macgregor
> Sent: 09 November 2015 12:02
> To: eprints-tech@ecs.soton.ac.uk
> Subject: [EP-tech] Coversheets - file compression issues?
> 
> Hello colleagues,
> 
> A hawkeyed electrical engineering academic at our institution has noticed
> that our instance of ePrints is applying image compression to PDF files.  The
> issue appears to stem from the application of the Coversheet plugin.  As far
> as I can tell, the plugin does not apply any file compression but I suspect the
> very fact that conversion occurs at all results in some loss of fidelity.  My
> personal view is that the lossiness is tolerable. I, for example, have never
> noticed the issue until now; but it does become noticeable when PDF files
> contain detailed hi-res figures/diagrams, as in this particular instance.
> 
> I am therefore just wondering whether other users have encountered this
> problem and what, if anything, you did about it?  I can't see it logged
> anywhere as a known issue, if indeed there is agreement that it is an issue.
> 
> Cheers
> 
> George
> 
> ----------------------------------
> George Macgregor | Information Services Directorate Curran Building |
> University of Strathclyde
> Tel: 0141 548 3496
> Email: george.macgregor@strath.ac.uk
> Web: http://personal.strath.ac.uk/george.macgregor/
> ----------------------------------
> The University of Strathclyde is a charitable body, registered in Scotland, with
> registration number SC015263
> 
> 
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/