-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimised images #394
Optimised images #394
Conversation
*Total -- 13,787.10kb -> 12,422.59kb (9.9%) /src/img/checkpoint_4.png -- 8.50kb -> 3.81kb (55.2%) /src/img/checkpoint_1.png -- 10.94kb -> 5.67kb (48.13%) /src/img/checkpoint_3.png -- 10.93kb -> 5.72kb (47.68%) /src/img/checkpoint_2.png -- 5.89kb -> 3.30kb (44.01%) /src/img/keylengths_com.png -- 119.16kb -> 74.25kb (37.69%) /presentations/HACK.LU-2014/presentation/img/logo_cert_at.png -- 28.10kb -> 17.99kb (36%) /presentations/HACK.LU-2014/presentation/img/xkcd-TLA.png -- 173.87kb -> 114.36kb (34.23%) /presentations/HACK.LU-2014/presentation/img/logo_cert_pt.png -- 1.95kb -> 1.29kb (33.73%) /presentations/HACK.LU-2014/presentation/img/mining-ps-and-qs.png -- 117.21kb -> 78.01kb (33.44%) /src/img/IISCryptoConfig.png -- 70.65kb -> 48.56kb (31.27%) /presentations/HACK.LU-2014/presentation/img/neboltai.png -- 882.76kb -> 701.32kb (20.55%) /presentations/HACK.LU-2014/presentation/img/openssl-s_client.png -- 472.24kb -> 387.69kb (17.9%) /presentations/HACK.LU-2014/presentation/img/variantBcompatibility.png -- 409.76kb -> 336.72kb (17.83%) /presentations/HACK.LU-2014/presentation/img/ssllabs.png -- 166.10kb -> 136.86kb (17.61%) /presentations/HACK.LU-2014/presentation/img/logo_enisa.jpg -- 55.58kb -> 46.58kb (16.18%) /presentations/HACK.LU-2014/presentation/img/ssllabs2.png -- 315.08kb -> 264.95kb (15.91%) /presentations/HACK.LU-2014/presentation/img/navajo.jpg -- 74.83kb -> 63.56kb (15.06%) /presentations/HACK.LU-2014/presentation/img/keylengths.png -- 325.14kb -> 276.35kb (15.01%) /presentations/HACK.LU-2014/presentation/img/sslscan.png -- 392.04kb -> 334.36kb (14.71%) /presentations/HACK.LU-2014/presentation/img/ssllabs3.png -- 622.99kb -> 535.44kb (14.05%) /presentations/HACK.LU-2014/presentation/img/exampleApache-rewrite.png -- 83.82kb -> 73.36kb (12.47%) /presentations/HACK.LU-2014/presentation/img/exampleApache.png -- 348.92kb -> 307.03kb (12.01%) /presentations/HACK.LU-2014/presentation/img/variantB.png -- 622.51kb -> 554.95kb (10.85%) /presentations/HACK.LU-2014/presentation/img/variantA.png -- 221.41kb -> 199.56kb (9.87%) /presentations/HACK.LU-2014/presentation/img/confused.png -- 162.17kb -> 147.68kb (8.94%) /presentations/HACK.LU-2014/presentation/img/metalab-world-domination.jpg -- 1,964.67kb -> 1,818.18kb (7.46%) /presentations/HACK.LU-2014/presentation/img/rusty_tools.jpg -- 2,980.85kb -> 2,798.65kb (6.11%) /presentations/HACK.LU-2014/presentation/img/mary.jpg -- 20.28kb -> 19.12kb (5.69%) /presentations/HACK.LU-2014/presentation/img/neboltai.jpeg -- 176.91kb -> 167.57kb (5.28%) /presentations/HACK.LU-2014/presentation/img/enigma.jpg -- 75.06kb -> 72.04kb (4.02%) /presentations/HACK.LU-2014/presentation/img/scytale.png -- 104.79kb -> 102.23kb (2.44%) /src/neboltai.jpg -- 674.10kb -> 658.69kb (2.29%) /presentations/HACK.LU-2014/presentation/img/medical-test.jpg -- 38.04kb -> 37.21kb (2.19%) /presentations/HACK.LU-2014/presentation/img/nsa.png -- 2,049.89kb -> 2,029.55kb (0.99%) Signed-off-by: ImgBotApp <[email protected]>
[ImgBot] Optimize images
*Total -- 33,047.14kb -> 29,785.64kb (9.87%) /presentations/troopers16/img/github.png -- 75.62kb -> 29.73kb (60.68%) /presentations/troopers16/img/sslyze-scan-sample2.png -- 196.89kb -> 110.65kb (43.8%) /presentations/org-training/img/sslyze-scan-sample2.png -- 196.89kb -> 110.65kb (43.8%) /presentations/org-training/img/sslyze-scan-sample1.png -- 90.72kb -> 51.28kb (43.48%) /presentations/troopers16/img/sslyze-scan-sample1.png -- 90.72kb -> 51.28kb (43.48%) /src/img/ach_ironport_ssl_settings.png -- 10.04kb -> 5.92kb (41.06%) /presentations/org-training/img/xkcd-TLA.png -- 173.87kb -> 114.36kb (34.23%) /presentations/troopers16/img/xkcd-TLA.png -- 173.87kb -> 114.36kb (34.23%) /src/img/ach_ironport_listener_cert.png -- 13.09kb -> 8.62kb (34.12%) /presentations/troopers16/img/mining-ps-and-qs.png -- 117.21kb -> 78.01kb (33.44%) /presentations/org-training/img/mining-ps-and-qs.png -- 117.21kb -> 78.01kb (33.44%) /presentations/troopers16/img/SSLLabs_bettercrypto_org.png -- 90.48kb -> 67.37kb (25.55%) /presentations/org-training/img/SSLLabs_bettercrypto_org.png -- 90.48kb -> 67.37kb (25.55%) /presentations/org-training/img/neboltai.png -- 882.76kb -> 701.32kb (20.55%) /presentations/troopers16/img/neboltai.png -- 882.76kb -> 701.32kb (20.55%) /src/img/ach_ironport_mail_flow_tls.png -- 14.36kb -> 11.60kb (19.22%) /presentations/troopers16/img/openssl-s_client.png -- 472.24kb -> 387.69kb (17.9%) /presentations/org-training/img/openssl-s_client.png -- 472.24kb -> 387.69kb (17.9%) /presentations/org-training/img/variantBcompatibility.png -- 409.76kb -> 336.72kb (17.83%) /presentations/troopers16/img/variantBcompatibility.png -- 409.76kb -> 336.72kb (17.83%) /presentations/org-training/img/ssllabs.png -- 166.10kb -> 136.86kb (17.61%) /presentations/troopers16/img/ssllabs.png -- 166.10kb -> 136.86kb (17.61%) /src/img/ach_ironport_dest_control.png -- 15.23kb -> 12.80kb (15.95%) /presentations/org-training/img/ssllabs2.png -- 315.08kb -> 264.95kb (15.91%) /presentations/troopers16/img/ssllabs2.png -- 315.08kb -> 264.95kb (15.91%) /presentations/org-training/img/navajo.jpg -- 74.83kb -> 63.56kb (15.06%) /presentations/troopers16/img/navajo.jpg -- 74.83kb -> 63.56kb (15.06%) /presentations/troopers16/img/keylengths.png -- 325.14kb -> 276.35kb (15.01%) /presentations/org-training/img/keylengths.png -- 325.14kb -> 276.35kb (15.01%) /presentations/org-training/img/sslscan.png -- 392.04kb -> 334.36kb (14.71%) /presentations/troopers16/img/sslscan.png -- 392.04kb -> 334.36kb (14.71%) /presentations/org-training/img/ssllabs3.png -- 622.99kb -> 535.44kb (14.05%) /presentations/troopers16/img/ssllabs3.png -- 622.99kb -> 535.44kb (14.05%) /presentations/troopers16/img/exampleApache-rewrite.png -- 83.82kb -> 73.36kb (12.47%) /presentations/org-training/img/exampleApache-rewrite.png -- 83.82kb -> 73.36kb (12.47%) /presentations/troopers16/img/exampleApache.png -- 348.92kb -> 307.03kb (12.01%) /presentations/org-training/img/exampleApache.png -- 348.92kb -> 307.03kb (12.01%) /presentations/troopers16/img/variantB.png -- 622.51kb -> 554.95kb (10.85%) /presentations/org-training/img/variantB.png -- 622.51kb -> 554.95kb (10.85%) /presentations/troopers16/img/variantA.png -- 221.41kb -> 199.56kb (9.87%) /presentations/org-training/img/variantA.png -- 221.41kb -> 199.56kb (9.87%) /presentations/troopers16/img/confused.png -- 162.17kb -> 147.68kb (8.94%) /presentations/org-training/img/confused.png -- 162.17kb -> 147.68kb (8.94%) /presentations/troopers16/img/Klaus_Landefeld.jpg -- 12.37kb -> 11.29kb (8.78%) /presentations/org-training/img/Klaus_Landefeld.jpg -- 12.37kb -> 11.29kb (8.78%) /presentations/troopers16/img/wrap-up.jpg -- 701.24kb -> 647.09kb (7.72%) /presentations/org-training/img/wrap-up.jpg -- 701.24kb -> 647.09kb (7.72%) /presentations/troopers16/img/metalab-world-domination.jpg -- 1,964.67kb -> 1,818.18kb (7.46%) /presentations/org-training/img/metalab-world-domination.jpg -- 1,964.67kb -> 1,818.18kb (7.46%) /presentations/troopers16/img/rusty_tools.jpg -- 2,980.85kb -> 2,798.65kb (6.11%) /presentations/org-training/img/rusty_tools.jpg -- 2,980.85kb -> 2,798.65kb (6.11%) /presentations/troopers16/img/testing.jpg -- 2,604.43kb -> 2,451.28kb (5.88%) /presentations/org-training/img/testing.jpg -- 2,604.43kb -> 2,451.28kb (5.88%) /presentations/troopers16/img/mary.jpg -- 20.28kb -> 19.12kb (5.69%) /presentations/org-training/img/mary.jpg -- 20.28kb -> 19.12kb (5.69%) /presentations/troopers16/img/neboltai.jpeg -- 176.91kb -> 167.57kb (5.28%) /presentations/org-training/img/neboltai.jpeg -- 176.91kb -> 167.57kb (5.28%) /presentations/troopers16/img/enigma.jpg -- 75.06kb -> 72.04kb (4.02%) /presentations/org-training/img/enigma.jpg -- 75.06kb -> 72.04kb (4.02%) /presentations/org-training/img/scytale.png -- 104.79kb -> 102.23kb (2.44%) /presentations/troopers16/img/scytale.png -- 104.79kb -> 102.23kb (2.44%) /presentations/org-training/img/nsa.png -- 2,049.89kb -> 2,029.55kb (0.99%) /presentations/troopers16/img/nsa.png -- 2,049.89kb -> 2,029.55kb (0.99%) Signed-off-by: ImgBotApp <[email protected]>
[ImgBot] Optimize images
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the need for this commit? You're changing a total of 97 files. I agree that there's always better compression algorithms for images. But this was clearly autmated and unless two people check the image integrity and quality against the original for all affected files, I do not see any way to get this PR merged. I can also not think of any improvement to the PR you could do for it to be more attractive to be merged.
See my review above this message. ^ Furthermore this Pull Request contains no information or text as to the intent of the author. Nor any comparison regarding build speed of the document or space saved on-disk (which nowadays is trivial with a few percent of compression more or less) nor the effect the post-processing has on the image quality and hence the quality of the document over all. I'm sorry, I am sure you meant to help out here, but this isn't the right way to go about it. It will just create a lot more work for two or three additional reviewers that need to go through every change you've proposed, build the document, check it against the original etc. - you may want to take a look at the Linux Kernel Documentation [0], they wrote an excellent guide on how to contribute to their project in a meaningful way. Many of the discussed topics therein are universally relevant when it comes to Free / Open Source Software Projects.
Here we're quite fast compared to that. For Linux this can take 6-10 attempts until the patch set is accepted, and every single attempt had to be reworked. In the end it might need to be re-worked again due to performance issues or unforeseen bugs / opinions from Linux Developers. I'm for halting working on this PR for the time being. Without manual review of all affected files and local builds to make sure nothing was corrupted we can't merge such a huge change on the fly. Please take care not to merge this automatically by accident. @sebix @aaronkaplan - what do you guys think? [0] - If that picked your interest the entire process is well documented in it's entirety over at kernel.org in the section on working with the kernel development community. Although most - but not all - F/OSS projects are similar in that regard. |
I think we need to re-do the whole guide from scratch anyway, with TLS1.3+ being the focus. |
The size decrease is significant and there was no visible quality decrease in the samples that I had a look at. While we are not running low on disk size or bandwidth, I'm in favour of efficiency but I agree that every image needs to be compared of course. |
Of course it was automated, who would re-compress so many images manually? And I don't think that @ZephrFish is a bot, but this PR was with created good intent and I must also say that appreciate the initiative that he has even be looking a the guide, recognized the potential for a small change and took the effort to create a PR. He could have just ignored that project because it seems outdated or alike. |
Look, I asked for further input because there was no PR description and
gave some directions. If you other people are willing to check all changed
files and see no clear negative impact I'm Ok merging it in theory. I'm
general I'm more comfortable keeping picture originals, especially if
they've been copied from or by third parties. We'd also need to check
licenses as some licenses do not allow for modifications.
Because Pictures are one of the very few things in this project that are in
encoded format it's much easier hiding data or exploits in them - I don't
think this is likely the case with this PR - but there's been no reason
given or description of the pull request provided for the proposed changes.
Nor any in depth review been performed due to the work involved. Was
metadata at least checked @Sepix?
This seems like a nice gesture but I agree that there are more urgent
things to work and discuss on regarding this guide. A major one being the
accuracy to date and the usefulness of big portions of the document -
current defaults shipped with software are usually better than our
recommendations from 2013-15.
…On Mon 27. Sep 2021 at 00:10, Sebastian ***@***.***> wrote:
But this was clearly autmated
Of course it was automated, who would re-compress so many images manually?
And I don't think that @ZephrFish <https://github.com/ZephrFish> is a
bot, but this PR was with created good intent and I must also say that
appreciate the initiative that he has even be looking a the guide,
recognized the potential for a small change and took the effort to create a
PR. He could have just ignored that project because it seems outdated or
alike.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#394 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGQ2SMHGFOPJ22RL3DDP7LUD6K6VANCNFSM5AMS4LNQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Modification of licensed material is a good point, but conversions - and I consider optimisations for presentational reasons (web, print=PDF, ebook, manpage...) part of that, is covered by e.g. CC BY ND: https://creativecommons.org/faq/#when-is-my-use-considered-an-adaptation I agree that keeping the originals in the repo and applying optimisations during build is much more transparent.
I absolutely agree but I don't want to complain but a few years ago a group invested a lot of time with the asciidoc migration to make contributions and maintenance/updates easier and later I worked on a cross-check #387 but there was literally no other help or feedback ;) |
No description provided.