Enlarge gif example

Hi everybody!

I’m doing something so so so simple… but it’s not working…

i’m drawing on a canvas:

this works!
g.DrawPicture(myImg, x, y)

but this do not work…
g.DrawPicture(myImg, x, y, 64, 64, 0, 0, 16, 16)

why?

My guess is that is working but you are getting something you didn’t expect.

What are you getting? What do you expect? What is the size of the Gif?

i’m getting nothing…
i want 4 times the original img
the myImg is 16x16 pixels

Strange, can you create a sample project and include the Gif?

i don’t know what i did…

now it worked. sorry.

alex

2 Likes

exactly!