Join now - be part of our community!

Images not rendering correctly

Ronney
Visitor

Images not rendering correctly

Hi all,

I am currently creating images using MATLAB. I am able to create a 3840 x 2160 matrix, and have each element act as a pixel of a gray scale image. After, I have MATLAB convert the array into an image - bmp, png, etc.

What I have noticed is that when I put images on my sony xperia premium phone they are not renering right. For example, an image of a star patern - where stars are just one pixel - only appears to render correctly when it is a png. The bmp images seem to drop stars. If I create an image of lines that are just one pixel wide, some of those lines get dropped even for png's.

Is there some scaling issue I am running into where the phone's resolution isn't exactly 3840 x 2160?

Note, the same thing happens when I switch to a 3D array for a color image.

Thank you everyone for your time.

0 REPLIES 0