Coder Social home page Coder Social logo

libpng error about mcpe_viz HOT 10 OPEN

cbos0503 avatar cbos0503 commented on September 27, 2024
libpng error

from mcpe_viz.

Comments (10)

Plethora777 avatar Plethora777 commented on September 27, 2024

Interesting. It should be auto-tiling if you have a huge world. Can you upload the world files somewhere so that I can grab them & have a look at what's going on?

from mcpe_viz.

cbos0503 avatar cbos0503 commented on September 27, 2024

https://www.dropbox.com/s/21nxv4suzk4kmcx/Midgard.mcworld?dl=0

from mcpe_viz.

Plethora777 avatar Plethora777 commented on September 27, 2024

Thanks very much for that! You have a huge world :) 12,564,736 x 22,944!

I've found the issue and I will fix it in the next update. That update is a bit delayed because I'm working on support for MCPE v0.17 / 1.0.0. The update seems to work well on 0.17 worlds, but I need a bit more time to update the spawn checking code for the new cubic chunks scheme.

Soon!

from mcpe_viz.

cbos0503 avatar cbos0503 commented on September 27, 2024

Lol. Are those dimensions in blocks? Had some ambitious young admins TP themselves ridiculously far away.

Thanks for the prompt response!

from mcpe_viz.

Plethora777 avatar Plethora777 commented on September 27, 2024

Just pushed an update for v1.0. I looked at a fix for this issue, and unfortunately it's going to need some more thought. The dims of your world are larger than the limit for PNG images. We use PNG internally for all imagery. A work-around is possible but my initial thoughts on workarounds are pretty ugly :) I'm going to have to think about it a bit. Sorry!

from mcpe_viz.

cbos0503 avatar cbos0503 commented on September 27, 2024

Is there a way to run Viz and just have it render +-x, +-z blocks from the world spawn coordinates?

from mcpe_viz.

Plethora777 avatar Plethora777 commented on September 27, 2024

Yep that would be one way to handle it. I will ponder it. I suspect that most people use the helper app to run it on windows, so I'd like to come up with something cleaner / easier for the users.

from mcpe_viz.

cbos0503 avatar cbos0503 commented on September 27, 2024

Thanks. I really appreciate it. :)

from mcpe_viz.

nhoefer2 avatar nhoefer2 commented on September 27, 2024

Has there been any update on this or even a temporary workaround?

I have the same issue

from mcpe_viz.

nhoefer2 avatar nhoefer2 commented on September 27, 2024

I did some digging. This may or may not help:

png_set_user_limits(png, 0x7fffffffL, 0x7fffffffL);

https://linux.die.net/man/3/libpng

The PNG specification allows the width and height of an image to be as large as 2^31-1 (0x7fffffff), or about 2.147 billion rows and columns. Since very few applications really need to process such large images, we have imposed an arbitrary 1-million limit on rows and columns. Larger images will be rejected immediately with a png_error() call.

from mcpe_viz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.