Convert Gpuimage Lookup table to Image magick lut
Posted: 2017-01-13T04:52:53-07:00
Hello everybody,
I've googled a lot and searched on this forum but i was not able to find an answer to my question.
I work for a company developing an Android / iOS photography application, that needs to apply filters and effects to images selected by the user.
We used the Gpuimage framework, based on Opengl, and the method to apply effects using lookup textures for RGB color space, like described in this article: http://liovch.blogspot.it/2012/07/add-i ... r-ios.html
We need to apply these effects on small thumbnails on client side to let show the result, then the user should send original high resolution version of the pictures to our server, in order to buy prints of them.
So our need is to apply the effects on high resolution on server side, to avoid performance issues on mobile devices.
We run our php server with ImageMagick already set up (we already make use of it for image processing).
I've tried to apply the same Gpuimage lookup textures with ImageMagick using the "clutImage" method (-clut option with command line), but the result is absolutely different, because clearly image magick color lookup table are different from gpuimage lookup textures.
Is there any method to convert gpuimage lookup textures to clut that ImageMagick undesrtands?
I've googled a lot and searched on this forum but i was not able to find an answer to my question.
I work for a company developing an Android / iOS photography application, that needs to apply filters and effects to images selected by the user.
We used the Gpuimage framework, based on Opengl, and the method to apply effects using lookup textures for RGB color space, like described in this article: http://liovch.blogspot.it/2012/07/add-i ... r-ios.html
We need to apply these effects on small thumbnails on client side to let show the result, then the user should send original high resolution version of the pictures to our server, in order to buy prints of them.
So our need is to apply the effects on high resolution on server side, to avoid performance issues on mobile devices.
We run our php server with ImageMagick already set up (we already make use of it for image processing).
I've tried to apply the same Gpuimage lookup textures with ImageMagick using the "clutImage" method (-clut option with command line), but the result is absolutely different, because clearly image magick color lookup table are different from gpuimage lookup textures.
Is there any method to convert gpuimage lookup textures to clut that ImageMagick undesrtands?