RSS/Atom feed Twitter
Site is read-only, email is disabled

hello, I want to ask how to use the api to get the color from the screen with a pen.

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

hello, I want to ask how to use the api to get the color from the screen with a pen. Eva 25 Jun 07:59
  hello, I want to ask how to use the api to get the color from the screen with a pen. LightningIsMyName 25 Jun 19:24
Eva
2010-06-25 07:59:19 UTC (over 14 years ago)

hello, I want to ask how to use the api to get the color from the screen with a pen.

hello, I'm a beginner of GIMP. I'm developing a plug-in for GIMP. Now I'm facing a problem, that is, I want to pick a color for a picture and use it as an input to process the picture, but I don't know which api can fulfill my task. Can you help me? Thank you very much. By the way, is there any good advice for a beginner to quickly get into the stuff? Any efficient way to use the API reference? Thank you again.

LightningIsMyName
2010-06-25 19:24:35 UTC (over 14 years ago)

hello, I want to ask how to use the api to get the color from the screen with a pen.

Hello,

On Fri, Jun 25, 2010 at 8:59 AM, Eva wrote:

hello, I'm a beginner of GIMP. I'm developing a plug-in for GIMP. Now I'm facing a problem, that is, I want to pick a color for a picture and use it as an input to process the picture, but I don't know which api can fulfill my task. Can you help me? Thank you very much.

You are looking for the procedure gimp-image-pick-color. You can see it's documentation here: http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpimage.html#gimp-image-pick-color

On Fri, Jun 25, 2010 at 8:59 AM, Eva wrote:

By the way, is there any good advice for a beginner to quickly get into the stuff? Any efficient way to use the API reference? Thank you again.

You are probably looking for this page: http://developer.gimp.org/api/2.0/index.html Note that the top links in that page are the ones relevant for development of plugins. The bottom link (titled Gimp Application) is a documentation of the GIMP's core and is usually not relevant unless you want to contribute code to GIMP itself.

Good luck with your plugin =) LightningIsMyName