Sign in to follow this  
Followers 0
One

Work with graphics (.tif, .jpg, etc)

5 posts in this topic

Hello, Guys.. Can you help me?

First, please, don't tell me something like "this question was answered many times, go searching...",

because i spend some hours in searching, found lot of interesting things, but nothing, that helped me.

I want to make CIP3 - generator from .TIF (or .JPG) file.

In my mind, programm do something like this:

First. Merge picture (virtually) to 24 columns.

Second. Calculate summ of each color (C-M-Y-K) in every column.

Last. Make CIP3 file from these results.

Maybe, first of all, resize picture for quicking process

NOW MY QUESTION: How i can check color of pixel with coordinates (x,y) in .TIF (or .JPG) file?

All other toughts i can solve by myself.

P.S.: CIP3 file used for printing press, as basic color adjusting table

P.P.S.: My primary language is Russian, so sorry for bad English :)

Share this post


Link to post
Share on other sites



There is the PixelGetColor() function. It gets it's info from the screen though, not an image file directly.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

I'm not sure if it will help here, but I had some success doing graphics manipulations with AutoIT and Image Magick (an open source graphics program with lots of command line functionality).

Share this post


Link to post
Share on other sites

Look in GDIPlus and search for _GDIPlus_BitmapLockBits() function.

There should bei a lot of examples here in the forum.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Found something useful:

FreeImage

Digging in...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0