Is there any way of specifying color bit depth on a transform?

head_in_the_clouds
head_in_the_clouds Member Posts: 1
edited August 12 in Developer APIs

I've got a customer that always wants images to be served at a maximum bit depth of 8 bits per channel; is there a way I can specify that when generating images with the Cloudinary API?

Tagged:

Answers

  • DannyFromCloudinary
    DannyFromCloudinary Member, Cloudinary Staff Posts: 151

    Hey @head_in_the_clouds. Thanks for getting in touch.

    We don't have a specific transformation that controls bit depth for images, however I have done some sample transformations in different file formats on my account, and according to exiftool, we always deliver an 8-bit image. One thing we do support though is enforcing/preventing chroma subsampling, which can have a significant impact on file size. You can read about that here: https://cloudinary.com/documentation/image_optimization#toggle_chroma_subsampling

    I hope this helps. Please let us know if you have any further questions.

    Kind regards,
    -Danny