Code Monkey home page Code Monkey logo

Comments (6)

nesrak1 avatar nesrak1 commented on August 20, 2024

I need a little bit more information to go off of.

How big is the image? What format is it? (you can check in the texture edit plugin) Does it crash with smaller images as well?

from uabea.

mskgroup avatar mskgroup commented on August 20, 2024

Size: 16777336
it's png
There is another problem. I don’t know where to put textoolwrap, so the exported pictures are garbled
1

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

For size and file format I don't mean the file size or the format you're exporting, rather the texture dimensions and format. For example, 4096x4096 and DXT5 format. Again, you can find these in the edit texture plugin window.

Anyway, I figure if you're getting any image output, it's dxt since it's the only one not native. I realize that rgba is flipped (since that decoder is supposed to be used with c# bitmap, no imagesharp). But there shouldn't be visible blocks, so something else is going wrong.

from uabea.

mskgroup avatar mskgroup commented on August 20, 2024

4096*4096 alpha8
屏幕截图 2021-04-30 161253

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

The first image is a 1024x512 image, so I think this 4096x4096 image is something else.

For DXT images like the first image you posted, this bug has been fixed. I made a mistake where c++ and c# were both trying to convert from DXT. For everything else like Alpha8 in your second screenshot, that all uses pvrtexlib right now. You need to copy both textoolwrap64.dll and pvrtexlib/windows_x86_64/pvrtexlib.dll from textoolwrap.7z to the same folder as UABEAvalonia.exe, and then rename textoolwrap64.dll to textoolwrap.dll.

Anyway, I'm still working on the plugin, this is not a release and still needs a lot of testing still so don't expect anything to work well.

from uabea.

mskgroup avatar mskgroup commented on August 20, 2024

The latest version does not crash when I try to export a 4096*4096 picture

from uabea.

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.