Closed dinosaure closed 1 year ago
Currently, the last version of Bob handles the option --mime-type
and we consider video
, image
and audio
as elements that we should not try to compress. We probably can do something smarter than that but it's an initial improvement.
@gasche explained a good idea to solve the initiale issue: how to let Bob to recognize when it should compress or not a document. We still don't want to introspect the given document and recognize its MIME type but we can let the user to give such information and, from that, decide to compress or not the document. An usage will be:
Internally, we will have a set of MIME types which should not be compressed (like images or videos).