01-25-2018 05:45 AM - edited 01-25-2018 05:48 AM
Hi praveen,
your "saved file" only has some errors in the file, I could open it with IrfanVIEW and save it as PNG:
(Looks like a typical office equipment. :D)
Those "colored bars" are typical for data errors in JPG images: JPG stores data with a minimum block size of 8 pixels. With an encoding error the JPG decompression shows those artefacts…
So you need to make sure there are no errors in transmission of your JPG data!
01-25-2018 07:29 PM
Dear GerdW,
😄 Happy to see the result.
(Looks like a typical office equipment. )
Yes, yes.
Thank you for your efforts and guidance. By the way, what is the issue in the .jpg file?
Is that saved in correct format??
your "saved file" only has some errors in the file, I could open it with IrfanVIEW and save it as PNG:
It will be helpful if you say the error. IrfanView opens the file. In my case, My objective is to save the images automatically to the hard disk via LabVIEW software.
Great help. 🙂
-Praveen
01-26-2018 01:13 AM
Hi praveen,
It will be helpful if you say the error. IrfanView opens the file.
I can't "say the error" - I can only guess there are some transmission errors between your device and your computer leading to invalid data in the JPEG stream.
Some software is more strict about such invalid data (like GIMP being unable to open your JPG file), other is more tolerant like IrfanVIEW.
So I repeat: check for any transmission errors between your device and your computer!
01-26-2018 02:24 AM
Dear GredW,
FIne. I checked the data from the camera and the count is correct need to verify with the checksum. Thank you once again.
-Praveen
01-28-2018 11:55 PM
Dear GredW,
Thank you very much for your great guidance. I got my result.
The thing is I need to order the data from FFD8 to FFD9 that the image info. Actually, the camera sent the header as well as the checksum. Those are not needed.
I am just posting this coz someone can use this info in future.
Thank you once again.
-Praveen
03-08-2023 12:13 AM - edited 03-08-2023 12:15 AM
Hi Praveen,
Right now I,m facing the same problem you faced. I have hexadecimal text file. with matlab I can convert this hexadecimal file into RGB image. But I need to do it in LABView. If you have any example vi, Kindly share.
I attached matlab code below,
Thanks.
Rajkumar
03-08-2023 11:25 AM