1

I really want to learn how an image is composed (i.e. array of bits, or however, how is the color composed for each pixel, etc). Can you point me in the right direction? I'm not really sure what to search for.

Thanks a lot in advance.

So what I want to do is to be able to modify the picture pragmatically, i.e. change to black and white, scale it, crop it, etc, and for this I would really like to learn how the image is composed instead of just finding these algorithms online.

1

2 Answers 2

0

You don't always need to know low level mathematical details(matrixes,quantisation,fourier transform etc.) of graphic formats to manipulate images. For all the things you want to do you may use proper libraries. For example in PHP libraries used freuqently to manipulate images are:

0

It depends on the image format that you're interested in manipulating. Each format (more or less) is composed in a different manner, and based on that has a different set of capabilities for manipulating the image.

Different sets of actions on an image favor different image formats, as does the type of image you want to manipulate.

Provide more details about what you want to do with the image and I'm sure someone else will come along and tell you which formats are best and how they are handled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.