Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Extracting layers from TIFF image

Avatar

Level 3

Hi,

 

Similar to PSD, the TIFF image can also have layers. We want to be able to extract the layers of TIFF files on AEM Assets and access those using Scene7 URLs.

 

We are able to achieve this for the PSD files, but can't find next steps for TIFF files. Has anyone solved this problem in the past? Any pointers would be helpful.

 

 

Thank You!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@Abie I am assuming that you are not using Cloud version of AEM, where in Binary Processing is not recommended at AEM end. This should be deployed via Microservices.

 

On Non-Cloud version, processing binaries is still possible.

Coming back to your query, I see various plugins available to process TIFF files. One of them is imageio library which is already being used in TwelveMonkey link mentioned above.
Some helpful links:
https://blog.aspose.cloud/imaging/get-tiff-frame-in-java/

https://stackoverflow.com/questions/17770071/splitting-a-multipage-tiff-image-into-individual-images...

https://stackoverflow.com/questions/26139065/how-to-read-a-tiff-file-by-tiles-with-java

 

View solution in original post

3 Replies

Avatar

Employee Advisor

@Abie 

Can you please explain how you are able to access layers for your PSD files. As far as I know, there is no OOTB way to achieve it. Is there any custom solution in play?

Avatar

Level 3

Hi @krati_garg ,

 

Indeed this is not OOTB. You can use TwelveMonkey library-

 

https://github.com/haraldk/TwelveMonkeys/tree/master/imageio/imageio-psd

 

Thanks!

Avatar

Correct answer by
Employee Advisor

@Abie I am assuming that you are not using Cloud version of AEM, where in Binary Processing is not recommended at AEM end. This should be deployed via Microservices.

 

On Non-Cloud version, processing binaries is still possible.

Coming back to your query, I see various plugins available to process TIFF files. One of them is imageio library which is already being used in TwelveMonkey link mentioned above.
Some helpful links:
https://blog.aspose.cloud/imaging/get-tiff-frame-in-java/

https://stackoverflow.com/questions/17770071/splitting-a-multipage-tiff-image-into-individual-images...

https://stackoverflow.com/questions/26139065/how-to-read-a-tiff-file-by-tiles-with-java