AK: Remove Statistics.h

This also removes MedianCut and GIFWriter
This commit is contained in:
Pavel Shliak
2024-12-05 03:19:36 +04:00
committed by Alexander Kalenik
parent ae6edfb845
commit ede0dbafc6
13 changed files with 0 additions and 845 deletions

View File

@@ -8,7 +8,6 @@
#include <LibCore/File.h>
#include <LibCore/MappedFile.h>
#include <LibGfx/ImageFormats/AnimationWriter.h>
#include <LibGfx/ImageFormats/GIFWriter.h>
#include <LibGfx/ImageFormats/ImageDecoder.h>
#include <LibGfx/ImageFormats/WebPWriter.h>
@@ -50,8 +49,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto animation_writer = TRY([&]() -> ErrorOr<NonnullOwnPtr<Gfx::AnimationWriter>> {
if (options.out_path.ends_with(".webp"sv))
return Gfx::WebPWriter::start_encoding_animation(*output_stream, decoder->size(), decoder->loop_count());
if (options.out_path.ends_with(".gif"sv))
return Gfx::GIFWriter::start_encoding_animation(*output_stream, decoder->size(), decoder->loop_count());
return Error::from_string_literal("Unable to find a encoder for the requested extension.");
}());