修复上传图片的颜色

将图片上传到 Shopify 时,上传图片中的颜色可能与原始颜色不同。当图片具有颜色配置文件(即存储在扩展名为 .ICC 或 .ICM 的文件中的一组数据)时,则可能会出现这种情况。颜色配置文件通常嵌入图片,以帮助将颜色在不同设备上的显示方式进行标准化。将图片上传到 Shopify 后,它们的颜色配置文件将被删除。

删除颜色配置文件的两个原因如下:

  • 当上传的图片不包含颜色配置文件时,Web 浏览器会采用 sRGB(最常用于在 Web 上显示图片的颜色配置文件)。这可以确保您的图片在所有主要 Web 浏览器上呈现相同的外观。

  • 颜色配置文件可能占用大量的磁盘空间,从而导致加载时间过长。

删除图片的颜色配置文件

将图片上传到 Shopify 之前,您可以通过在没有颜色配置文件的情况下保存图片来删除图片的颜色配置文件。此过程因您的图片编辑程序而异。如果您使用 Adobe 产品,请执行下方的步骤:

使用 Adobe Illustrator 或 Adobe Photoshop 删除颜色配置文件

  1. 依次点击编辑分配配置文件

  2. 选择 Don’t Color Manage This Document(不对此文档进行颜色管理)。

  3. 点击确定

使用 Adobe InDesign 删除颜色配置文件

  1. 依次点击编辑分配配置文件

  2. 对于 RGB 配置文件和 CMYK 配置文件,请选择 Discard (Use Current Working Space)(放弃(使用当前工作空间))。

  3. 点击确定

有关详细信息,可以查看关于颜色配置文件的 Adobe 文档。

Shopify商户官网原文详情:

Fix the colors of uploaded images

When you upload an image to Shopify, the colors in the uploaded image might look different from the original. This can occur when the image has a color profile, which is a set of data stored in a file with a .ICC or .ICM extension. Color profiles are often embedded into images to help standardize the way that the colors appear on different devices. When images are uploaded to Shopify, their color profile is removed.

Color profiles are removed for two reasons:

  • When an uploaded image doesn't include a color profile, sRGB (the most common color profile used to display images on the web) is assumed by the web browser. This ensures that your images look the same across all major web browsers.

  • Color profiles can take up large amounts of disk space, which can result in heavy loading times.

Remove the color profile from your image

You can remove the color profile from your image by saving it without the color profile before uploading it to Shopify. This process varies depending on your image editing program. If you use an Adobe product, then follow the steps below:

Remove a color profile using Adobe Illustrator or Adobe Photoshop

  1. Click Edit, then Assign Profile.

  2. Select Don’t Color Manage This Document.

  3. Click OK.

Remove a color profile using Adobe InDesign

  1. Click Edit, then Assign Profile.

  2. For RGB Profile and CMYK Profile, select Discard (Use Current Working Space).

  3. Click OK.

For more detailed information, you can view the Adobe documentation on color profiles.

文章内容来源:Shopify商户官方网站


(本文内容根据网络资料整理,出于传递更多信息之目的,不代表连连国际赞同其观点和立场)