Hi,
Is it possible (or should I say is there a function) to take bytes of a newly taken picture and in memory convert to a bitmap? I already have a function where I do this by saving the image first and then reading it back in as a bitmap before processing, however, it made be wonder whether there was any time to be saved if this can be converted in memory instead thus saving processing time.
Basically, I have a few stages in my function that I need to perform before I get my final image and was looking to reduce/optimise these;
1. Take picture
2. Save picture
3. Read image back in
4. Using EXIF rotate the image to it's correct orientation.
5. Save image back but, resize it before doing so.
I've searched around on the forum and cannot find any posts relating to this.
BTW - I'm using the CamerEx class.
Is it possible (or should I say is there a function) to take bytes of a newly taken picture and in memory convert to a bitmap? I already have a function where I do this by saving the image first and then reading it back in as a bitmap before processing, however, it made be wonder whether there was any time to be saved if this can be converted in memory instead thus saving processing time.
Basically, I have a few stages in my function that I need to perform before I get my final image and was looking to reduce/optimise these;
1. Take picture
2. Save picture
3. Read image back in
4. Using EXIF rotate the image to it's correct orientation.
5. Save image back but, resize it before doing so.
I've searched around on the forum and cannot find any posts relating to this.
BTW - I'm using the CamerEx class.