mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
This version is really barebone as it does not support colors (only black and white) or animated images.
21 lines
357 B
C++
21 lines
357 B
C++
/*
|
|
* Copyright (c) 2024, Lucas Chollet <lucas.chollet@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Error.h>
|
|
#include <LibGfx/Forward.h>
|
|
|
|
namespace Gfx {
|
|
|
|
// Specified at: https://www.w3.org/Graphics/GIF/spec-gif89a.txt
|
|
|
|
class GIFWriter {
|
|
public:
|
|
static ErrorOr<void> encode(Stream&, Bitmap const&);
|
|
};
|
|
|
|
}
|