fhanau / Efficient-Compression-Tool

Fast and effective C++ file optimizer
Apache License 2.0
596 stars 41 forks source link

Possible to disable JPEG support #81

Closed ghuls closed 2 years ago

ghuls commented 4 years ago

Hi,

Would it be possible to disable JPEG support when compiling ECT? As I don't need it and nasm is not installed.

fhanau commented 4 years ago

So far, I assumed this would not be a significant issue. While the vast majority of development effort was spent on Deflate/PNG, I think it's still nice to also have high-performance JPEG optimization within the same tool, and the overhead in terms of binary size/compilation time is small.

If it is difficult to install nasm in the development environment you are using, I'll consider it.