Jump to content

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


Recommended Posts

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 :)

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...