修复上传图片的颜色
将图片上传到 Shopify 时,上传图片中的颜色可能与原始颜色不同。当图片具有颜色配置文件(即存储在扩展名为 .ICC
或 .ICM
的文件中的一组数据)时,则可能会出现这种情况。颜色配置文件通常嵌入图片,以帮助将颜色在不同设备上的显示方式进行标准化。将图片上传到 Shopify 后,它们的颜色配置文件将被删除。
删除颜色配置文件的两个原因如下:
当上传的图片不包含颜色配置文件时,Web 浏览器会采用 sRGB(最常用于在 Web 上显示图片的颜色配置文件)。这可以确保您的图片在所有主要 Web 浏览器上呈现相同的外观。
颜色配置文件可能占用大量的磁盘空间,从而导致加载时间过长。
删除图片的颜色配置文件
将图片上传到 Shopify 之前,您可以通过在没有颜色配置文件的情况下保存图片来删除图片的颜色配置文件。此过程因您的图片编辑程序而异。如果您使用 Adobe 产品,请执行下方的步骤:
使用 Adobe Illustrator 或 Adobe Photoshop 删除颜色配置文件
依次点击编辑和分配配置文件。
选择 Don’t Color Manage This Document(不对此文档进行颜色管理)。
点击确定。
使用 Adobe InDesign 删除颜色配置文件
依次点击编辑和分配配置文件。
对于 RGB 配置文件和 CMYK 配置文件,请选择 Discard (Use Current Working Space)(放弃(使用当前工作空间))。
点击确定。
有关详细信息,可以查看关于颜色配置文件的 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
Click Edit, then Assign Profile.
Select Don’t Color Manage This Document.
Click OK.
Remove a color profile using Adobe InDesign
Click Edit, then Assign Profile.
For RGB Profile and CMYK Profile, select Discard (Use Current Working Space).
Click OK.
For more detailed information, you can view the Adobe documentation on color profiles.
文章内容来源:Shopify商户官方网站