Resources BMPs JPEGs

General discussion on Visual TFT Software.
Post Reply
Author
Message
Bill Legge
Posts: 235
Joined: 28 Oct 2007 03:16
Location: West Australia

Resources BMPs JPEGs

#1 Post by Bill Legge » 19 Oct 2017 10:41

Thanks for the new video: 'TIPS & TRICKS VISUAL TFT COMPILER"

I am working on a GPS so that my position is shown on an image taken from Google Earth.
Things are working OK but my images are not very good.
I am storing them on a Micro SD card with MikromediaPlus for PIC32:
The screen has a resolution of 480X272:

1. What image, bitmap of jpeg gives the best quality? Is there any difference?
2. What DPI should I use?
3. I presume by image should be 480X272?
4. How is a 'zoom in/out' done on an image?

Regards Bill Legge

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: Resources BMPs JPEGs

#2 Post by dusan.poluga » 26 Oct 2017 08:58

Hello,

Use BMP for the best quality. JPG is a compressed image format. When the image is decompressed some data will be lost.
One more difference is the size of the image. Since BMP is a non compressed it will be larger in size compared to the JPG format.

For the image resolution use the same resolution as the screen size for best view quality.

Regarding the zoom in and zoom out.
You would have to implement some sort of a custom image scaling function to have this feature.

Best Regards,
Dusan Poluga.

Post Reply

Return to “Visual TFT General”