How to identify GIF image’s no of layers
Posted: 2018-04-04T09:52:18-07:00
Use case:
In our systsm, user can able to upload all images and it would be converted into different resolutions(thumnail, tiny and medium). We need to validate the images which is having X layers and Y resolutions.
Problem:
While converting GIF images into different resolutions because of high resolutions and more layers our server CPU utilization reaching to 100%.
I dont find any method to validate the number of layers for GIF images.
Identify image.GIF
This is not helping much.
Anyone facing similar issue and found resolutions
In our systsm, user can able to upload all images and it would be converted into different resolutions(thumnail, tiny and medium). We need to validate the images which is having X layers and Y resolutions.
Problem:
While converting GIF images into different resolutions because of high resolutions and more layers our server CPU utilization reaching to 100%.
I dont find any method to validate the number of layers for GIF images.
Identify image.GIF
This is not helping much.
Anyone facing similar issue and found resolutions