{"id":1147,"date":"2017-06-27T01:34:34","date_gmt":"2017-06-27T05:34:34","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/12-1-exercise-1-from-digital-input-to-web-ready\/"},"modified":"2020-09-27T16:36:19","modified_gmt":"2020-09-27T20:36:19","slug":"12-1-exercise-1-from-digital-input-to-web-ready","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/12-1-exercise-1-from-digital-input-to-web-ready\/","title":{"raw":"12.1 Exercise 1: From digital input to web ready","rendered":"12.1 Exercise 1: From digital input to web ready"},"content":{"raw":"<ol>\n \t<li>Download and open <strong>seagram_building.jpg<\/strong> from the Chapter 12 Work Files download.<img class=\"alignnone size-full wp-image-1130\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1.png\" alt=\"Image of Segram building open in Photoshop\u00ae\" width=\"1280\" height=\"898\"><\/li>\n \t<li>If you followed the exercises in Chapters 8 and 9, you should be comfortable changing the tonal range and color of this image. Adjust the tonal range and color to your liking by adding one or more adjustment layers.<img class=\"alignnone size-full wp-image-514\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2a-1.png\" alt=\"Photoshop\u00ae interface showing the Properties panel for a Levels adjustment layer added to the seagram building image.\" width=\"922\" height=\"555\"><img class=\"alignnone size-full wp-image-516\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2b-1.png\" alt=\"Properties panel showing adjustments to the image's red channel.\" width=\"286\" height=\"423\"> <img class=\"alignnone wp-image-517 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2c-1.png\" alt=\"Properties panel showing adjustments to the image's green channel.\" width=\"286\" height=\"423\"> <img class=\"alignnone wp-image-518 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2d-1.png\" alt=\"Properties panel showing adjustments to the image's blue channel.\" width=\"286\" height=\"423\"><\/li>\n \t<li>Save this file as a master copy by choosing <strong>Save As<\/strong> from the file menu, choose PSD as the file format, and save your file as <strong>ch12-yourlastname-firstname.psd<\/strong>.<\/li>\n \t<li>The image from the download files was taken by a 21-megapixel digital camera, and is larger than we need to display on a web site. Additionally, since we\u2019ve made some adjustments and want to retain our master file as a PSD, we\u2019ll need to create an optimized image for use on a website or on social media. To optimize images for online use, we use the Export features in Photoshop\u00ae. Choose <strong>File &gt; Export &gt; Export As...<\/strong> to open the Export As interface. Photoshop\u00ae and Illustrator\u00ae both have this tool available, allowing you to to resizes and compress your images, flatten layers, and prepare an image for the web all while retaining your original master file.<img class=\"alignnone size-full wp-image-520\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-4-1.png\" alt=\"Exporting the adjusted image using the Export As dialog.\" width=\"1278\" height=\"896\"><\/li>\n \t<li>The Export As dialog has several important parameters to set. The most important parameter is the <strong>Format<\/strong> listed under \u201cFile Settings\u201d in the top right of the interface. As a general rule, photographic images and other images continuous tone or a large range of colors are saved as JPEGs. Graphic images \u2014 images with few colors, such as logos and line art \u2014 are saved as PNGs or GIFs. Since this image is a photograph, select JPEG from the Format pull-down menu.<img class=\"alignnone size-full wp-image-521\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-5-1.png\" alt=\"Screen capture showing how to set the Format for the optimized image.\" width=\"461\" height=\"293\"><\/li>\n \t<li>Some of the Formats available in the Export As dialog are also available through File &gt; Save As, including the JPEG format. However, using the Export As dialog gives a greater amount of control over JPEG compression settings and prepares the image for web use in a few other ways that Save As doesn\u2019t. We\u2019ll start with the <strong>Quality<\/strong> setting.First, notice that at the bottom of the Export As dialog are some zoom controls. Click on the + button there to zoom in and view the image at 100%. We\u2019ll want to be looking closely at the image to more easily see the effect of JPEG compression.\n\n<img class=\"alignnone size-full wp-image-522\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6-1.png\" alt=\"Screen capture showing the Export As dialog with a zoom level of 100%.\" width=\"1155\" height=\"701\">Also note that the left side of the Export As interface shows information related to the optimized image. At this stage, we want to pay particular attention to the estimated file size of the optimized image, which at 100% Quality is about 4.9MB. This is important because the smaller the file size is, the faster the image will download as part of a web page. The 4.9MB file size is a very large or \u201cheavy\u201d file and will increase download time unnecessarily.\n\n<img class=\"alignnone size-full wp-image-523\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6b-1.png\" alt=\"Screen capture showing the estimated output file size for the image when set to be optimized as a JPEG with a 100% quality level.\" width=\"373\" height=\"185\">\n\n&nbsp;<\/li>\n \t<li>In the File Settings section at the right of the Export As dialog, set the Quality setting to 0% by typing into its box or clicking on its down arrow and using the slider. Watch the image closely as you make this change and you will see differences in the image quality appear. Saving an image in JPEG format compresses the saved image into a smaller file size by removing pixel detail from specific areas in the image. This is called lossy compression.The JPEG format lossy leaves what are known as compression artifacts in the image. These show up as blurry or pixelated areas in an image, which you may have noticed in heavily compressed images online. JPEG compression artifacts most often show up in areas of solid or nearly-solid color, or around edges of objects in an image.\n\n[caption id=\"attachment_524\" align=\"alignnone\" width=\"624\"]<img class=\"size-full wp-image-524\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6c-1.png\" alt=\"Screen capture showing adjustment of the Export As JPEG Quality slider.\" width=\"624\" height=\"297\"> Notice the loss of detail and the appearance of JPEG compression artifacts when comparing the image preview at Quality settings of 100% and 0%.[\/caption]\n\n<img class=\"alignnone size-full wp-image-525\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6d-1.png\" alt=\"Screen capture showing the Export As JPEG Quality slider set to 0%\" width=\"624\" height=\"297\">\n\nAlong with seeing a preview of the compressed image in the center of the Export As dialog, the estimated file size is also updated when you change the Quality setting. Notice that the image information in the area at the left of the dialog now lists the file size at around 223.5KB.\n\n<img class=\"alignnone size-full wp-image-526\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6e-1.png\" alt=\"Screen capture showing the estimated optimized file size when JPEG quality is set to 0%.\" width=\"257\" height=\"183\">\n<div class=\"textbox\">Note: The human eye cannot easily detect image compression artifacts if a small amount of compression is used and the image is viewed on a computer screen. Photoshop\u00ae JPEG compression presets run from Low to Maximum, and correspond to a numerical range from 0 to 100. Zero is a very low quality, where you will definitely be able to notice the loss of quality as visible compression artifacts in the image, while the maximum 100 level (although still having had image data thrown away) shows no visible decline in quality. The trade-off is that more compression creates a smaller file. Weigh your needs for file size against your perception of image quality to decide what level of compression to use on a case-by-case basis.<\/div>\n&nbsp;<\/li>\n \t<li>While the file size at 0% quality is nice and small, the image doesn\u2019t look as good as it could. We want to find a balance between a nice looking image (not covered in artifacts) and a file size under 1MB. Increase the Quality to 60% and watch the areas of the image where you noticed the artifacts at 0%. On average, a Quality setting between 60% and 80% is where you\u2019ll end up when looking at image quality, though this will vary depending on the amount of detail and texture in any particular image that you\u2019re compressing. Notice that the compressed file size at 60% quality is 1.1MB, we\u2019ll address that in the next step since we do want a smaller file size.<img class=\"alignnone size-full wp-image-527\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-8-1.png\" alt=\"Screen capture showing the Export As dialog with a JPEG quality setting of 60%.\" width=\"1155\" height=\"701\"><\/li>\n \t<li>In addition to compression, we can also reduce file size in this case by reducing the pixel dimensions of the image. We can do this directly in the Export As dialog, without permanently altering our master image file. Locate the Image Size section of the dialog, underneath the File Settings section on the right side. The original pixel dimensions are 5760x3840 pixels, which is much larger than we need to display online.\n\nComputer monitors and mobile devices have a wide range of screen sizes these days. In order to deliver images that are sized appropriately for different devices and Internet connections, it is often necessary to prepare multiple sizes of an image for online use. For this exercise, we\u2019ll prepare two optimized sizes of this image.\n\nFor desktop computers, let\u2019s scale the image down to a width of 1600px. Edit the Width value under the Image Size settings and the height will be scaled proportionally to 1066px. To help our scaled image\u2019s quality, also set the <strong>Resample<\/strong> drop-down to <strong>Bicubic Sharper<\/strong>. This will result in sharper detail when Photoshop\u00ae re-interpolates the image\u2019s pixels while generating the smaller size. Your Image Size settings should match those shown below.\n\n<img class=\"alignnone size-full wp-image-529\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-9a-1.png\" alt=\"Screen capture showing Export As Image Size settings with a scale value of 27.77%.\" width=\"256\" height=\"167\">\n\nNotice that this has reduced the optimized file size from 1.1MB down to 125.1KB. This is much more acceptable and our image quality is looking pretty good.\n\n<img class=\"alignnone size-full wp-image-530\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-9b-1.png\" alt=\"Screen capture showing estimated JPEG file size after adjusting JPEG Quality and Image Size.\" width=\"259\" height=\"68\"><\/li>\n \t<li>Now we\u2019ll create an additional optimized file for mobile screens using the <strong>Scale All<\/strong> controls in the upper left corner of the Export As dialog. In the previous steps, we\u2019ve just defined the settings for our <strong>1x<\/strong> optimized image. In the <strong>Suffix<\/strong> field, enter <strong>_desktop<\/strong> then click the <strong>+<\/strong> button in the Scale All box to add another size for this image.\n\n<img class=\"alignnone size-full wp-image-531\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-10a-1.png\" alt=\"Screen capture showing specified Scale All settings.\" width=\"257\" height=\"164\">\n\nClicking the + button will create an additional optimized copy of the image. For this second optimized copy, set the <strong>Size<\/strong> drop-down to <strong>0.5x<\/strong> and enter <strong>_mobile<\/strong> in the <strong>Suffix<\/strong> box.\n\n<img class=\"alignnone size-full wp-image-532\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-10b-1.png\" alt=\"Screen capture showing a second optimized image scale added for use with mobile screen sizes.\" width=\"258\" height=\"188\">\nNow click the <strong>Export All\u2026<\/strong> button in the lower right of the dialog, choose where to save your optimized files, and click the Export button. You should end up with two .jpg files in the folder you saved to: one named <em>ch12-yourlastname-firstname_desktop,jpg<\/em> and the other named <em>ch12-yourlastname-firstname_mobile.jpg<\/em> with file sizes around 122KB and 45KB, respectively. Notice that the _mobile image has pixel dimensions of 800x533.\n<div class=\"textbox\">Note: File naming standards for the web use only lowercase letters, alphanumeric characters, underscores, and dashes (no spaces).<\/div>\nIf you open each of the JPEGs in Photoshop\u00ae, you\u2019ll also notice that their resolution is set to 72ppi. The Export All process also reduces the ppi since images for display on the web or exclusively on screens typically use a standard 72ppi setting.\n\nWe\u2019re finished with the ch12-yourlastname-firstname.psd file, so you may save and close it.<\/li>\n<\/ol>","rendered":"<ol>\n<li>Download and open <strong>seagram_building.jpg<\/strong> from the Chapter 12 Work Files download.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1130\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1.png\" alt=\"Image of Segram building open in Photoshop\u00ae\" width=\"1280\" height=\"898\" srcset=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1.png 1280w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-300x210.png 300w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-1024x718.png 1024w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-768x539.png 768w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-65x46.png 65w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-225x158.png 225w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c12-ex1-1-350x246.png 350w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/li>\n<li>If you followed the exercises in Chapters 8 and 9, you should be comfortable changing the tonal range and color of this image. Adjust the tonal range and color to your liking by adding one or more adjustment layers.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-514\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2a-1.png\" alt=\"Photoshop\u00ae interface showing the Properties panel for a Levels adjustment layer added to the seagram building image.\" width=\"922\" height=\"555\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-516\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2b-1.png\" alt=\"Properties panel showing adjustments to the image's red channel.\" width=\"286\" height=\"423\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-517 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2c-1.png\" alt=\"Properties panel showing adjustments to the image's green channel.\" width=\"286\" height=\"423\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-518 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-2d-1.png\" alt=\"Properties panel showing adjustments to the image's blue channel.\" width=\"286\" height=\"423\" \/><\/li>\n<li>Save this file as a master copy by choosing <strong>Save As<\/strong> from the file menu, choose PSD as the file format, and save your file as <strong>ch12-yourlastname-firstname.psd<\/strong>.<\/li>\n<li>The image from the download files was taken by a 21-megapixel digital camera, and is larger than we need to display on a web site. Additionally, since we\u2019ve made some adjustments and want to retain our master file as a PSD, we\u2019ll need to create an optimized image for use on a website or on social media. To optimize images for online use, we use the Export features in Photoshop\u00ae. Choose <strong>File &gt; Export &gt; Export As&#8230;<\/strong> to open the Export As interface. Photoshop\u00ae and Illustrator\u00ae both have this tool available, allowing you to to resizes and compress your images, flatten layers, and prepare an image for the web all while retaining your original master file.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-520\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-4-1.png\" alt=\"Exporting the adjusted image using the Export As dialog.\" width=\"1278\" height=\"896\" \/><\/li>\n<li>The Export As dialog has several important parameters to set. The most important parameter is the <strong>Format<\/strong> listed under \u201cFile Settings\u201d in the top right of the interface. As a general rule, photographic images and other images continuous tone or a large range of colors are saved as JPEGs. Graphic images \u2014 images with few colors, such as logos and line art \u2014 are saved as PNGs or GIFs. Since this image is a photograph, select JPEG from the Format pull-down menu.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-521\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-5-1.png\" alt=\"Screen capture showing how to set the Format for the optimized image.\" width=\"461\" height=\"293\" \/><\/li>\n<li>Some of the Formats available in the Export As dialog are also available through File &gt; Save As, including the JPEG format. However, using the Export As dialog gives a greater amount of control over JPEG compression settings and prepares the image for web use in a few other ways that Save As doesn\u2019t. We\u2019ll start with the <strong>Quality<\/strong> setting.First, notice that at the bottom of the Export As dialog are some zoom controls. Click on the + button there to zoom in and view the image at 100%. We\u2019ll want to be looking closely at the image to more easily see the effect of JPEG compression.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-522\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6-1.png\" alt=\"Screen capture showing the Export As dialog with a zoom level of 100%.\" width=\"1155\" height=\"701\" \/>Also note that the left side of the Export As interface shows information related to the optimized image. At this stage, we want to pay particular attention to the estimated file size of the optimized image, which at 100% Quality is about 4.9MB. This is important because the smaller the file size is, the faster the image will download as part of a web page. The 4.9MB file size is a very large or \u201cheavy\u201d file and will increase download time unnecessarily.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-523\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6b-1.png\" alt=\"Screen capture showing the estimated output file size for the image when set to be optimized as a JPEG with a 100% quality level.\" width=\"373\" height=\"185\" \/><\/p>\n<p>&nbsp;<\/li>\n<li>In the File Settings section at the right of the Export As dialog, set the Quality setting to 0% by typing into its box or clicking on its down arrow and using the slider. Watch the image closely as you make this change and you will see differences in the image quality appear. Saving an image in JPEG format compresses the saved image into a smaller file size by removing pixel detail from specific areas in the image. This is called lossy compression.The JPEG format lossy leaves what are known as compression artifacts in the image. These show up as blurry or pixelated areas in an image, which you may have noticed in heavily compressed images online. JPEG compression artifacts most often show up in areas of solid or nearly-solid color, or around edges of objects in an image.<br \/>\n<figure id=\"attachment_524\" aria-describedby=\"caption-attachment-524\" style=\"width: 624px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-524\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6c-1.png\" alt=\"Screen capture showing adjustment of the Export As JPEG Quality slider.\" width=\"624\" height=\"297\" \/><figcaption id=\"caption-attachment-524\" class=\"wp-caption-text\">Notice the loss of detail and the appearance of JPEG compression artifacts when comparing the image preview at Quality settings of 100% and 0%.<\/figcaption><\/figure>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-525\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6d-1.png\" alt=\"Screen capture showing the Export As JPEG Quality slider set to 0%\" width=\"624\" height=\"297\" \/><\/p>\n<p>Along with seeing a preview of the compressed image in the center of the Export As dialog, the estimated file size is also updated when you change the Quality setting. Notice that the image information in the area at the left of the dialog now lists the file size at around 223.5KB.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-526\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-6e-1.png\" alt=\"Screen capture showing the estimated optimized file size when JPEG quality is set to 0%.\" width=\"257\" height=\"183\" \/><\/p>\n<div class=\"textbox\">Note: The human eye cannot easily detect image compression artifacts if a small amount of compression is used and the image is viewed on a computer screen. Photoshop\u00ae JPEG compression presets run from Low to Maximum, and correspond to a numerical range from 0 to 100. Zero is a very low quality, where you will definitely be able to notice the loss of quality as visible compression artifacts in the image, while the maximum 100 level (although still having had image data thrown away) shows no visible decline in quality. The trade-off is that more compression creates a smaller file. Weigh your needs for file size against your perception of image quality to decide what level of compression to use on a case-by-case basis.<\/div>\n<p>&nbsp;<\/li>\n<li>While the file size at 0% quality is nice and small, the image doesn\u2019t look as good as it could. We want to find a balance between a nice looking image (not covered in artifacts) and a file size under 1MB. Increase the Quality to 60% and watch the areas of the image where you noticed the artifacts at 0%. On average, a Quality setting between 60% and 80% is where you\u2019ll end up when looking at image quality, though this will vary depending on the amount of detail and texture in any particular image that you\u2019re compressing. Notice that the compressed file size at 60% quality is 1.1MB, we\u2019ll address that in the next step since we do want a smaller file size.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-527\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-8-1.png\" alt=\"Screen capture showing the Export As dialog with a JPEG quality setting of 60%.\" width=\"1155\" height=\"701\" \/><\/li>\n<li>In addition to compression, we can also reduce file size in this case by reducing the pixel dimensions of the image. We can do this directly in the Export As dialog, without permanently altering our master image file. Locate the Image Size section of the dialog, underneath the File Settings section on the right side. The original pixel dimensions are 5760&#215;3840 pixels, which is much larger than we need to display online.\n<p>Computer monitors and mobile devices have a wide range of screen sizes these days. In order to deliver images that are sized appropriately for different devices and Internet connections, it is often necessary to prepare multiple sizes of an image for online use. For this exercise, we\u2019ll prepare two optimized sizes of this image.<\/p>\n<p>For desktop computers, let\u2019s scale the image down to a width of 1600px. Edit the Width value under the Image Size settings and the height will be scaled proportionally to 1066px. To help our scaled image\u2019s quality, also set the <strong>Resample<\/strong> drop-down to <strong>Bicubic Sharper<\/strong>. This will result in sharper detail when Photoshop\u00ae re-interpolates the image\u2019s pixels while generating the smaller size. Your Image Size settings should match those shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-529\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-9a-1.png\" alt=\"Screen capture showing Export As Image Size settings with a scale value of 27.77%.\" width=\"256\" height=\"167\" \/><\/p>\n<p>Notice that this has reduced the optimized file size from 1.1MB down to 125.1KB. This is much more acceptable and our image quality is looking pretty good.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-530\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-9b-1.png\" alt=\"Screen capture showing estimated JPEG file size after adjusting JPEG Quality and Image Size.\" width=\"259\" height=\"68\" \/><\/li>\n<li>Now we\u2019ll create an additional optimized file for mobile screens using the <strong>Scale All<\/strong> controls in the upper left corner of the Export As dialog. In the previous steps, we\u2019ve just defined the settings for our <strong>1x<\/strong> optimized image. In the <strong>Suffix<\/strong> field, enter <strong>_desktop<\/strong> then click the <strong>+<\/strong> button in the Scale All box to add another size for this image.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-531\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-10a-1.png\" alt=\"Screen capture showing specified Scale All settings.\" width=\"257\" height=\"164\" \/><\/p>\n<p>Clicking the + button will create an additional optimized copy of the image. For this second optimized copy, set the <strong>Size<\/strong> drop-down to <strong>0.5x<\/strong> and enter <strong>_mobile<\/strong> in the <strong>Suffix<\/strong> box.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-532\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c12-ex1-10b-1.png\" alt=\"Screen capture showing a second optimized image scale added for use with mobile screen sizes.\" width=\"258\" height=\"188\" \/><br \/>\nNow click the <strong>Export All\u2026<\/strong> button in the lower right of the dialog, choose where to save your optimized files, and click the Export button. You should end up with two .jpg files in the folder you saved to: one named <em>ch12-yourlastname-firstname_desktop,jpg<\/em> and the other named <em>ch12-yourlastname-firstname_mobile.jpg<\/em> with file sizes around 122KB and 45KB, respectively. Notice that the _mobile image has pixel dimensions of 800&#215;533.<\/p>\n<div class=\"textbox\">Note: File naming standards for the web use only lowercase letters, alphanumeric characters, underscores, and dashes (no spaces).<\/div>\n<p>If you open each of the JPEGs in Photoshop\u00ae, you\u2019ll also notice that their resolution is set to 72ppi. The Export All process also reduces the ppi since images for display on the web or exclusively on screens typically use a standard 72ppi setting.<\/p>\n<p>We\u2019re finished with the ch12-yourlastname-firstname.psd file, so you may save and close it.<\/li>\n<\/ol>\n","protected":false},"author":515,"menu_order":1,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["xtine-burrough","michael-mandiberg"],"pb_section_license":"cc-by-nc-sa"},"chapter-type":[48],"contributor":[65,64],"license":[56],"class_list":["post-1147","chapter","type-chapter","status-publish","hentry","chapter-type-numberless","contributor-michael-mandiberg","contributor-xtine-burrough","license-cc-by-nc-sa"],"part":1128,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/users\/515"}],"version-history":[{"count":1,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1147\/revisions"}],"predecessor-version":[{"id":1148,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1147\/revisions\/1148"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/parts\/1128"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1147\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapter-type?post=1147"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/contributor?post=1147"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/license?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}