[Gimp-developer] Can I avoid Gimp creating new coulours ???
On Fri, 13 Apr 2001 16:06:22 +0100, David Kirkby [EMAIL PROTECTED] said: Hi, I'm trying to do something with Gimp that is perhaps a little unusual. This is causing me a problem, but I'd like to know if it can be overcome easily. I'm using Gimp 1.2.0 on a Sun SPARCstation with Solaris 8. I would like to create a bitmap (.BMP) with Gimp that can be read by a scientific application I have written. This application looks for specific colours such as red (0xff), black (0x00), white (0xff) and green (0x0x00ff00). I need to create an image that uses these colours and *only* these colours. However, when I draw a red circle using pure red, on a pure white background, the edges of the circle are pink, containing some red, and equal amounts of green and blue. Likewise if I create a small bitmap (say 5 x 5 pixels) and set these pixels to the values I want, expanding the image in Gimp creates pixels of intermediate colours. I appreciate this is more aesthetically pleasing, but Gimp's interpolating colours is causing me a problem. Is there any obvious way to stop colour interpolation ? Use indexed mode. Kelly ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I avoid Gimp creating new coulours ???
On Fri, 13 Apr 2001, David Kirkby wrote: I appreciate this is more aesthetically pleasing, but Gimp's interpolating colours is causing me a problem. Is there any obvious way to stop colour interpolation ? yup! dialogs-pallete edit-new then choose only the colors you want and image-mode-index(ed) the image to 4 colors, and you should be rocking. -- Blue Langhttp://www.gator.net/~blue Unix Administrator Veritas Software 2315 McMullan Circle, Raleigh, North Carolina, USA 919 835 1540 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I avoid Gimp creating new coulours ???
Thanks, but I need to write the image in 24 bit mode, as the software only reads 24-bit mode image - they are the easiest to read, so I only implemented them. There is also the possibility that I could want more than 256 colours. I just need them to be what I want, without Gimp's interpolation. Blue Lang wrote: On Fri, 13 Apr 2001, David Kirkby wrote: I appreciate this is more aesthetically pleasing, but Gimp's interpolating colours is causing me a problem. Is there any obvious way to stop colour interpolation ? yup! dialogs-pallete edit-new then choose only the colors you want and image-mode-index(ed) the image to 4 colors, and you should be rocking. -- Blue Langhttp://www.gator.net/~blue Unix Administrator Veritas Software 2315 McMullan Circle, Raleigh, North Carolina, USA 919 835 1540 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer -- Dr. David Kirkby Ph.D, email: [EMAIL PROTECTED] former email address: [EMAIL PROTECTED] web page: http://www.david-kirkby.co.uk Amateur radio callsign: G8WRB ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I avoid Gimp creating new coulours ???
Hi, David Kirkby [EMAIL PROTECTED] writes: I would like to create a bitmap (.BMP) with Gimp that can be read by a scientific application I have written. This application looks for specific colours such as red (0xff), black (0x00), white (0xff) and green (0x0x00ff00). I need to create an image that uses these colours and *only* these colours. However, when I draw a red circle using pure red, on a pure white background, the edges of the circle are pink, containing some red, and equal amounts of green and blue. You can avoid this by disabling antialiasing. I don't know how you are drwaing your circle. If you use the EllipseSelect tool and fill the selection, disable antialiasing in the EllipseSelect tool options. If you are stroking the selection, use the Pencil to stroke. Likewise if I create a small bitmap (say 5 x 5 pixels) and set these pixels to the values I want, expanding the image in Gimp creates pixels of intermediate colours. It does not do this if you change the Interpolation type to Nearest-Neighbor in the Preferences dialog. Salut, Sven ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I avoid Gimp creating new coulours ???
If you are stroking the selection, use the Pencil to stroke. Sven, Can you actually do this? If so, how? Seth __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I avoid Gimp creating new coulours ???
Hi, Seth Burgess [EMAIL PROTECTED] writes: If you are stroking the selection, use the Pencil to stroke. Sven, Can you actually do this? If so, how? You can. Just make the Pencil the active tool before stroking. The active paint tool is always used for stroking. Only if there's no active paint tool, the paintbrush is choosen automatically. Salut, Sven ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer