Comments (1)
Unfortunately, it's impossible to recover SVG files used to import textures; they're converted to raster images upon import into the Godot project, and the vector data is not present in the imported texture.
I spent quite a bit of time seeing if there would be a way around this (e.g. hacking a SVG file to just contain a reference to an exported raster image), but Godot's SVG importer is limited and doesn't support any of the hacks that would allow this.
Additionally, automated vectorization of raster images with the available open-source tools is pretty dicey and, in my experience, you will almost always end up with something that doesn't look like the original. If you DO find an open-source tool that provides consistent accuracy, let me know.
GDRE Tools DOES export a PNG of the rasterized SVG texture in the .assets directory when it encounters them. If you are encountering errors because a script can't find the texture resource, a workaround for this would be to copy that back to the original directory and renaming all references to ".svg" to ".png"
from gdsdecomp.
Related Issues (20)
- GUI Error? (Mac) HOT 10
- Common issues with using GDRE tools in GUI mode
- cant interact with any button in menu HOT 4
- Cant pick a file after clicking, "Recover Project" HOT 7
- Na HOT 4
- Convert stream textures to PNG not working HOT 6
- Help me HOT 2
- USER ERROR: Index p_index = 0 is out of bounds (size() = 0). HOT 6
- this project saved my entire game HOT 1
- Some scenes with external resources are partially converted HOT 3
- Support Sonic Colors Ultimate
- Crash when attempting to open .pck for The Interactive Adventures of Dog Mendonça & Pizzaboy® HOT 9
- Suggestion: moving visual controls from .cpp to .gd + .tscn HOT 1
- Just add "unpack.bat" with the single line "gdre_tools.exe --recover=Brotato.pck" HOT 1
- xx.png.xxx.etc2.stex cannot recover to png file HOT 8
- feature:GUI->resources-> convert mp3str to mp3 HOT 1
- Can you recreate the .exe directly? HOT 2
- Not starting HOT 14
- How convert .atlas file HOT 5
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 gdsdecomp.