Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLP to PNG artifacts #82

Open
DDuarte opened this issue Jan 10, 2016 · 4 comments
Open

BLP to PNG artifacts #82

DDuarte opened this issue Jan 10, 2016 · 4 comments

Comments

@DDuarte
Copy link
Contributor

DDuarte commented Jan 10, 2016

Some .blp when converted to .png get artifacts:

tileset-duskwood-duskwoodcobblestone blp

This does not happen to all the BLPs. I couldn't figure out yet why it happens to some of them only.

Converting the BLPs with the BLPConverter.exe that was compiled with libblp.dll produces corrects PNGs:

tileset-duskwood-duskwoodcobblestone

This only seems to occur on Windows.

@timkurvers
Copy link
Member

Ah, thanks!

Does this occur even when not using clustering? Run npm run reset, then configure the amount of workers to be 1 and run the pipeline server again.

I'm assuming the artifacts are consistent and always in the same place?

@timkurvers
Copy link
Member

Worth mentioning that this might be an issue with how Wowser handles BLPs in its pipeline, instead.

@DDuarte
Copy link
Contributor Author

DDuarte commented Jan 10, 2016

These artifacts happened before clustering was added and they do seem to be always in the same spot but I have to confirm this.

This how BLPConverter processes the files, it uses FreeImage: https://github.com/Kanma/BLPConverter/blob/master/main.cpp#L161-L190

@timkurvers
Copy link
Member

Thanks! I'm installing Visual Studio right now, might take a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants