Hello, I would like to read a png file and display it and then again modify some pixel value and write it back. How can that be done? Pleasse provide some advice.
Reading and writing an image file
You want to do this programmatically? If so, what language and Environment?
Or do you want to do this manually, as in some image editing software like Paint, Paint.NET, GIMP, or Photoshop?
Thank you very much. I had some mistake. It is a jpg file. I have extracted the header i.e. width and height. Now I would like to read the pixel and display it. Please provide me some suggestion. Thanks.
Thank you very much. I had some mistake. It is a jpg file. I have extracted the header i.e. width and height. Now I would like to read the pixel and display it. Please provide me some suggestion. Thanks.
Go here:
The JPEG spec is kind of tricky to implement, so unless you really want to know how it works, I'd suggest using an existing library to read and write JPG files.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement