Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: auto compress images #4686

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

Merged
yanglbme merged 1 commit into main from create-pull-request/patch-1756686867
Sep 1, 2025
Merged

Conversation

Copy link
Contributor

@github-actions github-actions bot commented Sep 1, 2025

Images automagically compressed by Calibre's image-actions

Compression reduced images by 16%, saving 208.2 KB.

Filename Before After Improvement
solution/3500-3599/3548.Equal Sum Grid Partition II/images/1746840111-gqGlwe-chatgpt-image-apr-1-2025-at-05_28_12-pm.png 116.4 KB 6.9 KB 94.1%
solution/1200-1299/1226.The Dining Philosophers/images/an_illustration_of_the_dining_philosophers_problem.png 169.1 KB 157.5 KB 6.8%
solution/2800-2899/2812.Find the Safest Path in a Grid/images/example3.png 66.7 KB 57.2 KB 14.3%
lcp/LCP 70. 沙地治理/images/1662692503-ncjywh-image.png 81.6 KB 75.4 KB 7.5%
solution/3100-3199/3100.Water Bottles II/images/example231.png 33.0 KB 28.4 KB 14.0%
solution/0000-0099/0038.Count and Say/images/1629874763-TGmKUh-image.png 25.2 KB 21.2 KB 16.1%
solution/1400-1499/1444.Number of Ways of Cutting a Pizza/images/ways_to_cut_apple_1.png 47.2 KB 44.1 KB 6.6%
lcof2/剑指 Offer II 105. 岛屿的最大面积/images/1626667010-nSGPXz-image.png 28.3 KB 25.2 KB 10.9%
solution/2000-2099/2013.Detect Squares/images/image.png 27.3 KB 24.6 KB 10.0%
solution/0500-0599/0558.Logical OR of Two Binary Grids Represented as Quad-Trees/images/qt2.png 45.8 KB 43.3 KB 5.5%
solution/1700-1799/1751.Maximum Number of Events That Can Be Attended II/images/screenshot-2021年01月11日-at-60703-pm.png 6.7 KB 4.6 KB 31.5%
solution/3100-3199/3100.Water Bottles II/images/exampleone1.png 24.2 KB 22.2 KB 8.4%
solution/0900-0999/0909.Snakes and Ladders/images/snakes.png 35.7 KB 33.8 KB 5.5%
solution/1400-1499/1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree/images/leetcode_testcase_3.png 19.4 KB 17.5 KB 9.8%
solution/1900-1999/1924.Erect the Fence II/images/trees1.png 8.8 KB 7.1 KB 19.4%
solution/2000-2099/2039.The Time When the Network Becomes Idle/images/quiet-place-example1.png 24.8 KB 23.2 KB 6.4%
solution/0500-0599/0558.Logical OR of Two Binary Grids Represented as Quad-Trees/images/qtr.png 26.2 KB 24.6 KB 6.0%
images/leetcode-doocs.png 7.5 KB 6.0 KB 20.0%
images/doocs-leetcode.png 7.5 KB 6.0 KB 20.0%
solution/0800-0899/0858.Mirror Reflection/images/reflection.png 12.8 KB 11.3 KB 11.3%
solution/0400-0499/0427.Construct Quad Tree/images/e1tree.png 22.7 KB 21.4 KB 6.1%
solution/2100-2199/2103.Rings and Rods/images/ex1final.png 16.9 KB 15.5 KB 8.2%
solution/0900-0999/0951.Flip Equivalent Binary Trees/images/tree_ex.png 17.2 KB 15.8 KB 8.0%
solution/3100-3199/3148.Maximum Difference Score in a Grid/images/grid1.png 13.3 KB 12.1 KB 9.4%
solution/1300-1399/1349.Maximum Students Taking Exam/images/image.png 18.7 KB 17.4 KB 6.7%
solution/2100-2199/2103.Rings and Rods/images/ex2final.png 17.3 KB 16.0 KB 7.1%
solution/1400-1499/1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree/images/leetcode_testcase_1.png 19.1 KB 18.0 KB 5.9%
solution/0600-0699/0690.Employee Importance/images/1716170448-dKZffb-image.png 17.3 KB 16.2 KB 6.3%
solution/0800-0899/0863.All Nodes Distance K in Binary Tree/images/sketch0.png 12.9 KB 11.8 KB 8.3%
lcp/LCP 70. 沙地治理/images/1662692397-VlvErS-image.png 8.6 KB 7.6 KB 11.6%
lcof2/剑指 Offer II 013. 二维子矩阵的和/images/1626332422-wUpUHT-image.png 11.8 KB 10.9 KB 8.2%
solution/0300-0399/0304.Range Sum Query 2D - Immutable/images/1626332422-wUpUHT-image.png 11.8 KB 10.9 KB 8.2%
solution/3000-3099/3061.Calculate Trapping Rain Water/images/trapping_rain_water.png 3.6 KB 2.8 KB 23.0%
solution/0800-0899/0872.Leaf-Similar Trees/images/tree.png 13.0 KB 12.2 KB 6.3%
lcp/LCP 82. 万灵之树/images/1682322894-vfqJIV-image.png 13.3 KB 12.5 KB 5.7%
solution/2800-2899/2812.Find the Safest Path in a Grid/images/example1.png 11.1 KB 10.4 KB 6.7%
lcp/LCP 38. 守卫城堡/images/1614828208-oFlpVs-image.png 13.4 KB 12.7 KB 5.1%
lcp/LCP 38. 守卫城堡/images/1614828242-oveClu-image.png 10.4 KB 9.7 KB 6.3%
solution/1800-1899/1824.Minimum Sideway Jumps/images/ic234-q3-ex1.png 7.2 KB 6.6 KB 8.8%
solution/0400-0499/0457.Circular Array Loop/images/1723688199-nhaMuF-image.png 10.0 KB 9.4 KB 6.1%
lcp/LCP 38. 守卫城堡/images/1614828218-sIAYkb-image.png 9.5 KB 8.9 KB 6.4%
lcp/LCP 38. 守卫城堡/images/1614828255-uuNdNJ-image.png 9.9 KB 9.3 KB 6.1%
solution/2400-2499/2498.Frog Jump II/images/example-1.png 11.1 KB 10.5 KB 5.3%
solution/1800-1899/1824.Minimum Sideway Jumps/images/ic234-q3-ex2.png 6.4 KB 5.9 KB 9.0%
solution/1900-1999/1970.Last Day Where You Can Still Cross/images/3.png 8.5 KB 7.9 KB 6.7%
lcof/lcof.png 5.0 KB 4.5 KB 11.3%
solution/1800-1899/1824.Minimum Sideway Jumps/images/ic234-q3-ex3.png 7.1 KB 6.5 KB 7.9%
solution/2000-2099/2086.Minimum Number of Food Buckets to Feed the Hamsters/images/example1.png 8.8 KB 8.3 KB 5.9%
solution/2400-2499/2493.Divide Nodes Into the Maximum Number of Groups/images/example1.png 5.7 KB 5.3 KB 7.8%
solution/1000-1099/1080.Insufficient Nodes in Root to Leaf Paths/images/insufficient-3.png 8.2 KB 7.7 KB 5.3%
solution/3100-3199/3148.Maximum Difference Score in a Grid/images/moregridsdrawio-1.png 4.7 KB 4.3 KB 8.7%
solution/0300-0399/0351.Android Unlock Patterns/images/android-unlock.png 7.3 KB 6.9 KB 5.1%
solution/2100-2199/2106.Maximum Fruits Harvested After at Most K Steps/images/2.png 3.1 KB 2.8 KB 10.6%
solution/0900-0999/0952.Largest Component Size by Common Factor/images/ex1.png 3.8 KB 3.4 KB 8.7%
solution/0900-0999/0965.Univalued Binary Tree/images/screen-shot-2018年12月25日-at-50050-pm.png 6.0 KB 5.7 KB 5.3%
solution/0900-0999/0979.Distribute Coins in Binary Tree/images/tree3.png 5.6 KB 5.3 KB 5.7%
solution/1500-1599/1537.Get the Maximum Score/images/sample_1_1893.png 5.7 KB 5.4 KB 5.5%
solution/1300-1399/1325.Delete Leaves With a Given Value/images/sample_2_1684.png 5.3 KB 5.0 KB 5.9%
solution/0900-0999/0979.Distribute Coins in Binary Tree/images/tree1.png 5.3 KB 5.0 KB 5.5%
solution/1900-1999/1970.Last Day Where You Can Still Cross/images/1.png 5.4 KB 5.1 KB 5.3%
solution/2100-2199/2127.Maximum Employees to Be Invited to a Meeting/images/ex2.png 4.5 KB 4.2 KB 6.2%
solution/1000-1099/1028.Recover a Tree From Preorder Traversal/images/screen-shot-2019年04月10日-at-114955-pm.png 5.2 KB 4.9 KB 5.1%
solution/2100-2199/2147.Number of Ways to Divide a Long Corridor/images/1.png 3.7 KB 3.5 KB 6.7%
solution/1900-1999/1902.Depth of BST Given Insertion Order/images/3.png 4.0 KB 3.8 KB 6.1%
solution/1900-1999/1973.Count Nodes Equal to Sum of Descendants/images/screenshot-2021年08月17日-at-17-23-53-diagram-drawio-diagrams-net.png 2.1 KB 1.8 KB 11.5%
lcof2/剑指 Offer II 098. 路径的数目/images/robot_maze.png 3.0 KB 2.7 KB 8.0%
lcci/08.02.Robot in a Grid/images/robot_maze.png 3.0 KB 2.7 KB 8.0%
solution/0000-0099/0062.Unique Paths/images/robot_maze.png 3.0 KB 2.7 KB 8.0%
solution/0000-0099/0062.Unique Paths/images/1697422740-adxmsI-image.png 3.0 KB 2.7 KB 8.0%
solution/3200-3299/3208.Alternating Groups II/images/screenshot-2024年05月28日-184240.png 3.6 KB 3.3 KB 6.6%
solution/1400-1499/1478.Allocate Mailboxes/images/sample_2_1816.png 4.1 KB 3.9 KB 5.4%
solution/2400-2499/2497.Maximum Star Sum of a Graph/images/max-star-sum-example1drawio.png 3.5 KB 3.3 KB 6.3%
solution/1200-1299/1245.Tree Diameter/images/1397_example_2.png 4.0 KB 3.8 KB 5.2%
solution/3200-3299/3208.Alternating Groups II/images/screenshot-2024年05月28日-182844.png 3.1 KB 2.9 KB 6.7%
solution/2700-2799/2773.Height of Special Binary Tree/images/2.png 3.9 KB 3.7 KB 5.0%
solution/2400-2499/2467.Most Profitable Path in a Tree/images/eg1.png 3.5 KB 3.3 KB 5.3%
solution/3200-3299/3208.Alternating Groups II/images/screenshot-2024年05月28日-183907.png 3.2 KB 3.1 KB 5.5%
solution/2000-2099/2087.Minimum Cost Homecoming of a Robot in a Grid/images/eg-1.png 2.7 KB 2.5 KB 6.2%
solution/1400-1499/1457.Pseudo-Palindromic Paths in a Binary Tree/images/palindromic_paths_2.png 2.7 KB 2.5 KB 6.2%
solution/2100-2199/2147.Number of Ways to Divide a Long Corridor/images/2.png 2.1 KB 2.0 KB 7.6%
solution/1400-1499/1457.Pseudo-Palindromic Paths in a Binary Tree/images/palindromic_paths_1.png 2.8 KB 2.6 KB 5.4%
solution/0900-0999/0968.Binary Tree Cameras/images/bst_cameras_01.png 1.7 KB 1.5 KB 8.4%
solution/3200-3299/3208.Alternating Groups II/images/screenshot-2024年05月28日-182448.png 2.7 KB 2.5 KB 5.2%
solution/3200-3299/3208.Alternating Groups II/images/screenshot-2024年05月28日-183519.png 2.4 KB 2.3 KB 5.3%
solution/2100-2199/2147.Number of Ways to Divide a Long Corridor/images/3.png 1.0 KB 923 B 11.8%
solution/2000-2099/2035.Partition Array Into Two Arrays to Minimize Sum Difference/images/ex1.png 1.7 KB 1.6 KB 6.3%
solution/2000-2099/2014.Longest Subsequence Repeated k Times/images/longest-subsequence-repeat-k-times.png 1.7 KB 1.6 KB 5.5%
solution/2000-2099/2030.Smallest K-Length Subsequence With Occurrences of a Letter/images/smallest-k-length-subsequence.png 1.2 KB 1.1 KB 5.2%

2048 images did not require optimisation.

@yanglbme yanglbme merged commit 797ccf0 into main Sep 1, 2025
@yanglbme yanglbme deleted the create-pull-request/patch-1756686867 branch September 1, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /