azagaya / laigter

Laigter: automatic normal map generator for sprites!
https://azagaya.itch.io/laigter
GNU General Public License v3.0
905 stars 62 forks source link

Preview Export Is Cropped #81

Closed shtr86 closed 3 years ago

shtr86 commented 3 years ago

Hi.

Looks like in the last version of software the preview export is bugged and crops the final result which the in the previous versions doesn't seem to exist.

No matter what the resolution of imported texture is. it only exports this area size (1402:937) (only happens when it's bigger than this size).

And finally, thank for all the efforts you put into this useful project.

OS: Windows 10 64bit Laigter version: 1.10.3

azagaya commented 3 years ago

Hi! Thanks for reporting the issue... i think i know what could have happened... Would you share me the texture you are using?

shtr86 commented 3 years ago

of course ! There you go.

icon google play game icon google play game_v

azagaya commented 3 years ago

@shtr86 would you check if its working fine in the version 1.10.4 in releases?

azagaya commented 3 years ago

@shtr86 would you confirm if the issue is solved in last release?

shtr86 commented 3 years ago

It works perfectly fine in version "1.10.5". Ty 👍

I'm not sure if it's a right way to make an suggestion or not. But since I really like to use the baked version of my textures with your software. I noticed there is some changes done to my final result in preview exports. Here is an example

Test

As you can see the corners loose their smoothness and lose their alpha channel. I guess, maybe there is some calculation issue there. I would really appreciate if you fix this one too.

I would close this issue tomorrow anyways. Thanks. :)

azagaya commented 3 years ago

Oh.. thats probably because laigter export preview in premultiplied alpha format. Perhaps you could check if you have an premultiplied alpha import option in the software you are using? If not, i can make that an option for next release perhaps.

azagaya commented 3 years ago

I will close this for now, if you persist with that issue, feel free to open another issue! as that problem is unrelated to the original topic of this one.