Manage Image Presets managing-image-presets
Image Presets enable Adobe Experience Manager Assets to deliver images dynamically at different sizes, in different formats, or with other image properties that are generated dynamically. Each Image Preset represents a predefined collection of sizing and formatting commands for displaying images. When you create an Image Preset, you choose a size for image delivery. You also choose formatting commands so that the appearance of the image is optimized when the image is delivered for viewing.
Administrators can create presets for exporting assets. Users can choose a preset when they export images, which also reformat images to the specifications that the administrator specifies.
You can also create Image Presets that are responsive. If you apply a responsive Image Preset to your assets, they change depending on the device or screen size they are viewed on. You can configure Image Presets to use CMYK in the color space in addition to RGB or Gray.
This section describes how to create, modify, and generally manage Image Presets. You can apply an Image Preset to an image anytime you preview it. See Apply Image Presets.
Learn about Image Presets understanding-image-presets
Like a macro, an Image Preset is a predefined collection of sizing and formatting commands saved under a name. To understand how Image Presets work, suppose that your website requires each product image to appear in different sizes, different formats, and compression rates for desktop and mobile delivery.
You could create two Image Presets: 500 x 500 pixels for desktop and 150 x 150 pixels for mobile. You create two Image Presets, one called Enlarge to display images at 500x500 pixels and one called Thumbnail to display images at 150 x 150 pixels. To deliver images at the Enlarge and Thumbnail size, Experience Manager finds the definition of the Enlarge Image Preset and Thumbnail Image Preset. Then Experience Manager dynamically generates an image at the size and formatting specifications of each Image Preset.
Images that are reduced in size when they are delivered dynamically can lose sharpness and detail. For this reason, each Image Preset contains formatting controls for optimizing an image when it is delivered at a particular size. These controls make sure that your images are sharp and clear when they are delivered to your web site or application.
Administrators can create Image Presets. To create an Image Preset, you can start from scratch or you can start from an existing one and save it under a new name.
Manage Image Presets managing-image-presets-1
You manage your Image Presets in Experience Manager by selecting the Experience Manager logo to access the global navigation console and then selecting the Tools icon and navigating to Assets > Image Presets.
How Image Presets relate to renditions how-image-presets-relate-to-renditions
Image presets define how Dynamic Media delivers images, including sizing, formatting, compression, and other display parameters. Presets do not generate renditions themselves. Instead, they rely on renditions that are created when assets are processed.
Rendition generation in AEM as a Cloud Service rendition-generation-in-aemaacs
In AEM as a Cloud Service, renditions are generated using Asset Microservices. The DAM Update Asset workflow is not available for customization in Cloud Service.
Important considerations include the following:
- Renditions are generated at upload time.
- Changes to a Processing Profile affect newly uploaded assets. Existing assets must be reprocessed if new renditions are required.
- Workflow model customization is not supported in AEM as a Cloud Service for rendition generation.
Image presets reference available renditions at delivery time. Ensure the required renditions exist before configuring or using image presets.
To control which renditions are generated:
- Create or edit a Processing Profile.
- Configure the required rendition definitions.
- Apply the Processing Profile to the appropriate folder.
When assets are uploaded to a folder that has a Processing Profile applied, Asset Microservices automatically generate the defined renditions.
Increase or decrease the number of image presets that are displayed increasing-or-decreasing-the-number-of-image-presets-that-display
Image presets you create are available as dynamic renditions when you preview assets. Experience Manager shows various dynamic renditions when viewing an asset from Detail View > Renditions. You can increase or decrease the limit of renditions that are displayed.
To increase or decrease the number of image presets that are displayed:
-
Navigate to CRXDE Lite (https://localhost:4502/crx/de).
-
Navigate to the image preset listing node at
/libs/dam/gui/coral/content/commons/sidepanels/imagepresetsdetail/imgagepresetslist
-
In the limit property, change the Value, which is set to 15 by default, to the desired number.
-
Navigate to the image preset datasource at
/libs/dam/gui/coral/content/commons/sidepanels/imagepresetsdetail/imgagepresetslist/datasource
-
In the limit property, change the number to the desired number, for example,
{empty requestPathInfo.selectors[1] ? "20" : requestPathInfo.selectors[1]} -
Select Save All.
Create Image Presets creating-image-presets
Create Image Presets so you can apply settings consistently across images when you preview or publish.
If you intend to support the ingestion of AI, PDF, and EPS files so that you can generate dynamic rendition of these file formats, review the following information before you create Image Presets.
See Adobe Illustrator (AI), PostScript® (EPS), and PDF file formats.
If you intend to support the ingestion of INDD files so that you can generate dynamic rendition of this file format, review the following information before you create Image Presets.
See InDesign (INDD) file format.
To create image presets:
-
In Experience Manager, select the Experience Manager logo to access the global navigation console, then go to Tools > Assets > Image Presets.
-
Select Create.
note note NOTE To make this Image Preset responsive, erase the values in the width and height fields and leave them blank. -
In the Edit Image Preset window, enter values into the Basic and Advanced tabs as appropriate, including a name. The options are outlined in Image Preset Options. Presets appear in the left pane and can be used on-the-fly with other assets.
-
Select Save.
Creating a responsive Image Preset creating-a-responsive-image-preset
To create a responsive Image Preset, perform the steps in Create image presets. When entering the height and width in the Edit Image Preset window, erase the values and leave them blank.
Leaving them blank tells Experience Manager that this Image Preset is responsive. You can adjust the other values as appropriate.
Image Preset options image-preset-options
When you create or edit Image Presets, you have the options described in this section. In addition, Adobe recommends these “best practice” option choices to start:
-
Format (Basic tab) - Select JPEG or another format that meets your requirements. All web browsers support the JPEG image format; it offers a good balance between small files sizes and image quality. However, JPEG format images use a lossy compression scheme that can introduce unwanted image artifacts if the compression setting is too low. For that reason, Adobe recommends setting the compression quality to 75. This setting offers a good balance between image quality and small file size.
-
Enable Simple Sharpening - Do not select Enable Simple Sharpening (this sharpening filter offers less control than Unsharp Masking settings).
-
Sharpening: Resampling Mode - Select Sharp2.
Basic tab options basic-tab-options
Choosing JPEG offers the following other options:
• Quality - The JPEG quality scale is 1-100. The scale is visible when you drag the slider.
• Enable JPG Chrominance Downsampling - Because the eye is less sensitive to high-frequency color information than high-frequency luminance, JPEG images divide image information into luminance and color components. When a JPEG image is compressed, the luminance component is left at full resolution, while the color components are downsampled by averaging together groups of pixels. Downsampling reduces the data volume to half or one-third with minimal impact on perceived quality. Downsampling is not applicable to grayscale images. This technique reduces the amount of compression useful for images with high contrast (for example, images with overlaid text).
Choosing GIF or GIF with alpha provides these additional GIF Color Quantization options:
• Type - Select Adaptive (default), Web, or Macintosh. If you select GIF with Alpha, the Macintosh option is not available.
• Dither - Select Diffuse or Off.
• Number of Colors - Enter a number 2 - 256.
• Color List - Enter a comma-separated list. For example, for white, gray, and black, enter
000000,888888,ffffff.Choosing PDF, TIFF, or TIFF with alpha provides this additional option:
• Compression - Select a compression algorithm. Algorithm options for PDF are None, Zip, and Jpeg; for TIFF they are None, LZW, Jpeg, and Zip; and for TIFF with Alpha are None, LZW, and Zip.
Choosing PNG, PNG with Alpha, or EPS provides no additional options.
Advanced tab options advanced-tab-options
Define Image Preset options with image modifiers defining-image-preset-options-with-image-modifiers
In addition to the options available in the Basic and Advanced tabs, you can define image modifiers to give you more options when defining Image Presets. Image Rendering relies on the Dynamic Media Image Rendering API and is defined in detail in the HTTP Protocol Reference.
The following are some basic examples of what you can do with image modifiers.
-
op_invert - Inverts each color component for a negative image effect.
code language-xml &op_invert=1
-
op_blur - Applies a blur filter to the image.
code language-xml &op_blur=7
-
Combined commands - op_blur and op-invert
code language-xml &op_invert=1&op_blur=7
-
op_brightness - Decreases or increases the brightness.
code language-xml &op_brightness=58
-
opac - Adjusts image opacity. Lets you decrease the foreground opacity.
code language-xml opac=29
Edit image presets modifying-image-presets
-
In Experience Manager, select the Experience Manager logo to access the global navigation console, then go to Tools > Assets > Image Presets.
-
Select a preset and then select Edit. The Edit Image Preset window opens.
-
Make changes and select Save to save your changes or Cancel to cancel your changes.
Publish image presets publishing-image-presets
Image presets are automatically published for you.
Delete image presets deleting-image-presets
- In Experience Manager, select the Experience Manager logo to access the global navigation console and select the Tools icon.
- Navigate to Assets > Image Presets.
- Select a preset, and then select Delete. Dynamic Media confirms that you want to delete it. Select Delete to remove or select Cancel to return to Image Presets.