Announcement

Collapse
No announcement yet.

partial image display

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • partial image display

    hi, i would like to use the GOLDELOX in a new design but I have a requirement that I need to store an image on the card larger than the display size and then display a tile of the stored image on the display, nothing fancy like resizing or stretching but just to grab a section of the stored image the same size as the display from within the larger image, can this be done, I have looked at uDS_Image and do not see the method, thanks. D

  • #2


    Hi mtbikedroid,

    You can work around it by splitting the image into tiles prior to saving the tiles on the uSD, and then displaying each tile using uSD_Image. There's a some free software out there, for example you can use ImageMagick (http://www.imagemagick.org/script/index.php) through the command line utility, e.g.

    convert input-img.jpg -crop 16x16 output-%d.jpg

    will give you a series of files called output*.jpg, all sized 16x16 pixels.

    Hope this helps.
    Regards,
    Anna

    Comment


    • #3


      thx anna, that is what i was thinking but wanted to be sure I didn't miss something obvious

      Comment

      Working...
      X