Giter Club home page Giter Club logo

crunch2's People

Contributors

alexander-suvorov avatar bagnell avatar dolcetriade avatar gimhael avatar illwieckz avatar intelligide avatar leandros avatar nwnk avatar richgel999 avatar slipher avatar tomerb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cryptosebek

crunch2's Issues

BMP 24bit or 32bit(i.e. with alpha) source doesn't work

BMP source file format doesn't work, but after conversion of file from BMP to TGA, it works. BMP format is listed as supported, so why is it not supported ?

C:\Programs\Crunch2\bin>crunch -file 0101.bmp -fileformat dds -dxt3
crunch - Advanced DXTn Texture Compressor - https://github.com/FrozenStormInteractive/Crunch2

Copyright (c) 2010-2016 Richard Geldreich, Jr. and Binomial LLC
Copyright (c) 2020-2021 FrozenStorm Interactive, Yoann Potinet

crnlib version 1.2.0 x64 Built Jun 1 2021, 20:13:36

Reading source texture: "0101.bmp"
Error: Failed loading image file

Exit status: 1

C:\Programs\Crunch2\bin>crunch -file 0101.tga -fileformat dds -dxt3
crunch - Advanced DXTn Texture Compressor - https://github.com/FrozenStormInteractive/Crunch2

Copyright (c) 2010-2016 Richard Geldreich, Jr. and Binomial LLC
Copyright (c) 2020-2021 FrozenStorm Interactive, Yoann Potinet

crnlib version 1.2.0 x64 Built Jun 1 2021, 20:13:36

Reading source texture: "0101.tga"
Texture successfully loaded in 0.236s
Source texture: 4096x4096, Levels: 1, Faces: 1, Format: R8G8B8
Apparent type: 2D map, Flags: R G B Non-Flipped
Generating mipmaps using filter "kaiser"
Generated 12 mipmap levels in 3.310s
Converting texture format from R8G8B8 to DXT3
Processing: 100%
Texture format conversion took 12.150s
Writing texture to file: "0101.dds"

Texture successfully written in 12.185s
Texture successfully processed in 15.518s
Input texture: 4096x4096, Levels: 1, Faces: 1, Format: R8G8B8
Input pixels: 16777216, Input file size: 50331666, Input bits/pixel: 24.000
Output texture: 4096x4096, Levels: 13, Faces: 1, Format: DXT3
Output pixels: 22369621, Output file size: 22369776, Output bits/pixel: 8.000

Total time: 15.838s
1 total file(s) successfully processed, 0 file(s) skipped, 0 file(s) failed.

Exit status: 0

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.