| <<<Back 1 day (to 2016/07/24) | 20160725 |
starkhalo | just built latest mupdf, what happened to libmujs.a? prev versions put it on build's root dir | 04:08.39 |
| nvm, apparently 1.9 merged all the libraries into libmupdfthird.a http://git.ghostscript.com/?p=mupdf.git;a=commit;h=4d45a50c5efb68be44a2e39bf12a4a11353acc4f | 05:52.15 |
aleray | hi, is there a way to convert black to spot color using mutool? | 21:54.20 |
| (or actually any other mean) | 22:01.11 |
Robin_Watts | aleray: Not trivially, no. | 22:49.33 |
| You could write a filter to do it, but it would require C programming. | 22:50.13 |
aleray | Robin_Watts, I have a postscript script that does this so: http://dpaste.com/1RF58H6 | 22:53.57 |
| don't know if it helps | 22:54.04 |
Robin_Watts | Postscript won't help you with mupdf. | 22:54.25 |
aleray | the idea is of course to avoid the pdf > postscript > pdf conversion | 22:54.27 |
Robin_Watts | using a filter with mupdf will let you change stuff at the pdf graphical object level. The structure of the files will remain as unchanged as is possible. | 22:55.05 |
aleray | Robin_Watts, so no way to do this yith mutoo run and javascript ? | 22:55.10 |
| *mutool run | 22:55.20 |
Robin_Watts | I don't think so, currently. | 23:15.23 |
aleray | Robin_Watts, thanks | 23:17.01 |
| any documentation for wrinting filters in C? | 23:17.17 |
Robin_Watts | aleray: No document yet, no. | 23:18.15 |
aleray | Robin_Watts, ok | 23:18.41 |
Robin_Watts | but if you look at pdf-op-filter.c or pdf-op-buffer.c you should get the idea. | 23:18.52 |
aleray | Robin_Watts, should I ask tor8 for infos? From what I remeber he is the one woring on mutool on this chan | 23:19.26 |
Robin_Watts | The filter stuff was me. | 23:19.39 |
| tor is on holiday at the moment. | 23:19.45 |
| "mutool run" uses the js interpreter and that is tors baby, yes. | 23:20.06 |
| The filter stuff is not reflected into js yet. | 23:20.15 |
| But if it was to be, sebras might be the one to write it - but I'm not sure we have a vision for that yet. | 23:20.34 |
aleray | Robin_Watts, ok thanks | 23:21.03 |
| is there any other tools/methods to achieve what I want to do? | 23:21.34 |
Robin_Watts | aleray: Mutool create lets you extract/create pages from text files. | 23:22.06 |
| That might offer a way. mvrhel is the man to ask about that. | 23:22.15 |
aleray | Robin_Watts, ok thanks forthe info | 23:31.36 |
| i'll be back later | 23:31.51 |
| ;) | 23:32.01 |
| Forward 1 day (to 2016/07/26)>>> | |