mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 05:54:59 +00:00

The patch also contains modifications on several classes, functions or files that are related to the `JPGLoader`. Renaming include: - JPGLoader{.h, .cpp} - JPGImageDecoderPlugin - JPGLoadingContext - JPG_DEBUG - decode_jpg - FuzzJPGLoader.cpp - Few string literals or texts
23 lines
456 B
Markdown
23 lines
456 B
Markdown
## Name
|
|
|
|
image2bin - convert an image to a binary bitmap
|
|
|
|
## Synopsis
|
|
|
|
```**sh
|
|
$ image2bin <path-to-image>
|
|
```
|
|
|
|
## Description
|
|
|
|
`image2bin` uses LibGfx to decode a specified image to a raw bitmap, so it could be stored
|
|
in a raw binary format for further examination.
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
# Convert a PNG image to raw bitmap
|
|
$ image2bin example.png > example.bin
|
|
# Convert a JPEG image to raw bitmap
|
|
$ image2bin another_example.jpg > another_example.bin
|
|
```
|