### Guffy's blog

By Guffy, history, 6 months ago, ,

Hello Codeforces.

I have one question. Can we use image / pixel color on Dev C++, if YES, how?

•
• -4
•

 » 6 months ago, # | ← Rev. 3 →   -8 Dear Guffy,Whether the image you are interested in using is read from data file or clipped from the computer display windows, and regardless of the C++ IDE you intend to use, the image data is often stored either as a one-dimensional or a two-dimensional array with proper size whose items represent the color information of each pixel, and ordered in the array according to the relative position of the pixel to one of the image corner points. The following is an example from Stack Overflow for using image data read from a .bmp file.Best wishes,