Announcement

Collapse
No announcement yet.

Display image larger than 128x128pixels in a clipping region

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

  • ESPsupport
    replied


    Unfortunately clipping was never conceived to work that way.



    You will need to create the image as 'tiled' and add some logic to display the tiles to build the image

    Leave a comment:


  • Display image larger than 128x128pixels in a clipping region

    Hi.

    I´m using uLcd144(Goldelox processor).

    I´m trying to show a part of an image larger than 128x128pixels in a clipwindow. But The image simply not shows at the screen. As you can se in the code below, only the second image is displayed(angralog1.bmp). The first image(Teclas1.bmp) not appear at the screen. I checked that with several images, but only images smaller than 128x128pixels worked.

    Can it be a GraphicsComposer configuration problem when I import the Image to the SDcard? Maybe I have to setup the image in a different way in the GraphicsComposer, before exporting to SDcard.

    Please, help-me! Thanks =D




    //Example code

    gfx_ClipWindow(0, 70, 128, 110 );
    gfx_Clipping(ON);
    Teclas1.bmp(0,20); //Size 312x67 - this image not appear at the screen.
    pause(10000);
    angralog1.bmp(0,0); //Size 128x128 - this image works correctly
    pause(10000);


    //*********
Working...
X