Skip to content
drotiro edited this page Sep 20, 2010 · 11 revisions

PostPic: A PostgreSQL extension for image-processing

PostPic is an extension for the open source PostgreSQL dbms that enables image processing inside the database, like PostGIS does for spatial data.
It adds the new ‘image’ type to the SQL, and several functions to process images and to extract their attributes.

Eg.

select * from images where date(the_img) > '2009-01-01'::date and size(the_img) > 1600;

Traditional relational clauses can be combined in queries with image-related ones, and basic image processing can be performed in SQL.

Resources

Wiki

The pages in this Wiki help you use PostPic:

The source repository

The project repository contains

  • server: sources for the server extension
  • utils: utilities for client-side loading of images, etc.
  • jdbc: mapping for the new type, enhances the postgresql jdbc driver
  • examples: example programs and sql scripts

Copyright and license

PostPic is Copyright © 2010 Domenico Rotiroti.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.
A copy of the GNU Lesser General Public License is included in the
source distribution of this software.