{"id":488,"date":"2014-11-22T12:06:28","date_gmt":"2014-11-22T17:06:28","guid":{"rendered":"http:\/\/blog.index.pe\/?p=488"},"modified":"2015-02-04T12:30:49","modified_gmt":"2015-02-04T17:30:49","slug":"formatos-de-archivos-de-imagen-optimizados-para-la-web","status":"publish","type":"post","link":"https:\/\/blog.index.pe\/en\/formatos-de-archivos-de-imagen-optimizados-para-la-web\/","title":{"rendered":"Web-optimized image file formats"},"content":{"rendered":"<div>\n<p>To save images for your web page you can choose between four formats:<\/p>\n<p><strong>1.JPEG: <\/strong>In most cases, it is the most appropriate format for saving photos.<\/p>\n<p><strong>2.PNG-24: <\/strong>Like JPEG, it is a good format for photos. Choose PNG-24 instead of JPEG only when the image has transparency. (The JPEG format does not support transparency; you must fill with a matte color.) PNG-24 files are typically much larger than JPEG files of the same image.<\/p>\n<p><strong>3.GIF: <\/strong>The GIF format is used for lines, illustrations with large areas of consistent color and sharp detail, and text. Also, if you want to export an animated image, you must use GIF.<\/p>\n<p><strong>4.PNG-8: <\/strong>PNG-8 is a lesser-known alternative to GIF, so you can use it for the same purposes (except for animations).<\/p>\n<p>Images in the GIF and PNG-8 format, sometimes called <i>indexed color images<\/i>, can be displayed with up to 256 colors. To convert an image to indexed color format, Photoshop Elements creates a lookup color table. If there is a color in the original image that does not appear in the lookup table, the application selects the closest match from the table or simulates it using a combination of available colors.<\/p>\n<p>JPEG and PNG-24 files support 24-bit color, so they can display up to 16 million colors. Depending on the format, you can specify image quality, transparency or background halos, color display, and the method the browser uses to display the image during download.<\/p>\n<p>How an image looks on the web also depends on the colors displayed by the platform, operating system, monitor, and browser. If you want, you can preview images in different browsers and platforms to see how they will appear on the web.<\/p>\n<\/div>\n<div id=\"WS287f927bd30d4b1f-118f00f612e28b29a0a-7ffb\" class=\"nochunk\">\n<hr \/>\n<h3>About the JPEG format<\/h3>\n<div>\n<blockquote><p>The JPEG format supports 24-bit color, so it preserves the subtle variations in brightness and hue that photographs have. A Progressive JPEG file displays a low-resolution version of the image in the Web browser while the full image is downloaded.<\/p>\n<p>JPEG image compression is of lesser quality because it selectively discards image data. A higher quality setting discards less data, but the JPEG compression method can degrade the sharp details of an image, especially ones that contain text or vector images.<\/p>\n<div class=\"note\"><span class=\"notetitle\"><span style=\"text-decoration: underline;\">Note:<\/span> <\/span>Every time you save an image in JPEG format, artifacts are created, such as wave patterns or blocky banded areas. Therefore, you should always save JPEG files from the original image, not from another previously saved JPEG file.<\/div>\n<p>The JPEG format does not support transparency. When you save an image as a JPEG file, the transparent pixels are filled with the matte color specified in the Save For Web dialog box. To render the effect of background transparency, you can match the matte color to the background color of the Web page. If the image contains transparency and you don&#039;t know the background color of the Web page, or if the background is a pattern, you should use a format that supports transparency (such as GIF, PNG-8, or PNG-24).<\/p><\/blockquote>\n<\/div>\n<\/div>\n<div id=\"WS287f927bd30d4b1f-118f00f612e28b29a0a-7ffa\" class=\"nochunk\">\n<hr \/>\n<h3 class=\"topictitle3\">About the GIF format<\/h3>\n<div>\n<blockquote><p>The GIF format uses 8-bit color and effectively compresses areas of solid color while maintaining sharp details, such as those in lines, logos, or text. The GIF format is also used to create an animated image while maintaining transparency. Most browsers support the GIF format.<\/p>\n<p>The GIF format uses LZW compression, which is a lossless compression method. However, because GIFs are limited to 256 colors, optimizing an original 24-bit image as an 8-bit GIF may strip the image of colors.<\/p>\n<p>You can choose the number of colors in a GIF image and control how they are dithered in a browser. The GIF format supports transparency or background halos, allowing the edges of the image to blend with the background color of a Web page.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<div id=\"WS287f927bd30d4b1f-118f00f612e28b29a0a-7ff9\" class=\"nochunk\">\n<hr \/>\n<h3>About the PNG-8 format<\/h3>\n<div>\n<blockquote><p>The PNG-8 format uses 8-bit color. Like the GIF format, the PNG-8 format efficiently compresses areas of solid color while maintaining sharp details, such as those in lines, logos, or text.<\/p>\n<p>Since the PNG-8 format is not supported by all browsers, it is best to avoid it if you are distributing the image to many users.<\/p>\n<p>This format uses more advanced compression schemes than GIF, so a PNG-8 file can be anywhere from 10 to 30% smaller than a GIF of the same image, depending on color reasons. Although PNG-8 has lossless compression, if an original 24-bit image is optimized as an 8-bit PNG file, color may be washed out of the image.<\/p>\n<div class=\"note\"><span class=\"notetitle\">Note: <\/span>With certain images, especially those with simple patterns and few colors, GIF compression can create a smaller file size than PNG-8 compression. View optimized images in GIF and PNG-8 formats and compare file sizes.<\/div>\n<p>As with the GIF format, you can choose the number of colors in an image and control how they are dithered in a browser. The PNG-8 format supports transparency and background halos, allowing the edges of an image to blend with the background color of a Web page.<\/p><\/blockquote>\n<div class=\"nochunk\">\n<hr \/>\n<\/div>\n<h3 id=\"WS287f927bd30d4b1f-118f00f612e28b29a0a-7ff8\" class=\"nochunk\">About the PNG-24 format<\/h3>\n<div class=\"nochunk\">\n<blockquote><p>The PNG-24 format supports 24-bit color. Like the JPEG format, PNG-24 preserves the subtle variations in brightness and hue that photographs have. Like the GIF and PNG-8 formats, the PNG-24 format preserves sharp details, such as those in lines, logos, or text.<\/p><\/blockquote>\n<div>\n<blockquote><p>The PNG-24 format uses the same lossless compression method as the PNG-8 format. For this reason, PNG-24 files are often larger than JPEG files of the same image. It is preferable to avoid the PNG-24 format if the image is to be distributed to many users.<\/p>\n<p>In addition to supporting transparency and background halos, the PNG-24 format supports transparency at multiple levels. You can use up to 256 degrees of transparency, from opaque to fully transparent, to smoothly blend the edges of an image with any background color. However, not all browsers support multi-level transparency.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"WS287f927bd30d4b1f-118f00f612e28b29a0a-7ff7\" class=\"nochunk\">\n<hr \/>\n<h3 class=\"topictitle3\">\u00a0About animated GIFs<\/h3>\n<div>\n<blockquote><p>Animated GIFs create the illusion of movement by presenting a sequence of images or frames. Photoshop Elements provides an easy and efficient way to create animated GIFs from a multi-layered image.<\/p>\n<p>To create an animated GIF file, you&#039;ll work with layers. Each layer is converted to a frame when Photoshop Elements generates an optimized animation. Animated GIFs are compiled into an RGB color document.<\/p>\n<p>With the Open command, you can open an existing animated GIF file. For each frame in the file, Photoshop Elements creates a layer. To see a particular box in the document window, make that box&#039;s layer visible in the Layers panel and hide the other layers.<\/p><\/blockquote>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_488\" class=\"pvc_stats all\" data-element-id=\"488\" style=\"\"><i class=\"pvc-stats-icon small\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewbox=\"0 0 502 315\" preserveaspectratio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/blog.index.pe\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=\"0\" \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-reaction-buttons\" ><\/div>","protected":false},"excerpt":{"rendered":"<p>To save images for your website you can choose between four formats: 1. JPEG: In most cases, this is the most appropriate format to save photographs. 2. PNG-24: Like JPEG, this is a good format for photographs. Choose PNG-24 instead of JPEG only when the image has transparency. (JPEG format does not support transparency; you must fill with a matte color.) PNG-24 files are typically much larger than JPEG files of the same image. 3. GIF: GIF format is used for line art, illustrations with large areas of uniform color<\/p>","protected":false},"author":1,"featured_media":489,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,68,9],"tags":[98,95,96,94,97],"class_list":["post-488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diseno","category-photoshop","category-web-design","tag-gif","tag-imagen","tag-jpg","tag-photoshop-2","tag-png"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":0,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/posts\/488\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/media\/489"}],"wp:attachment":[{"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/media?parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/categories?post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.index.pe\/en\/wp-json\/wp\/v2\/tags?post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}