REQUIREMENTS:-
• Convert image files eg: “.jpeg” , ".png" , ".tar" file to an unsigned char and perform the converse process accordingly.
• providing the transformation options like RGB to Gray scale, RGB to RGBA
PROCESS PLAN:-
Forward process steps
STEP 1.
Take the input “.jpeg” file which has to be converted in the unsigned char for further desired process.
STEP 2.
Check whether the input files are “.jpeg” or blank. If it is “.jpeg” then proceeds further or if it is blank or not a “.jpeg”, then show error.
STEP 3.
Allocation of structure and function initialization.
STEP 4.
Get the information about the “.jpeg” file like width, height, color type, bit depth etc. which is required to initialize the reading of jpeg file pixel by pixel.
STEP 5.
Pass read data through a process transformation which provide different transformation like Gray scale, RGB, RGBA as per the requirement.
STEP 6.
After applying required transformation read the file progressively and convert that data in an unsigned char format.
STEP 7.
Close all opened file and free the memory allocation.
STEP 8.
The unsigned char output would be in the “[login to view URL]” file
Reverse process steps
In this function, it is the opposite of the convert JPEG to unsigned char from above.
STEP 1.
1. Take the input “unsigned char” ([login to view URL]) file which has to be converted in the “.jpeg” file for further desired process.
STEP 2.
2. Allocation of structure and function initialization.
STEP 3.
3. Take header to get information about the “.jpeg” file which has been converted into “unsigned char” before.
STEP 4.
4. After getting info about “.jpeg” file convert 8 bit unsigned char into 32 bit or 24 bit format for generating values of a pixel as required to retrieve the “.jpeg” file back.
STEP 5.
5. Convert those 24bit or 32 bit values in an array of values which represent the pixels of the “.jpeg” file.
STEP 6.
6. Process that array of values and form a “.jpeg” file.
STEP 7.
7. Close all opened file and free the memory allocation.
STEP 8.
8. The “.jpeg” output would be in the “output”.jpeg”” file.
NOTE:-
• To achieve above mentioned processes (Converting a “.jpeg” to an unsigned char), libjpeg, libpng etc. which are system libraries has to be used.
• Custom APIs has to be provided to perform above explained processes.
# Program made should be in C code structure (mandatory) and efficient too. It has to be used on LINUX platform.
I can do the image processing code in C. Feel free to contact me if you would like me to work on this project, please message me so that we can exchange chats about the project
I have the skill set need to do this work, I have even done a C++ app with wxWidgets that do this and allow me to apply some transfomration to the image even adaptive thresholdig. So i think this is a really easy task and i can do it in a very little amount of time. Just let me know if u are interested on my bid.
Hello! I am interested in your project and I would like to work for you. I have already done by myself this sort of image conversion and pixel manipulation project, and I am experienced with it. Please contact me if you are interested. I can provide you the source code of my project as to prove you I know what I am talking about. Please contact me if you are interested. Have a nice day!