RaiaN/RuntimeImageLoader

Add a new option "target size" (feature request from marketplace)

Closed this issue · 10 comments

RaiaN commented
Add a new option "target size" (feature request from marketplace)
RaiaN commented

Implemented. Grab latest release!

@RaiaN ,I just saw this feature on the market image (Not in UE yet) but can you make it to percent size? Because how do you know the size of the image before loading, it causes the aspect ratio not quite right if just write down a random size

RaiaN commented

@FlamingFuryVN Oh, percent size is definitely better. I like it. I will change the functionality, no problem

RaiaN commented

@FlamingFuryVN I've implemented 'percent size' feature. Please grab the latest release

@FlamingFuryVN I've implemented 'percent size' feature. Please grab the latest release

@RaiaN ,Is it actually imported faster if l lower percent size? I just test on my project (Work as a gallery image) but it no difference between them.
image
I had progress bar loading depending on how many child already had in the widget, so I spot them not faster, I guess.

RaiaN commented

@FlamingFuryVN To produce 'lower percent size' image the importer still has to load entire file into memory first. There might be a way to make it faster but the whole file still should be read until the end to figure out which image pixels to use..

If you have any suggestions then please let me know.

@RaiaN Oh, I expect that would be faster if lower size, but it would be so nice if it does. Because benefit from re-size image when import just for faster import. I could give you my project with Gallery Widget if you want. It could help you in testing with tons of images.

RaiaN commented

Oh, I expect that would be faster if lower size, but it would be so nice if it does
It is definitely faster cause it does not create full-resolution Unreal texture :) From your feedback it seems to have a little impact though..

The test project might be great. I can probably optimize some of the logic here and there. Feel free to upload it somewhere

Maybe through your telegram? I have just joined the group but don't know which one is your account

RaiaN commented

Telegram: yolo_star