Re: [Gimp-user] how to invert greyscale values only... leaving colors alone
On Mon, 2010-02-01 at 15:27 -0800, Rich Evans wrote: Hello, Is this the right place to ask a question about special filters in GIMP? If so, I'd love some advice on the following task: I have an RGB image that is basically a black background with many colorful objects and white text. --- I'd like to invert the image so that it is a white background with black text but a simple invert inverts the colors in all the colored objects as well. Is there a technique or tool to invert any part of the image that is only a shade of grey? i.e. invert pixeils with a saturation of ~0 (if that is how you say it). I could imagine a filter that does a simple RGB invert for any pixel whose calculated RGB saturation value is below a set threshold. Does this type of tool/script exist? Simple. First create a duplicate of your layer. Then invert the colors on the lower layer and set the layer mode of the upper (unchanged) layer to Colors. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Loading/indexing fonts everytime GIMP starts
I've had this problem myself. I'm going to make a guess here - you automatically clear out your temp folder on reboot? Or have it on a ram-disk or something similar? Gimp stores it's font cache, by default, under the system temp folder. So, if the temp folder is cleared on reboot, fonts are re-indexed the next time GIMP starts. There's a fairly painless solution. Go to C:\Program Files\GIMP-2.0\etc\fonts and create a new file called conf.d (not local.conf, as the documentation would suggest). In that file, put the text: cachedir~/.gimp-2.6/fonts/cache/cachedir That will make GIMP store the font cache in C:\Users\user name\.gimp-2.6\fonts\cache, which to me is a much more sensible place to have it. Of course, you can choose a different path, if you prefer. Alex Hi, When I start up my GIMP in windows, it indexes the fonts every first time that I start after a reboot. I am using windows 7, is there anyway to tell gimp not to index the fonts ? Best regards, Will ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] chalk type logo creation does something ? (script-fu)
2010/2/2 jolie for...@gimpusers.com: I'm not sure what I should expect to see, but apparently there is nothing to see here. I mean File - Create - Logos - Chalk... - (all defaults) - Ok = only an empty (?) blackboard appears. Am I missing something ? Cristi Doesn't work for me either. -- jolie (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user Thirded. I tried changing the font from the default Cooper which I don't have, but that didn't help either, just a black image. Then I restarted GIMP, chose text EUEOUE, font size 12, font Sans Bold, a reddish foreground color and a brownish background color and GIMP choked when running the rippling plugin. I'm using Windows Vista. Windows tells me ripple.exe has stopped working. I debugged it using Visual Studio and saw the error Unhandled exception at 0x00401a5c in ripple.exe: 0xC094: Integer division by zero. -- Deniz Dogan ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Loading/indexing fonts everytime GIMP starts
In the GIMP-2.0\etc\fonts there is already a directory called conf.d All my attempts to put your cachedir line somewhere failed: in local.conf, under my user directory. Any suggestion? mario On 02-Feb-10 10:38, AlexV wrote: I've had this problem myself. I'm going to make a guess here - you automatically clear out your temp folder on reboot? Or have it on a ram-disk or something similar? Gimp stores it's font cache, by default, under the system temp folder. So, if the temp folder is cleared on reboot, fonts are re-indexed the next time GIMP starts. There's a fairly painless solution. Go to C:\Program Files\GIMP-2.0\etc\fonts and create a new file called conf.d (not local.conf, as the documentation would suggest). In that file, put the text: cachedir~/.gimp-2.6/fonts/cache/cachedir That will make GIMP store the font cache in C:\Users\user name\.gimp-2.6\fonts\cache, which to me is a much more sensible place to have it. Of course, you can choose a different path, if you prefer. Alex Hi, When I start up my GIMP in windows, it indexes the fonts every first time that I start after a reboot. I am using windows 7, is there anyway to tell gimp not to index the fonts ? Best regards, Will ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user -- Ing. Mario Valle Data Analysis and Visualization Group| http://www.cscs.ch/~mvalle Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60 v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82 ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Loading/indexing fonts everytime GIMP starts
Hmm... I don't have that conf.d directory. Is there anything in it? I don't know enough about GIMP to explain that, someone else here might. You could edit the etc\fonts\fonts.conf to add the cachedir line above or instead of the existing cachedirWINDOWSTEMPDIR_FONTCONFIG_CACHE/cachedir line - although the documentation warns against modifying that file directly as it will be replaced when fontconfig is updated. Alex In the GIMP-2.0\etc\fonts there is already a directory called conf.d All my attempts to put your cachedir line somewhere failed: in local.conf, under my user directory. Any suggestion? mario On 02-Feb-10 10:38, AlexV wrote: I've had this problem myself. I'm going to make a guess here - you automatically clear out your temp folder on reboot? Or have it on a ram-disk or something similar? Gimp stores it's font cache, by default, under the system temp folder. So, if the temp folder is cleared on reboot, fonts are re-indexed the next time GIMP starts. There's a fairly painless solution. Go to C:\Program Files\GIMP-2.0\etc\fonts and create a new file called conf.d (not local.conf, as the documentation would suggest). In that file, put the text: cachedir~/.gimp-2.6/fonts/cache/cachedir That will make GIMP store the font cache in C:\Users\user name\.gimp-2.6\fonts\cache, which to me is a much more sensible place to have it. Of course, you can choose a different path, if you prefer. Alex Hi, When I start up my GIMP in windows, it indexes the fonts every first time that I start after a reboot. I am using windows 7, is there anyway to tell gimp not to index the fonts ? Best regards, Will ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user -- AlexV (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] problem with genius 8x6 tablet and gimp
Hi. I've just replaced my old AceCad tablet with Genius 8x6 tablet. it works fine in ALL programs I checked except for GIMP . :( The problem is that the x-axis doens't react as it should. for example - if I user a brush tool - I get two cursors - one with a brush where the pen is and another where it actualy draws. I've googled for a few hours with no aparent solution. I'm using gimp 2.6.8 on windows XP home edition. To my best knowledge, the tablet driver is the latest and it seems to work fine. I also get preasure recognition both in gimp and in the tablet utility. Do you know of any solution about this frustrating situation ? Thanks, Ohad. -- Ohad N. (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] problem with genius 8x6 tablet and gimp
On Tue, 2010-02-02 at 14:02 +0100, Ohad N. wrote: I've just replaced my old AceCad tablet with Genius 8x6 tablet. it works fine in ALL programs I checked except for GIMP . :( The problem is that the x-axis doens't react as it should. for example - if I user a brush tool - I get two cursors - one with a brush where the pen is and another where it actualy draws. I've googled for a few hours with no aparent solution. I'm using gimp 2.6.8 on windows XP home edition. To my best knowledge, the tablet driver is the latest and it seems to work fine. I also get preasure recognition both in gimp and in the tablet utility. Do you know of any solution about this frustrating situation ? Grab the source code (of GTK+) and add support for your tablet to it. Then send a patch to the GTK+ developers. You can also try to ask the tablet vendor to add proper support for their tablet to GTK+. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] problem with genius 8x6 tablet and gimp
On Tue, Feb 2, 2010 at 5:28 PM, Sven Neumann wrote: Grab the source code (of GTK+) and add support for your tablet to it. Then send a patch to the GTK+ developers. You can also try to ask the tablet vendor to add proper support for their tablet to GTK+. Funnily enough the tablet is reported to work with GIMP just fine on Linux. Alexandre ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] problem with genius 8x6 tablet and gimp
Hi, Tx for the quick response but it is not realy helpful. I don't have the time or knowledge to dive into GTK+ code and manipulate it. If someone thinks it might help clarify the problem, I will be happy to upload a screen capture image of the problem. Ohad. -- Ohad N. (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] problem with genius 8x6 tablet and gimp
hi Alexandre, Thanks for response. unfortunately, Moving to linux right now is not an option. Any other ideas ? Thanks, Ohad. -- Ohad N. (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] problem with genius 8x6 tablet and gimp
On Tue, 2010-02-02 at 17:50 +0300, Alexandre Prokoudine wrote: On Tue, Feb 2, 2010 at 5:28 PM, Sven Neumann wrote: Grab the source code (of GTK+) and add support for your tablet to it. Then send a patch to the GTK+ developers. You can also try to ask the tablet vendor to add proper support for their tablet to GTK+. Funnily enough the tablet is reported to work with GIMP just fine on Linux. That is not too surprising. The Windows port of GTK+ does not get as much contributions as the X11/Linux backend. There are probably a lot more GIMP users on Windows than there are on Linux, but still there are almost no code contributions for the Windows specific parts of the code. It's the same for scanners and printing. Windows is a second-class citizen, simply because there is almost no contributions from Windows users. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] problem with genius 8x6 tablet and gimp
Indeed frustrating . I've tried to isolate the problem and when I run gimp with : gimp-2.6.exe - --no-wintab it works fine as for the cursor(s) location, but I loose all the pressure sensativity so it is not much for a help for real drawings. Maybe you know how to activate the option --gtk-debug=FLAGS I can put a dump from the debug and maybe someone would have an idea. Thanks, Ohad. -- Ohad N. (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] problem with genius 8x6 tablet and gimp
Hi everyone, This is my first post to the list and I'm still a GIMP newbie so I apologise in advance if I've violated a posting convention or sound particularly naive. Ohad: The problem is that the x-axis doens't react as it should. for example - if I user a brush tool - I get two cursors - one with a brush where the pen is and another where it actualy draws. If someone thinks it might help clarify the problem, I will be happy to upload a screen capture image of the problem. I've experienced my y-axis being uncontrollable (with the x axis mapping fine) but it was not accompanied by two cursors. Could you elaborate a bit more on what your specific problem is? Unfortunately I don't remember how I fixed my y-axis problem (sorry - was also on an Aiptek not Genius tablet) but a screen capture might be useful. I have also experienced a two-cursor situation but that was due to settings for a Wacom tablet. The tablet was configured within GIMP to map to within the program window, thus creating two cursors when the operating system additionally mapped it to the context of the entire desktop frame (I don't know what the proper terms are sorry). I rectified this by configuring the tablet in GIMP to the context of the desktop frame as well. Have you checked Preferences Input Devices Configure Extended Input Devices in case that's the reason? Kind regards Xiella ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] how to invert greyscale values only...
not completely satisfied with sven's method, working on some pictures but not any, depending on the shades. I used to do it in CMYK a long time ago with photoshop by just pushing the image to CMYK and inverting the K curve. I guess something might be done with decompose color filter or so. But the quicker/best average i've found is just adding a mask based on the layer (L from Lab or N form CMYK could be used too), and play with the curve to adapt to the shades+refine with brush on mask. It takes few seconds if the picture is not too complex. Then put a white layer below and it's quite done. But i'm not completely satisfied with it. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] how to invert greyscale values only...
I'm grateful for the replies I have received, but I was thinking that if there isn't a well-known tool or method already, that maybe someone could point me to a site that describes how custom filters can be made from scratch. I'm not afraid to learn what I need to to make the filter, ...I've just never done it before. *grin* I just need someone to point me to a decent tutorial (I can do c programming if that's what it is, but my working assumption is that, all things being equal, it should be easier to make a filter for GIMP than it would be to write a c program from scratch).Would anyone consider this... easy? continue thanks, -Rich - Original Message From: Cédric Gémy radar.ma...@free.fr To: Gimp-user@lists.XCF.Berkeley.EDU Sent: Tue, February 2, 2010 5:58:51 PM Subject: Re: [Gimp-user] how to invert greyscale values only... not completely satisfied with sven's method, working on some pictures but not any, depending on the shades. I used to do it in CMYK a long time ago with photoshop by just pushing the image to CMYK and inverting the K curve. I guess something might be done with decompose color filter or so. But the quicker/best average i've found is just adding a mask based on the layer (L from Lab or N form CMYK could be used too), and play with the curve to adapt to the shades+refine with brush on mask. It takes few seconds if the picture is not too complex. Then put a white layer below and it's quite done. But i'm not completely satisfied with it. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] how to invert greyscale values only...
Colors - Desaturate; Colors - Invert No? Rich Evans wrote: I'm grateful for the replies I have received, but I was thinking that if there isn't a well-known tool or method already, that maybe someone could point me to a site that describes how custom filters can be made from scratch. I'm not afraid to learn what I need to to make the filter, ...I've just never done it before. *grin* I just need someone to point me to a decent tutorial (I can do c programming if that's what it is, but my working assumption is that, all things being equal, it should be easier to make a filter for GIMP than it would be to write a c program from scratch).Would anyone consider this... easy? continue thanks, -Rich - Original Message From: Cédric Gémy radar.ma...@free.fr To: Gimp-user@lists.XCF.Berkeley.EDU Sent: Tue, February 2, 2010 5:58:51 PM Subject: Re: [Gimp-user] how to invert greyscale values only... not completely satisfied with sven's method, working on some pictures but not any, depending on the shades. I used to do it in CMYK a long time ago with photoshop by just pushing the image to CMYK and inverting the K curve. I guess something might be done with decompose color filter or so. But the quicker/best average i've found is just adding a mask based on the layer (L from Lab or N form CMYK could be used too), and play with the curve to adapt to the shades+refine with brush on mask. It takes few seconds if the picture is not too complex. Then put a white layer below and it's quite done. But i'm not completely satisfied with it. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] how to invert greyscale values only...
On Tue, 2 Feb 2010 16:54:09 -0800 (PST) Rich Evans reva...@yahoo.com wrote: I'm grateful for the replies I have received, but I was thinking that if there isn't a well-known tool or method already, that maybe someone could point me to a site that describes how custom filters can be made from scratch. I'm not afraid to learn what I need to to make the filter, ...I've just never done it before. *grin* I just need someone to point me to a decent tutorial (I can do c programming if that's what it is, but my working assumption is that, all things being equal, it should be easier to make a filter for GIMP than it would be to write a c program from scratch).Would anyone consider this... easy? continue thanks, -Rich - Original Message From: Cédric Gémy radar.ma...@free.fr To: Gimp-user@lists.XCF.Berkeley.EDU Sent: Tue, February 2, 2010 5:58:51 PM Subject: Re: [Gimp-user] how to invert greyscale values only... not completely satisfied with sven's method, working on some pictures but not any, depending on the shades. I used to do it in CMYK a long time ago with photoshop by just pushing the image to CMYK and inverting the K curve. I guess something might be done with decompose color filter or so. But the quicker/best average i've found is just adding a mask based on the layer (L from Lab or N form CMYK could be used too), and play with the curve to adapt to the shades+refine with brush on mask. It takes few seconds if the picture is not too complex. Then put a white layer below and it's quite done. But i'm not completely satisfied with it. If you look at http://www.gimp.org/tutorials/Color2BW/ I am pretty sure all those techniques can be scripted with with either scheme or python. Owen ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] A problem with printing from GIMP
Hi All. Please, help me resolve one problem. I installed the Epson R270 printer on my Debian lenny system. Cups installed drivers automatically. Test page prints well and text with photos prints from the browser well. But GIMP doesn't print photos. I had broken my head while searching the right ways to do. Thank you very much. # ps ax | grep cupsd 2416 ? Ss 0:01 /usr/sbin/cupsd 3818 pts/4 S+ 0:00 grep cupsd The trobleshoot contains next information: Page 1 (Scheduler not running?): {'cups_connection_failure': False} Page 2 (Choose printer): {'cups_dest': cups.Dest object at 0x9b27e40, 'cups_instance': None, 'cups_queue': 'Stylus-Photo-R270', 'cups_queue_listed': True} Page 3 (Check printer sanity): {'cups_device_uri_scheme': u'usb', 'cups_printer_dict': {'device-uri': u'usb://EPSON/Stylus%20Photo%20R270', 'printer-info': u'Stylus-Photo-R270', 'printer-is-shared': True, 'printer-location': u'debianal', 'printer-make-and-model': u'Epson Stylus Photo R270 - CUPS+Gutenprint v5.0.2', 'printer-state': 3, 'printer-state-message': u'/usr/lib/cups/filter/pstoraster failed', 'printer-state-reasons': [u'none'], 'printer-type': 8556556, 'printer-uri-supported': u'ipp://localhost:631/printers/Stylus-Photo-R270'}, 'cups_printer_remote': 0, 'is_cups_class': False} Page 4 (Check PPD sanity): {'cups_printer_ppd_valid': True, 'missing_pkgs_and_exes': ([], [])} Page 5 (Local or remote?): {'printer_is_remote': False} Page 6 (Printer state reasons): {'printer-state-message': u'/usr/lib/cups/filter/pstoraster failed', 'printer-state-reasons': [u'none']} Page 7 (Error log checkpoint): {'cups_server_settings': {'DefaultAuthType': 'Basic', 'SystemGroup': 'lpadmin', '_debug_logging': '0', '_remote_admin': '0', '_remote_any': '0', '_remote_printers': '1', '_share_printers': '0', '_user_cancel_any': '0'}, 'error_log_checkpoint': 169L} Page 8 (Print test page): {'test_page_attempted': True, 'test_page_completions': [(6, u'Job completed.'Wink], 'test_page_job_id': [6], 'test_page_job_status': [(False, 5, 'Stylus-Photo-R270', '\xd0\x91\xd0\xb5\xd0\xb7 \xd0\xb8\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8', '\xd0\x9e\xd1\x81\xd1\x82\xd0\xb0\xd0\xbd\xd0\xbe\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd', None), (True, 6, 'Stylus-Photo-R270', 'Test Page', '\xd0\x92\xd1\x8b\xd0\xbf\xd0\xbe\xd0\xbb\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xbe', {'job-k-octets': 17, 'job-media-sheets-completed': 1, 'job-name': u'Test Page', 'job-originating-user-name': u'guest', 'job-preserved': False, 'job-printer-uri': u'ipp://debianal.freedom-vrn.ru:631/printers/Stylus-Photo-R270', 'job-priority': 50, 'job-state': 9, 'time-at-completed': 1262919592, 'time-at-creation': 1262919506, 'time-at-processing': 1262919506})], 'test_page_successful': True} Page 9 (Error log fetch): {'error_log': []} ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] problem with genius 8x6 tablet and gimp
Hi Xiella, Thanks for the response. I've created a screen shot showing the problem : http://www.flickr.com/photos/47152...@n05/4326636701/ Now, about your suggestion - I think that I tried everything in the preferences regarding the tablet but I would be happy to try once more. Please instruct me on what options should I state for tablet (window ? screen ? something else ?) and I would try and return with the results. Thank you for your time and effort. Ohad. -- Ohad N. (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user