How do I crop image after loading from url?

Get help using Construct 2

Post » Tue Jul 05, 2016 2:55 pm

So I send a post request to a url and get an image url back. Now I load image from that url for a sprite. The problem is that the image that is sent back doesn't have transparent edges cropped. Is there way to do that through events after loading the image from the url? I want it to have the same effect as "Crop Transparent Edges" in the image editor. Please tell me if there's a way to do this.
B
4
Posts: 10
Reputation: 222

Post » Tue Jul 05, 2016 3:49 pm

Most of the editor features are not available at runtime. So no, there is no feature out of the box to do that AFAIK.
ImageImage
B
42
S
13
G
10
Posts: 164
Reputation: 7,625


Return to How do I....?

Who is online

Users browsing this forum: David181, istero, webebiz and 2 guests