aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/cheat/image
blob: c531f160981ca074fd9e18228c513b9850b10c59 (plain)
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
# Prepare image for the web with gimp

Resources:
- https://docs.gimp.org/en/gimp-using-web.html
- https://logosbynick.com/gimp-reduce-file-size-png/

## Optimize color palette

Image > Mode > Indexed

Check generate optimum palette with 35 value (255 is the default) then click on
Convert

## Lower resolution

Image > Scale

Set witch to 700 and then click on Scale

## Remove alpha chanel

Remove Alpha channel by flattering the image (Image -> Flatten Image)

## Save

Save in PNG format with uncheck all and best compression

Don't forget to check if the final image is ok with what you want