未針對AEM Assets中的影像資產產生DPI中繼資料屬性

在Adobe Experience Manager (AEM) Assets中,系統不會為影像資產產生或填入tiff:pixelDpi中繼資料屬性,而這會影響依賴此屬性進行DPI型驗證和處理的實作。 AEM會填入支援的DPI中繼資料屬性。 若要修正此問題,請使用dam:Physicalwidthindpi和dam:Physicalheightindpi擷取DPI值,並確認來源資產包含有效的內嵌DPI中繼資料。

說明 description

環境

Adobe Experience Manager as a Cloud Service (所有環境)

症狀

將影像資產上傳到AEM時,系統沒有針對任何資產型別產生或填入中繼資料屬性./jcr:content/metadata/tiff:pixelDpi。 此問題會持續在所有環境中發生,並影響所有影像格式,包括JPEG、TIFF、PNG和PSD。 依賴tiff:pixelDpi進行DPI型驗證與處理的實作會受到影響。

原因

AEM as a Cloud Service不會在資產擷取期間擷取或填入tiff:pixelDpi屬性。 而是標準中繼資料

解決方法 resolution

請依照下列步驟解決問題:

  1. 使用下列屬性從影像資產中擷取DPI值:

    • ./jcr:content/metadata/dam:Physicalwidthindpi (水準DPI)
    • ./jcr:content/metadata/dam:Physicalheightindpi (垂直DPI)
  2. 請確定您的實作使用dam:Physicalwidthindpi和dam:Physicalheightindpi,而非tiff:pixelDpi。

  3. 對於缺少這些屬性但應存在的資產,請在影像編輯器中重新儲存或重新處理來源資產,以確保DPI中繼資料已內嵌於內,然後再上傳至AEM。

  4. 如果包含有效內嵌DPI中繼資料的資產仍缺少DPI值,請先使用exiftool之類的工具驗證來源檔案的中繼資料,然後再將其上傳至AEM。

  5. 上傳或重新處理資產後,請檢查AEM中的資產中繼資料,以確認已填入dam:Physicalwidthindpi和dam:Physicalheightindpi。

recommendation-more-help
experience-cloud-kcs-help-kbarticles