huImages

Image storage & scaling in CouchDB
Download

huImages Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Maximillian Dornseif
  • Publisher web site:
  • https://cybernetics.hudora.biz/projects/wiki/huTools/

huImages Tags


huImages Description

Image storage & scaling in CouchDB The huImages project offers a way of storing images in CouchDB and serving them with high performance back to clients.It might not work for facebook or flickr scale image-pools, but for a few hundred thousand images it woks very nicely. Currently it only supports JPEG files.When you upload an image, you get back a alpha-numeric ID back for further accessing the image. You can get the URL of the Image via imageurl(ID) and scaled_imageurl(ID). You can get a complete XHTML tag via scaled_tag(ID).This module uses the concept of "sizes". A size can be a numeric specification like "240x160". If the numeric specification ends with "!" (like in "75x75!") the image is scaled and cropped to be EXACTLY of that size. If not the image keeps it aspect ratio.You can use get_random_imageid(), get_next_imageid(ID) and get_previous_imageid(ID) to implement image browsing.Full documentation: http://github.com/hudora/huImages/ Requirements: · Python


huImages Related Software