IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2015/03/02)20150303 
Robin_Watts evening kens.00:41.20 
  mvrhel was leaving his place at 7pm (my time). If he flew at 9... should be landing 12ish. So anytime...00:43.05 
henrys Robin_Watts: south park's parody on game of thrones is hilarious01:03.44 
Robin_Watts henrys: I'm sure. I'll have to watch for that one.01:04.47 
  How many times will I need to recompile before this value actually gets set? 4 times so far... sigh...01:05.36 
  will try again tomorrow :(01:06.24 
tor5 evening rayjj01:57.33 
kens i was ray on the phone :-)01:57.43 
  *it01:57.49 
tor5 kens: ah!01:57.50 
  so what have you decided about tomorrow morning?01:58.05 
kens nothing yet01:58.11 
  ray was expecting Micahel to be here already01:58.23 
  so I was going to sit heres and discuss it thene until he arri01:58.38 
  grr stupid trackpad mangling text01:58.55 
tor5 isn't there an option to turn off the trackpad while typing?01:59.36 
kens I haven't found one....01:59.45 
tor5 I know there is on Linux, because I need it :)01:59.48 
kens and tis pad is too sensitive, the insertion point jumps around when my palm comes near it02:00.15 
tor5 look for a synaptics control panel thingy, if that's what you've got02:03.03 
kens could be, I'm in control panel, rummaging02:03.22 
tor5 on some trackpads, there's a control panel to tweak all kinds of things. on others... no such luck :(02:03.42 
kens seems to come up as a mouse02:04.50 
  sono fiddling options02:05.30 
rayjj kens: I found that mvrhel was talking about his flights on http://ghostscript.com/irclogs/2015/01/14.html and he mentioned getting the one that gets in at 7:10pm02:07.00 
  kens: I don't see any other discussion on IRC02:07.19 
kens Well that sounds about right02:07.52 
rayjj hi, tor5 02:07.56 
kens so by the time he clears baggae and stuff, picks up van etc, it will probably be around 9pm before he gets here02:08.30 
  unless rental is quicker here than my usual experience02:08.54 
rayjj I didn't have lunch, and am getting peckish, so I'm going to head across the parking lot for some vittles. If you here from mvrhel, please have him call me02:12.11 
kens will do02:12.53 
tor5 kens: send me an email with what you decide and I'll read it when I wake up... having a difficult time staying awake now.03:20.12 
kens me too, but ok, goodnigth tor03:23.38 
tor5 good night. if nothing else I'll just assume breakfast at 8.30 though I'll likely be up before then.03:24.40 
rayjj kens: what time do you want to get up?03:51.46 
  I saw 8:30, but that's pretty late03:52.01 
  I'm usually up at 5:30AM PST (6:30 AM here)03:52.43 
  mvrhel and I just got back with the van03:53.03 
kens rayjj I'm good with pretty much any time03:54.30 
  jet lag will wake me up.....03:54.47 
  glad to hear Michael made it though ;-)03:55.10 
  Shall we say breakfast at 6:30 am ?03:55.57 
rayjj That sounds good to me. I'll confirm with mvrhel (I'm going to keep him company at dinner)03:56.31 
kens OK drop me something in irc if you want a different time, I'm going to bed now. Have a good dinner03:57.13 
rayjj kens: see you then. Have a good sleep.03:57.42 
kens :-) goodnight!03:58.04 
Guest56445 I am trying to offload some of the rendering task to GPU using OpenGL, but with which I am not able to get visually similar output w.r.t. ghostscript code.05:28.51 
  My initial investigation shows that it could be the different interpolation algorithms by openGL and reference gs. OpenGL has 2 options nearest neighbor and linear interpolation.05:29.59 
  May I know what algorithm is used by GS?05:30.25 
  *for interpolation05:37.08 
chrisl Guest56445: I believe GS uses a mitchell filter for interpolation.... see gxiscale.c and siinterp.c in the "base" directory07:59.22 
  *disclaimer*: it's not my area of "interest".....08:00.07 
Guest56445 @chrisl Thanks for the pointers08:47.35 
chrisl np08:51.14 
rayjj morning, all12:43.07 
  I see that you are back on, kens. I left my laptop on, but the hotel system made me reconnect this AM12:44.12 
kens turned off overnight12:45.28 
  and good moing12:45.36 
rayjj chrisl: you are right about gs using the Mitchell filter, at least when /Interpolate true is specified. When it isn't, we follow the PLRM "center of pixel" rule.12:45.58 
  kens: see you for breakfast at 6:30am. Do you think we need to make sure that Tor knows that's when we are meeting ?12:47.01 
chrisl rayjj: tbh, I really did know that, but I felt like making him do at least a little reading......12:47.11 
rayjj chrisl: np. I suspect that the color space processing would make using OpenGL not be of much use for images, except for a few simple cases.12:50.02 
rayjj gets ready....12:50.19 
chrisl rayjj: I don't think he mentioned opengl, so he could be using one of the proprietary APIs - but even then, I doubt the model will exactly match the gs rendering library12:55.07 
rayjj heads for the slopes (about 2hrs away)...13:52.30 
henrys have fun rayjj 13:55.48 
Robin_Watts Morning fredross-perry 15:42.43 
  No (official) meeting this week15:42.52 
fredross-perry howdy15:42.55 
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.15:42.55 
fredross-perry right15:43.03 
Robin_Watts but if you have any questions or anything, fire away, obviously.15:43.17 
  tor/mvrhel/ray/kens are skiing (or driving to ski slope at least) at the mo.15:43.45 
chrisl henrys: did you see the question about the PCL font table on gs-devel? (I can't remember if you still get mails from there)15:48.47 
henrys chrisl: I don't read it, can you send them here or to bugzilla? or forward the email to me.15:49.59 
  yeah just started to snow, very lightly here but probably worse in the mountains.15:50.45 
chrisl henrys: I'll forward the mail. If you send me any answer, I'll include a pointer to IRC in the reply15:50.55 
Robin_Watts It hailed here earlier. Only for 20 minutes or so.15:53.37 
  Guess where I was?15:53.45 
chrisl Enjoying a comfortable sauna whilst observing the poor weather??15:54.41 
Robin_Watts Sadly no :)15:55.01 
chrisl As long as it wasn't these uber-hail stones the size of golf balls......15:56.39 
Robin_Watts No. Initially it was quite nice (drier than rain, not that heavy), but then the wind shifted so it was coming at me sideways.15:58.30 
chrisl Back in York, I once got caught in a *torrential* downpour about 4 miles from home. Freezing cold, and so soaked my trainers were squelching with every stride. Getting home was about the longest 4 miles I ever remember running.....16:00.53 
Robin_Watts chrisl: lovely.16:03.36 
chrisl And yet, I still miss it16:04.22 
Robin_Watts henry: see ron on skype?16:12.55 
chrisl henrys: thanks for the PCL fonts reply - I've sent it on with a pointer to here (and a warning about the font licensing)18:14.13 
henrys chrisl: no problem18:14.37 
hyper_ch hi henrys18:45.52 
henrys hi hyper_ch 18:46.23 
hyper_ch hows your brain? ready for picking?18:46.36 
henrys hyper_ch: sure you can ask a question if you want.18:47.25 
hyper_ch well, I have that pdf that I ocred... so there's a text layer... you know any super smart way to remove that?18:47.52 
Robin_Watts hyper_ch: What do you mean by a "text layer" ?18:48.14 
hyper_ch well, normally when you do ocr on an image pdf, it will add an inivislbe text layer on top18:48.44 
henrys Robin_Watts: I suspect he means "invisible" text18:48.52 
Robin_Watts OK.18:48.57 
hyper_ch not sure what it's called18:49.26 
  I just assumed it's like an photoshp/gimp file18:49.35 
Robin_Watts invisible text is fine.18:49.35 
hyper_ch containing multiple layers18:49.39 
Robin_Watts No.18:49.42 
hyper_ch bottomw one image layer18:49.42 
  then invisible text18:49.45 
Robin_Watts pdf files are not constrained in that way.18:49.54 
  There is no specific concept of 'layer' in PDF.18:50.13 
  Nothing that simple :)18:50.20 
hyper_ch but I like simple things :)18:50.39 
  so, is there an easy way to remove it?18:50.48 
Robin_Watts So you had a.pdf, which was just an image. You fed it into some OCR software, and you got b.pdf out, a file with the image and some text.18:51.04 
henrys Robin_Watts: you can dump images in mupdf though and if the ocr was stupid that's all you should have other than the invisible text.18:51.17 
Robin_Watts And now you want to get a file with just the image again?18:51.18 
hyper_ch Robin_Watts: right :)18:51.34 
  you summarized it perfectly18:51.42 
Robin_Watts hyper_ch: Are you on unix or windows?18:51.51 
hyper_ch linux18:51.56 
Robin_Watts ok.18:51.59 
  cp a.pdf b.pdf18:52.04 
hyper_ch but that keeps the invisible text18:52.22 
Robin_Watts No. a.pdf was the original files with just the image in.18:52.43 
hyper_ch Robin_Watts: I don't have it anymore18:52.59 
  I just have a pdf with invisible text18:53.23 
Robin_Watts well, I can think of a couple of things to try.18:53.53 
  Firstly you could try running it through gs (gs -sDEVICE=pdfwrite -o c.pdf b.pdf)18:54.46 
hyper_ch I'm happy with one18:54.46 
Robin_Watts That will generate you a new pdf (c.pdf), that looks the same.18:55.42 
  It's possible that will strip out the invisible text, but I wouldn't bet on it.18:55.46 
hyper_ch that didn't work18:56.00 
  text still tehre18:56.00 
Robin_Watts I rather suspect that gs goes to some lengths to keep the invisible text on the grounds that most people want their stuff to remain searchable.18:56.04 
hyper_ch maybe I could use imagemagick18:56.23 
Robin_Watts OK. (Kens is the expert on pdfwrite, and he's off hurtling down mountains currently)18:56.24 
hyper_ch converting it back to a pure image18:56.31 
Robin_Watts Is each page a single image?18:56.56 
  (other than the invisible text)18:57.14 
hyper_ch I need it for just one page. Because OCR put a lot of white spaces between almos every character18:57.22 
  hence render the OCR pretty much useless18:57.29 
  so I need a "pristine" example again to retry different settings18:57.41 
  convert a.pdf a.png resulted in a bad quality image18:57.55 
  same with a.bmp18:58.02 
Robin_Watts No shit.18:58.05 
  The image in the PDF will be at whatever resolution the PDF was scanned at.18:58.43 
hyper_ch any other smart suggestions?18:58.50 
Robin_Watts hence when you render the image you must take pains to render at the same resolution, otherwise information will be lost.18:59.16 
hyper_ch well, my main problem is that I don't have that dead-wood-original sample anymore18:59.41 
  otherwise I'd just rescan it18:59.59 
Robin_Watts I asked if each page was a single image (other than the text) earlier, and you didn't answer.18:59.59 
hyper_ch sorry, it's single page19:00.08 
Robin_Watts Again, not what I asked.19:00.24 
hyper_ch not sure what you mean19:00.33 
  what do you mean by that?19:01.28 
  I just scanned the original sheet in and run it through ocr19:01.39 
Robin_Watts I'm struggling to find a simpler way to put it.19:01.42 
hyper_ch I can give you the .pdf19:02.05 
Robin_Watts That might be simplest.19:02.06 
hyper_ch url in query19:02.59 
Robin_Watts ok, so that's got a single fax image on the page.19:04.16 
hyper_ch fax image?19:04.32 
chrisl hyper_ch: if it's just a simple image with hidden text over it, you can convert to Postscript and then back to PDF..... ps2write then pdfwrite19:18.20 
hyper_ch chrisl: I tried that but it didn't work19:18.45 
Robin_Watts chrisl: I solved it for him.19:18.47 
hyper_ch chrisl: however Robin_Watts used some emacs magic :)19:18.52 
Robin_Watts I just edited the text out.19:18.57 
hyper_ch as said, emacs magic19:19.08 
chrisl Huh, Postscript doesn't do hidden text, so I wonder how it was preserved.......19:19.52 
hyper_ch maybe I did it wrong19:20.15 
Robin_Watts text is sent before the image.19:20.23 
  so it's white text, not invisible text.19:20.30 
hyper_ch I opened it in okular19:20.31 
  started printing and printed to .gs19:20.39 
  then I used gs2pdf19:20.43 
chrisl Ah, white text isn't hidden text, then - and that's a rather broken way to do that19:21.18 
hyper_ch what's white text?19:21.35 
Robin_Watts It's text. That's white.19:21.52 
chrisl I'm rather surprised that even works19:23.36 
  I think I'll be off now - g'night all19:24.56 
hyper_ch also I wonder, why is it device in -sDEVICE= always with caps?20:30.22 
Robin_Watts -sXXXX says "set a dictionary value XXXX to a string value".20:41.59 
  In this case 'DEVICE' is the thing you are setting.20:42.12 
  It is (I believe) a postscript standard thing.20:42.23 
  i.e. the choice of "DEVICE" (as opposed to 'device' or 'Device') is something set by adobe.20:43.02 
fredross-perry jogux: I just checked in some new stuff. look at line 1096 of MuDocumentController.m22:41.43 
marquessbr hi all!22:47.57 
armandosbr hi all22:51.32 
  I try to port my own app for android devices, it is ok, but I need to resize the view whose font is too small, someone here can help-me?22:55.10 
henrys fredross-perry: jogux will be out this week.23:08.39 
fredross-perry thanks, no rush.23:10.24 
henrys kens:how was the trip?23:33.53 
kens pretty good henrys23:37.39 
  sunny weather this mornong, snowed this afternoon23:37.53 
  supposed to be cold tomorrow, then sunny thursday23:38.19 
henrys kens: we had some snow down here and I didn't know how heavy it would be in the mountains driving up.23:38.56 
kens well this morning was clear, so I'm hoping we'll be OK coming back Thursday....23:39.35 
  The hotel we were in (Microtel) is directly opposite the meeting hotel ;-)23:40.20 
 Forward 1 day (to 2015/03/04)>>> 
ghostscript.com
Search: