Comments (6)
Nah, it's trying to access the image like it's an RGB index. But i can overcome this issue by just convert the image to RGB space on load
from versatile.
It looks like the problem is the indexed image format. Can you upload a reference image with which this crash happens?
from versatile.
Ok, you're absolutely right, it's the indexing that's the problem. Here's my indexed .png that triggers the issue:
and here I've converted it into 32-bit RGBA, which works fine, preview is ok, no segfault, can use it in editor:
Looks like it's trying to load the indexed image as if it was RGB.
from versatile.
fantastic, thank you
from versatile.
Should be resolved with 2106a52. Would be nice if you could check if it works now... ;)
from versatile.
I confirm 2106a52 works as expected with indexed image
P.S.: QColor::setRgb: RGB parameters out of range
still appears in the console.
from versatile.
Related Issues (20)
- Custom Sprite Sheet Files HOT 4
- Nomenclature: Sprite vs. Tile HOT 2
- Improve Ground Display HOT 1
- Make option for autoflipping grid HOT 1
- Add action to recenter camera on currently selected tile HOT 1
- Adds customizable controls
- Add option dialog HOT 1
- Add UI button to reset insert mode and go into edit mode HOT 1
- Add option to update texture HOT 1
- Fix camera movement HOT 1
- Add "drag'n'put"
- Add option to show coordianate axis and camera focus HOT 1
- Another example texture HOT 5
- Fix export HOT 3
- Improve tileset options HOT 4
- Change the way tilesets with margin/padding are handled
- Rendering artefacts on ground tiles HOT 4
- Move position of vertices along plane of sprite, and UV coordinates
- Builds for Linux HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from versatile.