Skip to content Skip to sidebar Skip to footer

Detecting Color Of An Image Stored In The Database

So what I want to do is store images inside a database and not on the file system. And after storing them, i want to detect whether the image is coloured or black& white, crop

Solution 1:

In software world (and not only there) people are making things that does one thing, but they try to make it in such a way, that this one thing will be done perfectly. It does not make sense much sense to create a database that no only store information, but also be an image editor, video clips enhancer and a text reader.

It is better to make it just a database and if it is so much in need, create 3 other programs for each of this task.

Therefore you will not find a database which will fulfill your requirements, store images in your database if you want so and then calculate your color, resize them on the application layer. If you need to do this often - then store them in database, precalculate and preresize things you need and store them in database as well. Then query based on precalculated values.

Post a Comment for "Detecting Color Of An Image Stored In The Database"