Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

C program to get RGB values of a pixel

Hi,

I need to develop a C program to get the color information(RGB values) of every pixel by reading an image. I do not know if there are any inbuilt functions for this. Can any one let me know how to proceed. I work on Linux platform. Please help. Many thanks in advance.


Comments

  • Malcolm_McLeanMalcolm_McLean Member Posts: 254 ✭✭
    : Hi,
    :
    : I need to develop a C program to get the color information(RGB
    : values) of every pixel by reading an image. I do not know if there
    : are any inbuilt functions for this. Can any one let me know how to
    : proceed. I work on Linux platform. Please help. Many thanks in
    : advance.
    :
    Are you reading an image from a file, or a framebuffer?

    If the former, root around in the Basic Algorithms section of my website to find free loaders for most common image formats. (They are not the only ones on the net by any means).

    [link=http://www.personal.leeds.ac.uk/~bgy1mm]website here[/link]

Sign In or Register to comment.