FileChooser

Get help using Construct 2

Post » Tue Sep 08, 2015 11:52 am

Hi,

i would like to put and adapt a canvas exactly over an image dowload with FileChooser, with the same dimension.
i can't choose the parameter "Keep curent size" because the image is modified.

So for that, i need the width and the height of the file.
I just found the global size in pixels (with FileChooser.FileSizeAt(0) )

How to do?
B
10
S
3
Posts: 82
Reputation: 830

Post » Wed Sep 09, 2015 1:09 am

maybe using spriteImage.ImageWidth andspriteImage.ImageHeight when your image is loaded.... and then "set scale"
B
14
S
1
Posts: 33
Reputation: 1,022


Return to How do I....?

Who is online

Users browsing this forum: BiffanyPFH, dop2000 and 27 guests