|
|||
|
how to open image file in c
i want to store a graphic file by taking each and every pixel into a file
and then i want to retrieve it when i need moreover i need to open .gif or .jpg atleast .bmp file using c program |
| Sponsored Links |
|
|||
|
Hi,
You can get every pixel and store into a file and also retrieve and use it as per your choice by using graphic commands in C language.Commands like getpixel(),sertpixel(),.. are there to code your requirment.These commands take pixel from worldview an dmap it to viewport and commands are there to do viceversa also. To have a good reading of these commands and code your requirment have a reading of the book Graphics in C - By Vijay Mukhi's - BPB Publications Also for C++ you have C++ and Graphics - The Future of C - Vijay Mukhi's - BPB Publications This gives a detailed explanation of syntax of all graphic commands in C Sripriya |
|
|||
|
image
You can get every pixel and store into a file and also retrieve and use it as per your choice by using graphic commands in C language.Commands like getpixel(),sertpixel(),.. are there to code your requirment.These commands take pixel from worldview an dmap it to viewport and commands are there to do viceversa also.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|