Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2016/10/03)20161004 
Dharmik Hello13:16.31 
ghostbot Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line.13:16.31 
Dharmik I have one PDF file and that is Password Protected.13:17.02 
  Once I unlock it and than edit some thing it shows at that time \13:17.26 
  But when i save it and reopen it it didnt show me back13:17.44 
kens Dharmik you're going to have to explain which product of ours you are talking about13:21.38 
Dharmik I am using MuPDF13:21.52 
  And this problem is only with Password Protected PDF13:22.55 
kens Hmm, I can't help you then. It would probably help the MuPDF developers if you explained *exactly* what you are doing. How did you 'unlock' the PDF file, what 'some thing' did you edit13:23.38 
Dharmik Okay, I have one PDF file and I am using this method to unlock it in MuPDF : authenticatePassword13:25.30 
  And after that I draw some line or circle and than Save that document13:27.20 
  After that once I open that PDF again than that circle and that draw line is not visible13:27.59 
  If the PDF is not Password Protected than that look cool13:28.19 
  But If that PDF is Password Protected than that change is not visible13:28.49 
  I hope this all information is okay to understand the issue13:29.03 
kens I hope so too, unfortunately its not a product I work on so I can't be sure.13:31.38 
Dharmik I think Robin_Watts work on it13:32.02 
kens All the developers were at a staff meeting and only returned home yesterday,so there may be a delay before anyone can answer this.13:32.05 
Dharmik Is there any other way ?13:33.06 
kens Any other way to do what ?13:34.00 
Robin_Watts Dharmik: We don't support saving password protected PDFs in MuPDF currently.13:44.16 
  Once you unlock one, and then save it back, it will be unprotected.13:44.34 
Dharmik Need Help in MuPDF14:10.00 
  Any one there available ?14:10.18 
Robin_Watts Dharmik: Yup.14:11.19 
  Dharmik: We don't support saving password protected PDFs in MuPDF currently.14:11.36 
  Once you unlock one, and then save it back, it will be unprotected.14:11.40 
Dharmik So that editing mode is only for unprotected file ?14:12.18 
Robin_Watts Dharmik: That's not how I'd characterise it.14:13.42 
  We we can read both unprotected, and protected files. We can edit any file once read. We can only write back unprotected ones.14:14.13 
Dharmik Okay, Robin. So I am able to edit that file and than save it but that changes is not save in to Passwordprotected file14:15.36 
Robin_Watts Dharmik: Exactly.14:15.48 
Dharmik Any alternative to save that. Because in my application all PDF are password protected :(14:16.26 
Robin_Watts Not currently.14:16.58 
  What application, if I can ask?14:17.04 
Dharmik It Based on Free Book Application . User read and edit them.14:17.43 
  I already try that PDFTRONE14:18.22 
  It save that book which are password protected14:18.40 
Robin_Watts Dharmik: So it's ann AGPL licensed open source app?14:21.07 
Dharmik Yes, I will take care of that . It not currently avilable in market.14:23.07 
Robin_Watts Dharmik: Adding the ability to save password protected files is on our todo list, but it's not near the top.14:25.33 
Dharmik @Robin you there?14:32.26 
Robin_Watts I am.14:32.39 
Dharmik So I need to set all books without password ?14:33.19 
Robin_Watts Dharmik: I don't see how I can be clearer than I have been.14:33.40 
  If you are relying on MuPDF to save files, then they will all be unprotected, currently.14:34.13 
Dharmik Okay, Is there any way to remove password from password protected file ?14:35.52 
  Is there any method ?14:36.05 
Robin_Watts Dharmik: Urm... Load a file and save it?14:37.03 
  or run it through mutool clean.14:37.16 
a7x hello, is there any way to convert some pages of a pdf file to grey-scale but keep everything else as it is?15:18.04 
Robin_Watts a7x: Easy way, no.15:18.37 
a7x the only way is splitting it and merging afterwards?15:19.15 
Robin_Watts a7x: That's one way. It's the only way I can think of which doesn't require programming.15:19.48 
a7x I am able to develop15:20.01 
kens You could write a Ghostscript device to do so yourself, modifying the existing pdfwrite device.15:20.19 
a7x I was looking into pyPdf but looks like it's no use for this specific case15:20.30 
chrisl kens: would pdfwrite handle changing the ProcessColor on a per-page basis?15:21.39 
a7x uhm15:21.52 
kens chrisl I believe so yes, in the current CMS15:21.58 
a7x ok15:22.20 
kens It coudl probably be done with a BeginPage or EndPage procedure which altered the ColorConversionStrategy by sending a setpagedevice15:22.30 
a7x I will check which way is faster i suppose that modifying the pdfwrite device would require more effort that I am actually willing to put in it (it's just for a single file)15:29.47 
  still this is an interesting function that I was not expecting to be missing, it can be useful in case only some pages must be printed with colours15:30.54 
  thanks, I will let you know :)15:31.38 
Robin_Watts a7x: If it was me, I'd do it by using MuPDF.15:31.56 
a7x uhm15:32.04 
Robin_Watts Specifically, I'd work at the page operator level, using the pdf stream filtering mechanism.15:32.20 
  But that would require you to understand PDF.15:32.30 
a7x looks like each ways has its own cons15:33.03 
  (deep knowledge of gs, or pdf)15:33.10 
Robin_Watts yes.15:33.18 
a7x well, still, I will try in the next hour or so and let you know15:33.36 
  thank you 15:33.41 
kens2 slaps kens around a bit with a large trout15:40.41 
 Forward 1 day (to 2016/10/05)>>> 
ghostscript.com
Search: