Comments (2)
It's not really said anywhere in the documentation, but the command line tool takes png images as input. Other formats seem to be supported if you compile the tool with stbimage support:
etc2comp/EtcLib/Etc/EtcConfig.h
Line 58 in aecc84f
Haven't tried that though.
Also it's a shame but this project seems to be pretty much abandoned.
from etc2comp.
Yes, I was able to run EAC_RG11 and use a png file. Colt knows his compression, and has some great books and articles that were probably inspired by this work. I was just hesitant to pull the source and build it without that. There's a nice easy flow with png in and ktx out.
I feel like with S3TC now off patent, that all of these unnecessarily complex and inconsistent mobile formats just need to get replaced and we go back to DXT everywhere. ASTC is no simpler, but the ETC default compressor is unusable slow. How can a company push a compression format, and then release a compressor that bad to encourage it's use.
For a 1024x1024 image with mips, the times are really good. The times seem much more reasonable. This would be (4 + 1.3 = 5.3MB) without compressed textures. These were the sizes produced.
R - 0.7MB
RG - 1.4MB
RGB - 0.7MB
RGBA - 1.4MB
from etc2comp.
Related Issues (20)
- Make sure Colt McAnlis properly reads issues before closing them HOT 16
- Block should not know Image
- Which format? HOT 1
- Compressing normalmaps HOT 1
- Not all mipmap levels are generated for non-square images HOT 3
- -output flag not handling paths with spaces HOT 1
- Hardcoded include paths that do not make sense in windows
- how to improve compression speed HOT 5
- Default number of jobs is not correct
- Compressing small images (8x8 px png file)
- Mipmaps as input other than generating automatically
- assert() abort with ETC2A1 & RGBX
- Math-related error while building with vcpkg
- Near-infinite compression time on some textures. HOT 2
- Arm64 support
- EtcTool encoded sRGB(A) textures don't match source PNG. HOT 3
- R11 and RG11 seem to be computing data as 8-bits instead of 11-bit data.
- How to output pkm? HOT 1
- Memory leak of m_paucEncodingBits in Etc::Image HOT 1
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 etc2comp.