Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2018/11/09)20181110 
CanadianHusky Hello, I was wondering if anyone had time to look at bug # 700052. It makes GS 9.25 completely unusable for quite a few color to grayscale conversions using pdfwrite device when the content has existing gradients/grayscale objects. GS 9.20 does a fairly good (not perfect but acceptable) conversion on the provided sample file. Thank you kindly09:07.30 
kens The old versions do not reatin teh shading dictioanry on colour conversion, but render it to an image09:07.57 
  If an image is acceptable to you, then use the pdfimage8 device09:08.15 
CanadianHusky content is required to stay as vector09:08.40 
kens Then you'll have to wait, I don't regard this as an urgent issue09:09.00 
CanadianHusky gs 9.25 looses a lot of objects and is a serious regression when compared with 9.2009:09.10 
  understood09:09.16 
kens Note that, as I said, the older versions don't reatin the shading, so it wasn't retained as 'vector' previously09:10.07 
CanadianHusky the page content has a lot of other objects that stays fine as vector with 9.20. Of course you are correct, the grayscale part in question gets rendered to some sort of image with 9.20, with a bit quality loss, but more or less acceptable09:11.29 
  Its not elegant but because of these issues, I have added code to use 2 versions of GS at the same time depending on the task at hand, GS 9.20 for grayscale conversions and 9.23 for pdfimage operations. 9.24 and 9.25 have around 800% performance penalty on pdfwrite device on some files and I am hoping the recent commit you did about the glyph issue performs well. I could not test it yet, waiting for the official build. Th09:14.14 
  this code snippet did another approach to the grayscale conversion and on some files (also the file in the sample) works really well and preserves the content as much as possible. His logic does fail on other files where GS does an excellent job. Maybe it can act as an inspiration when the time is right to review that part of the code. http://habjan.blogspot.com/2013/09/proof-of-concept-converting-pdf-files.html09:23.57 
kens No. We need to convert an M-in N-Out function into an M-in 1-out function09:25.10 
  Which means executing the function and sampling the result09:25.28 
  Clearly that is returning incorrect results 'sometimes'09:25.40 
CanadianHusky so changing the color operators alone is not enough ? I see09:25.52 
kens I won't know why until I have teh time to lok at the problem09:25.53 
  No, in general shadings are defined by a function (or an array of functions), in order to change the colour space we need to run the functions at certain values, record the results, convert the colour to gray scale, and then produce a new function which generates those results from the same inputs09:26.49 
CanadianHusky have a nice weekend and thank you09:26.51 
aliray hi, I have a pdf with black color. Is there a way to convert this black to 100% cmyk cyan? 21:40.07 
 Forward 1 day (to 2018/11/11)>>> 
ghostscript.com #mupdf
Search: