Integrated VTFT

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

Integrated VTFT

#1 Post by JimKueneman » 02 Jan 2019 19:52

Is it just me or is the integrated VTFT really buggy for images (Using the EVE library)?

1) I got in a mode where I had 2 images in the resource editor but it would only generate the invisible "No_Image" bitmap in the resources file and/or the resource.mpas file. Did not work either internal or external storage. I had to start over with the project creation.

2) Next I can't get dynamically assigned images to work as in the external example. I exported the images ME had in the demo then imported them into my project and just assigned like they did:

Code: Select all

procedure EveButton1OnClick();
  begin
    if Image1.Picture_Name = BallastSmall_bmp then
      Image1.Picture_Name := VisualLogo_bmp
    else
      Image1.Picture_Name := BallastSmall_bmp;
    DrawScreen(@Screen1);
  end;
Tried it with internal and external storage with similar results the image is just a bunch of noise pixels but the dimensions seem correct when it changes.

3) If I try to import at JPG it just says "unsupported image format"

Jim

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Integrated VTFT

#2 Post by petar.suknjaja » 04 Jan 2019 09:57

Hi,
Post the minimum code that reproduces these issues and we will see what's the reason for that.
Kind regards,
Petar

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”