-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (31 loc) · 1.39 KB
/
README
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
42
43
44
45
jpegblur - "lossless" "blurring" of regions in JPEG image
=========================================================
jpegblur is a program to blur regions of a JPEG image while minimising
changes in the image file.
jpegblur takes bounding boxes from command line and returns a JPEG
image with those regions blurred. It does this in DCT space thus
avoiding the introduction of new compression artefacts outside the
blurred region. The blurring approach is the same as the one
described in [Yang et al, 2021](https://arxiv.org/abs/2103.06191).
jpegblur also preserves all metadata by copying all extra markers,
similar to jpegtran, a program distributed with libjpeg for lossless
transformation of JPEG files.
The purpose of this program is to redact Personally Identifiable
Information (PII) while avoiding any other changes to the image file.
Do note that there may be PII on the metadata and it will be copied
across untouched. Some other tool can be used to inspect the
metadata.
Usage
-----
jpegblur [x0,x1,y0,y1 ...] < input.jpg > output.jpg
See the source code for a man page style documentation.
Build
-----
You should install this from release sources and follow the standard
autotools dance of:
./configure
make
make install
There is also a `Dockerfile` available.
If you want to build from development sources or get involved into its
development, take a peek at the `HACKING` file.