From 7aa500d2edcc2a2990e7a72799661d4a1227d441 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 25 Feb 2014 09:37:21 -0300 Subject: Optimize getting started guide images, and use png instead of jpg We noticed the rails gem increased in size between the beta and rc versions, and the reason is that some guides images were updated but not properly optimized, and one image changed from png to jpg, way bigger. Converting the jpg image back to png, and using ImageOptim to optimize all the images for web view, improves the situation [ci skip]. --- In current master/4-1-stable: 508K guides/assets/images/getting_started/ In v4.1.0.beta1: 268K guides/assets/images/getting_started/ In 4-0-stable 328K guides/assets/images/getting_started/ After the patch: 260K guides/assets/images/getting_started/ --- .../getting_started/article_with_comments.png | Bin 25229 -> 15190 bytes guides/assets/images/getting_started/challenge.png | Bin 30248 -> 21690 bytes .../images/getting_started/confirm_dialog.png | Bin 26420 -> 18809 bytes .../forbidden_attributes_for_new_article.png | Bin 15598 -> 10783 bytes .../images/getting_started/form_with_errors.png | Bin 18076 -> 12447 bytes .../getting_started/index_action_with_edit_link.png | Bin 18024 -> 10209 bytes .../assets/images/getting_started/new_article.png | Bin 9387 -> 3579 bytes .../assets/images/getting_started/rails_welcome.jpg | Bin 293182 -> 0 bytes .../assets/images/getting_started/rails_welcome.png | Bin 0 -> 94542 bytes .../getting_started/routing_error_no_controller.png | Bin 6108 -> 4186 bytes .../routing_error_no_route_matches.png | Bin 6195 -> 5913 bytes .../getting_started/show_action_for_articles.png | Bin 2991 -> 2965 bytes .../template_is_missing_articles_new.png | Bin 10138 -> 6174 bytes .../unknown_action_create_for_articles.png | Bin 7594 -> 5327 bytes .../unknown_action_new_for_articles.png | Bin 7858 -> 5481 bytes 15 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 guides/assets/images/getting_started/rails_welcome.jpg create mode 100644 guides/assets/images/getting_started/rails_welcome.png (limited to 'guides/assets') diff --git a/guides/assets/images/getting_started/article_with_comments.png b/guides/assets/images/getting_started/article_with_comments.png index 1918e9bf28..117a78a39f 100644 Binary files a/guides/assets/images/getting_started/article_with_comments.png and b/guides/assets/images/getting_started/article_with_comments.png differ diff --git a/guides/assets/images/getting_started/challenge.png b/guides/assets/images/getting_started/challenge.png index cc12162677..5b88a842b2 100644 Binary files a/guides/assets/images/getting_started/challenge.png and b/guides/assets/images/getting_started/challenge.png differ diff --git a/guides/assets/images/getting_started/confirm_dialog.png b/guides/assets/images/getting_started/confirm_dialog.png index e57d4b409e..9755f581a6 100644 Binary files a/guides/assets/images/getting_started/confirm_dialog.png and b/guides/assets/images/getting_started/confirm_dialog.png differ diff --git a/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png b/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png index e263f7f8b2..9f32c68472 100644 Binary files a/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png and b/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png differ diff --git a/guides/assets/images/getting_started/form_with_errors.png b/guides/assets/images/getting_started/form_with_errors.png index 04ff8b1e2d..98bff37d4a 100644 Binary files a/guides/assets/images/getting_started/form_with_errors.png and b/guides/assets/images/getting_started/form_with_errors.png differ diff --git a/guides/assets/images/getting_started/index_action_with_edit_link.png b/guides/assets/images/getting_started/index_action_with_edit_link.png index 22f994d993..0566a3ffde 100644 Binary files a/guides/assets/images/getting_started/index_action_with_edit_link.png and b/guides/assets/images/getting_started/index_action_with_edit_link.png differ diff --git a/guides/assets/images/getting_started/new_article.png b/guides/assets/images/getting_started/new_article.png index 89fc0b2605..bd3ae4fa67 100644 Binary files a/guides/assets/images/getting_started/new_article.png and b/guides/assets/images/getting_started/new_article.png differ diff --git a/guides/assets/images/getting_started/rails_welcome.jpg b/guides/assets/images/getting_started/rails_welcome.jpg deleted file mode 100644 index 65a44cdfe5..0000000000 Binary files a/guides/assets/images/getting_started/rails_welcome.jpg and /dev/null differ diff --git a/guides/assets/images/getting_started/rails_welcome.png b/guides/assets/images/getting_started/rails_welcome.png new file mode 100644 index 0000000000..3e07c948a0 Binary files /dev/null and b/guides/assets/images/getting_started/rails_welcome.png differ diff --git a/guides/assets/images/getting_started/routing_error_no_controller.png b/guides/assets/images/getting_started/routing_error_no_controller.png index ae83b6a68c..ed62862291 100644 Binary files a/guides/assets/images/getting_started/routing_error_no_controller.png and b/guides/assets/images/getting_started/routing_error_no_controller.png differ diff --git a/guides/assets/images/getting_started/routing_error_no_route_matches.png b/guides/assets/images/getting_started/routing_error_no_route_matches.png index 1cbddfa0f1..08c54f921f 100644 Binary files a/guides/assets/images/getting_started/routing_error_no_route_matches.png and b/guides/assets/images/getting_started/routing_error_no_route_matches.png differ diff --git a/guides/assets/images/getting_started/show_action_for_articles.png b/guides/assets/images/getting_started/show_action_for_articles.png index 9467df6a07..4dad704f89 100644 Binary files a/guides/assets/images/getting_started/show_action_for_articles.png and b/guides/assets/images/getting_started/show_action_for_articles.png differ diff --git a/guides/assets/images/getting_started/template_is_missing_articles_new.png b/guides/assets/images/getting_started/template_is_missing_articles_new.png index ba630cfc23..4e636d09ff 100644 Binary files a/guides/assets/images/getting_started/template_is_missing_articles_new.png and b/guides/assets/images/getting_started/template_is_missing_articles_new.png differ diff --git a/guides/assets/images/getting_started/unknown_action_create_for_articles.png b/guides/assets/images/getting_started/unknown_action_create_for_articles.png index ed89c4f3d7..fd20cd53dc 100644 Binary files a/guides/assets/images/getting_started/unknown_action_create_for_articles.png and b/guides/assets/images/getting_started/unknown_action_create_for_articles.png differ diff --git a/guides/assets/images/getting_started/unknown_action_new_for_articles.png b/guides/assets/images/getting_started/unknown_action_new_for_articles.png index e8f2b9a16a..e948a51e4a 100644 Binary files a/guides/assets/images/getting_started/unknown_action_new_for_articles.png and b/guides/assets/images/getting_started/unknown_action_new_for_articles.png differ -- cgit v1.2.3