-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpngdump.1
41 lines (41 loc) · 915 Bytes
/
pngdump.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.\" $OpenBSD: mdoc.template,v 1.15 2014/03/31 00:09:54 dlg Exp $
.\"
.\" Copyright (c) 2023 Tristan Le Guern <[email protected]>
.\"
.Dd $Mdocdate$
.Dt PNGDUMP 1
.Os
.Sh NAME
.Nm pngdump
.Nd dump chunks from PNG images
.Sh SYNOPSIS
.Nm
.Op Fl su
.Op Fl o Ar offset
.Op Fl f Ar file
.Ar chunk
.Sh DESCRIPTION
The
.Nm
utility dumps arbitrary chunk from a given PNG image or standard input.
If no file is supplied using
.Fl f
then standard input is read.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl f
Specifies the PNG file instead of reading from stdin.
.It Fl o
Specifies the number of bytes to skip at the begining of the data part.
.It Fl s
Skip the first bytes until a valid PNG signature is found or the end of file.
This is useful to pipe after a call to
.Xr curl .
.It Fl u
Uncompress the data part.
.Sh AUTHORS
The
.Nm
utility was written by
.An Tristan Le Guern Aq Mt [email protected] .