Anastasia Klimchuk submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Stefan Reinauer: Looks good to me, approved
doc: Reduce size of images in docs

Since the docs are now in the tree, so are the images in docs.
The patch reduces the size of images to be under control: target
1024x768 and within 128Kb whenever possible (which is possible for
almost all of them).

The patch reduces the size of the tarball from ~10M to ~4.5M

Change-Id: I76768d94540f15d929537c73e232b035cf081c7b
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/85445
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
M doc/how_to_add_docs.rst
M doc/supported_hw/supported_prog/Buspirate_v3_back.jpg
M doc/supported_hw/supported_prog/Buspirate_v3_front.jpg
M doc/supported_hw/supported_prog/Dlp_usb1232h_bottom.jpg
M doc/supported_hw/supported_prog/Dlp_usb1232h_side.jpg
M doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_1.jpg
M doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_2.jpg
M doc/supported_hw/supported_prog/Ft2232spi_programer.jpg
D doc/supported_hw/supported_prog/Openmoko_0001.jpeg
A doc/supported_hw/supported_prog/Openmoko_0001.jpg
D doc/supported_hw/supported_prog/Openmoko_0002.jpeg
A doc/supported_hw/supported_prog/Openmoko_0002.jpg
D doc/supported_hw/supported_prog/Openmoko_0003.jpeg
A doc/supported_hw/supported_prog/Openmoko_0003.jpg
M doc/supported_hw/supported_prog/Via_epia_m700_bios.jpg
M doc/supported_hw/supported_prog/Via_epia_m700_programer.jpg
M doc/supported_hw/supported_prog/ft2232_spi.rst
M doc/user_docs/1200px-DIP_socket_as_SOIC_clip.jpg
M doc/user_docs/Amd_am29f010_tsop32.jpg
M doc/user_docs/Dip32_chip_back.jpg
M doc/user_docs/Dip32_in_socket.jpg
M doc/user_docs/Dip8_chip.jpg
M doc/user_docs/Dip_tool.jpg
M doc/user_docs/Dual_plcc32_soldered.jpg
M doc/user_docs/Empty_dip32_socket.jpg
M doc/user_docs/Empty_dip8_socket.jpg
M doc/user_docs/Empty_plcc32_socket.jpg
M doc/user_docs/Flash-BGA.jpg
M doc/user_docs/Plcc32_chip.jpg
M doc/user_docs/Plcc32_chip_back.jpg
M doc/user_docs/Plcc32_in_socket.jpg
M doc/user_docs/Plcc_tool.jpg
M doc/user_docs/Soic8_chip.jpg
M doc/user_docs/Soic8_socket_back.jpg
M doc/user_docs/Soic8_socket_front_closed.jpg
M doc/user_docs/Soic8_socket_half_opened.jpg
M doc/user_docs/Soic8_socket_open.jpg
M doc/user_docs/Soic8_socket_with_chip.jpg
M doc/user_docs/Soic8_socket_with_chip_inserted.jpg
M doc/user_docs/Soldered_plcc32.jpg
M doc/user_docs/Soldered_tsop40.jpg
M doc/user_docs/Soldered_tsop48.jpg
M doc/user_docs/Spi-socket-dscn2913-1024x768.jpg
M doc/user_docs/Sst_39vf040_tsop32.jpg
44 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/how_to_add_docs.rst b/doc/how_to_add_docs.rst
index ee99ce7..070b0e3 100644
--- a/doc/how_to_add_docs.rst
+++ b/doc/how_to_add_docs.rst
@@ -33,8 +33,8 @@

* We use CC-BY-4.0 license for documentation.
* Writing style can be formal or informal, it's mostly up to you, the
- important thing is to make the text clear, readable and unambiguous. You
- can insert images if this really helps the readers to understand the
- instructions.
+ important thing is to make the text clear, readable and unambiguous.
+* You can insert images if this really helps the readers to understand the
+ instructions. Please try to target size 1024x768 and within 128Kb whenever possible.
* Documentation should be relevant to either flashrom usage or flashrom
development
diff --git a/doc/supported_hw/supported_prog/Buspirate_v3_back.jpg b/doc/supported_hw/supported_prog/Buspirate_v3_back.jpg
index 3afb974..db0be72 100644
--- a/doc/supported_hw/supported_prog/Buspirate_v3_back.jpg
+++ b/doc/supported_hw/supported_prog/Buspirate_v3_back.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Buspirate_v3_front.jpg b/doc/supported_hw/supported_prog/Buspirate_v3_front.jpg
index 3c4fa9c..a179f7c 100644
--- a/doc/supported_hw/supported_prog/Buspirate_v3_front.jpg
+++ b/doc/supported_hw/supported_prog/Buspirate_v3_front.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Dlp_usb1232h_bottom.jpg b/doc/supported_hw/supported_prog/Dlp_usb1232h_bottom.jpg
index 5ebf9b7..643338d 100644
--- a/doc/supported_hw/supported_prog/Dlp_usb1232h_bottom.jpg
+++ b/doc/supported_hw/supported_prog/Dlp_usb1232h_bottom.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Dlp_usb1232h_side.jpg b/doc/supported_hw/supported_prog/Dlp_usb1232h_side.jpg
index 0a17f6e..23d6c31 100644
--- a/doc/supported_hw/supported_prog/Dlp_usb1232h_side.jpg
+++ b/doc/supported_hw/supported_prog/Dlp_usb1232h_side.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_1.jpg b/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_1.jpg
index 61a7a18..ac6f440 100644
--- a/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_1.jpg
+++ b/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_1.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_2.jpg b/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_2.jpg
index 92e143a..920bdb6 100644
--- a/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_2.jpg
+++ b/doc/supported_hw/supported_prog/Dlp_usb1232h_spi_programmer_breadboard_2.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Ft2232spi_programer.jpg b/doc/supported_hw/supported_prog/Ft2232spi_programer.jpg
index 84f618c..ff46ad5 100644
--- a/doc/supported_hw/supported_prog/Ft2232spi_programer.jpg
+++ b/doc/supported_hw/supported_prog/Ft2232spi_programer.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0001.jpeg b/doc/supported_hw/supported_prog/Openmoko_0001.jpeg
deleted file mode 100644
index 7ea7968..0000000
--- a/doc/supported_hw/supported_prog/Openmoko_0001.jpeg
+++ /dev/null
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0001.jpg b/doc/supported_hw/supported_prog/Openmoko_0001.jpg
new file mode 100644
index 0000000..73551ee
--- /dev/null
+++ b/doc/supported_hw/supported_prog/Openmoko_0001.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0002.jpeg b/doc/supported_hw/supported_prog/Openmoko_0002.jpeg
deleted file mode 100644
index be60d56..0000000
--- a/doc/supported_hw/supported_prog/Openmoko_0002.jpeg
+++ /dev/null
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0002.jpg b/doc/supported_hw/supported_prog/Openmoko_0002.jpg
new file mode 100644
index 0000000..aad1119
--- /dev/null
+++ b/doc/supported_hw/supported_prog/Openmoko_0002.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0003.jpeg b/doc/supported_hw/supported_prog/Openmoko_0003.jpeg
deleted file mode 100644
index 74109de..0000000
--- a/doc/supported_hw/supported_prog/Openmoko_0003.jpeg
+++ /dev/null
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Openmoko_0003.jpg b/doc/supported_hw/supported_prog/Openmoko_0003.jpg
new file mode 100644
index 0000000..36fd12a
--- /dev/null
+++ b/doc/supported_hw/supported_prog/Openmoko_0003.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Via_epia_m700_bios.jpg b/doc/supported_hw/supported_prog/Via_epia_m700_bios.jpg
index 6103838..3cc9f49 100644
--- a/doc/supported_hw/supported_prog/Via_epia_m700_bios.jpg
+++ b/doc/supported_hw/supported_prog/Via_epia_m700_bios.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/Via_epia_m700_programer.jpg b/doc/supported_hw/supported_prog/Via_epia_m700_programer.jpg
index bc69bcb..02c8f8b 100644
--- a/doc/supported_hw/supported_prog/Via_epia_m700_programer.jpg
+++ b/doc/supported_hw/supported_prog/Via_epia_m700_programer.jpg
Binary files differ
diff --git a/doc/supported_hw/supported_prog/ft2232_spi.rst b/doc/supported_hw/supported_prog/ft2232_spi.rst
index 8f87117..2d73fba 100644
--- a/doc/supported_hw/supported_prog/ft2232_spi.rst
+++ b/doc/supported_hw/supported_prog/ft2232_spi.rst
@@ -241,11 +241,11 @@
Pictures
--------

-.. image:: Openmoko_0001.jpeg
+.. image:: Openmoko_0001.jpg

-.. image:: Openmoko_0002.jpeg
+.. image:: Openmoko_0002.jpg

-.. image:: Openmoko_0003.jpeg
+.. image:: Openmoko_0003.jpg

Performances
------------
diff --git a/doc/user_docs/1200px-DIP_socket_as_SOIC_clip.jpg b/doc/user_docs/1200px-DIP_socket_as_SOIC_clip.jpg
index c3db692..f8c4f9c 100644
--- a/doc/user_docs/1200px-DIP_socket_as_SOIC_clip.jpg
+++ b/doc/user_docs/1200px-DIP_socket_as_SOIC_clip.jpg
Binary files differ
diff --git a/doc/user_docs/Amd_am29f010_tsop32.jpg b/doc/user_docs/Amd_am29f010_tsop32.jpg
index faf0982..ea26d1d 100644
--- a/doc/user_docs/Amd_am29f010_tsop32.jpg
+++ b/doc/user_docs/Amd_am29f010_tsop32.jpg
Binary files differ
diff --git a/doc/user_docs/Dip32_chip_back.jpg b/doc/user_docs/Dip32_chip_back.jpg
index f564505..279669d 100644
--- a/doc/user_docs/Dip32_chip_back.jpg
+++ b/doc/user_docs/Dip32_chip_back.jpg
Binary files differ
diff --git a/doc/user_docs/Dip32_in_socket.jpg b/doc/user_docs/Dip32_in_socket.jpg
index 38467a3..fdcc89e 100644
--- a/doc/user_docs/Dip32_in_socket.jpg
+++ b/doc/user_docs/Dip32_in_socket.jpg
Binary files differ
diff --git a/doc/user_docs/Dip8_chip.jpg b/doc/user_docs/Dip8_chip.jpg
index b1afb41..8a1a8e8 100644
--- a/doc/user_docs/Dip8_chip.jpg
+++ b/doc/user_docs/Dip8_chip.jpg
Binary files differ
diff --git a/doc/user_docs/Dip_tool.jpg b/doc/user_docs/Dip_tool.jpg
index 6063333..a223e1f 100644
--- a/doc/user_docs/Dip_tool.jpg
+++ b/doc/user_docs/Dip_tool.jpg
Binary files differ
diff --git a/doc/user_docs/Dual_plcc32_soldered.jpg b/doc/user_docs/Dual_plcc32_soldered.jpg
index 7d74251..e2e3153 100644
--- a/doc/user_docs/Dual_plcc32_soldered.jpg
+++ b/doc/user_docs/Dual_plcc32_soldered.jpg
Binary files differ
diff --git a/doc/user_docs/Empty_dip32_socket.jpg b/doc/user_docs/Empty_dip32_socket.jpg
index 0c44c3a..cac33c3 100644
--- a/doc/user_docs/Empty_dip32_socket.jpg
+++ b/doc/user_docs/Empty_dip32_socket.jpg
Binary files differ
diff --git a/doc/user_docs/Empty_dip8_socket.jpg b/doc/user_docs/Empty_dip8_socket.jpg
index 22e843b..1d76317 100644
--- a/doc/user_docs/Empty_dip8_socket.jpg
+++ b/doc/user_docs/Empty_dip8_socket.jpg
Binary files differ
diff --git a/doc/user_docs/Empty_plcc32_socket.jpg b/doc/user_docs/Empty_plcc32_socket.jpg
index acd20b1..5ce2d3e 100644
--- a/doc/user_docs/Empty_plcc32_socket.jpg
+++ b/doc/user_docs/Empty_plcc32_socket.jpg
Binary files differ
diff --git a/doc/user_docs/Flash-BGA.jpg b/doc/user_docs/Flash-BGA.jpg
index 2eb059b..cadbe92 100644
--- a/doc/user_docs/Flash-BGA.jpg
+++ b/doc/user_docs/Flash-BGA.jpg
Binary files differ
diff --git a/doc/user_docs/Plcc32_chip.jpg b/doc/user_docs/Plcc32_chip.jpg
index 3a0193a..165c4ff 100644
--- a/doc/user_docs/Plcc32_chip.jpg
+++ b/doc/user_docs/Plcc32_chip.jpg
Binary files differ
diff --git a/doc/user_docs/Plcc32_chip_back.jpg b/doc/user_docs/Plcc32_chip_back.jpg
index f016900..be2f43f 100644
--- a/doc/user_docs/Plcc32_chip_back.jpg
+++ b/doc/user_docs/Plcc32_chip_back.jpg
Binary files differ
diff --git a/doc/user_docs/Plcc32_in_socket.jpg b/doc/user_docs/Plcc32_in_socket.jpg
index 241794c..d65c3a6 100644
--- a/doc/user_docs/Plcc32_in_socket.jpg
+++ b/doc/user_docs/Plcc32_in_socket.jpg
Binary files differ
diff --git a/doc/user_docs/Plcc_tool.jpg b/doc/user_docs/Plcc_tool.jpg
index 3d3b801..5e3c458 100644
--- a/doc/user_docs/Plcc_tool.jpg
+++ b/doc/user_docs/Plcc_tool.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_chip.jpg b/doc/user_docs/Soic8_chip.jpg
index d103c7d..0cc766d 100644
--- a/doc/user_docs/Soic8_chip.jpg
+++ b/doc/user_docs/Soic8_chip.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_back.jpg b/doc/user_docs/Soic8_socket_back.jpg
index 49504e2..95b14bf 100644
--- a/doc/user_docs/Soic8_socket_back.jpg
+++ b/doc/user_docs/Soic8_socket_back.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_front_closed.jpg b/doc/user_docs/Soic8_socket_front_closed.jpg
index f6aebd5..5b0fcd2 100644
--- a/doc/user_docs/Soic8_socket_front_closed.jpg
+++ b/doc/user_docs/Soic8_socket_front_closed.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_half_opened.jpg b/doc/user_docs/Soic8_socket_half_opened.jpg
index f4d5730..b1fad9f 100644
--- a/doc/user_docs/Soic8_socket_half_opened.jpg
+++ b/doc/user_docs/Soic8_socket_half_opened.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_open.jpg b/doc/user_docs/Soic8_socket_open.jpg
index 69b4e74..53e585d 100644
--- a/doc/user_docs/Soic8_socket_open.jpg
+++ b/doc/user_docs/Soic8_socket_open.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_with_chip.jpg b/doc/user_docs/Soic8_socket_with_chip.jpg
index 322f638..effdcb1 100644
--- a/doc/user_docs/Soic8_socket_with_chip.jpg
+++ b/doc/user_docs/Soic8_socket_with_chip.jpg
Binary files differ
diff --git a/doc/user_docs/Soic8_socket_with_chip_inserted.jpg b/doc/user_docs/Soic8_socket_with_chip_inserted.jpg
index 37af90d..e730635 100644
--- a/doc/user_docs/Soic8_socket_with_chip_inserted.jpg
+++ b/doc/user_docs/Soic8_socket_with_chip_inserted.jpg
Binary files differ
diff --git a/doc/user_docs/Soldered_plcc32.jpg b/doc/user_docs/Soldered_plcc32.jpg
index 8a3a6cd..39a3ac1 100644
--- a/doc/user_docs/Soldered_plcc32.jpg
+++ b/doc/user_docs/Soldered_plcc32.jpg
Binary files differ
diff --git a/doc/user_docs/Soldered_tsop40.jpg b/doc/user_docs/Soldered_tsop40.jpg
index 1fcf2ef..24e1ec6 100644
--- a/doc/user_docs/Soldered_tsop40.jpg
+++ b/doc/user_docs/Soldered_tsop40.jpg
Binary files differ
diff --git a/doc/user_docs/Soldered_tsop48.jpg b/doc/user_docs/Soldered_tsop48.jpg
index 3df63ee..11782c7 100644
--- a/doc/user_docs/Soldered_tsop48.jpg
+++ b/doc/user_docs/Soldered_tsop48.jpg
Binary files differ
diff --git a/doc/user_docs/Spi-socket-dscn2913-1024x768.jpg b/doc/user_docs/Spi-socket-dscn2913-1024x768.jpg
index 3b20ae0..9e3392f 100644
--- a/doc/user_docs/Spi-socket-dscn2913-1024x768.jpg
+++ b/doc/user_docs/Spi-socket-dscn2913-1024x768.jpg
Binary files differ
diff --git a/doc/user_docs/Sst_39vf040_tsop32.jpg b/doc/user_docs/Sst_39vf040_tsop32.jpg
index beefeba..f3802e0 100644
--- a/doc/user_docs/Sst_39vf040_tsop32.jpg
+++ b/doc/user_docs/Sst_39vf040_tsop32.jpg
Binary files differ

To view, visit change 85445. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I76768d94540f15d929537c73e232b035cf081c7b
Gerrit-Change-Number: 85445
Gerrit-PatchSet: 4
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>