04-21-2023 08:42 AM - edited 04-21-2023 09:58 AM
Attach your dat file and we figure it out. Also attach your VI.
900x900 is 810000 pixels, but since you are reading it as U16, that would be twice as many bytes. What is the size of the array coming out of the read operation? Also, why do you have a coercion dot on the IAMQ conversion?
04-23-2023 11:09 AM - edited 04-23-2023 11:14 AM
@tushar.V wrote:
I'am able to convert *.dat to *.png image, but i'am getting two images in earth.png
You obviously get a double image if you data is actually U8 , but you are reading it as U16. Now you only have half the required pixels for the full size, so the reshape will pad with black.
04-25-2023 12:08 AM
Thank you it worked.