Authentic Photoblog Flavour

RGB Histogram v2.2 featured

Download (7.5 KB)

Developer Description

This addon will create a RGB Histogram for color images and a Luminosity Histogram for grayscale photos. Options include whether you want a combined/overlayed histogram (red, green, and blue channels overlayed on each other) or a stacked histogram (red, green, and blue channels separated), width (default is 256 pixels wide by 100 pixels high) and the background color for the histogram. The latest version of this addon allows you to make histograms for a range of images and is accessed by the RGB-Histogram menu. Special thanks to wjarosz who helped map the values out more accurately and blend the colors on the combined histogram.


If you had the previous version of the addon, remove the admin_RGBhistogram.php file from your addons folder.

  1. Add admin_RGBhistogram to your addons directory.
  2. Add histograms directory to your pixelpost directory and make it writable.
  3. Add $lang_histogram = "<h2>Histogram</h2>"; to your language file.
  4. Create histograms through the RGB-Histogram menu. Select range of photos that you would like to create histograms for. Choose your background color and type and press the Make Histograms button. Don't select too many or it will time out.
  5. Place <RGBHISTOGRAM> on your image_template.html file to display histogram.
  6. To delete histograms, select range of photos and press the Delete Histograms button.

See a Demo - click on info & comments to see histogram

Another Demo - click on details

Version History

1.0 - Make Histograms from edit image menu. 1.2 - Added delete histograms 2.0 - Moved addon to Addon menu page - version deleted. 2.1 - Moved addon to it's own menu and allows mass create/delete of a selected range of photos 2.2 - Added code from wjarosz to better map histogram values and blend colors of histogram.

Older Versions

Write A Review

  1. Perfect 5
    Unknown 10 Years Ago Report as Spam

    This is a very nice add for photographers. Since many of us live by the histogram is nice to be able to add the info to our posts. Nice touch! If youre looking for another demo you can checkout http://blog.robkennedy.net.

  2. Good 4
    Unknown 11 Years Ago Report as Spam

    I too wish there was a way to automate the creation of the histogram, but beyond that, the addon does everything quite nicely, fairly quickly, and is a great addition to a photoblog.

  3. Good 4
    Unknown 11 Years Ago Report as Spam

    I've been waiting for this addon since I first put my photoblog online! It is awesome! It works like a marvel. Unless I missed something, the only feature that is missing would be to have an automatic creation of the histogram instead of having to create it mannually for each photo.

    Warmly recommanded!

    Thanks Kevincrafts! Great Job!

    AMPix www.pixel-photo.net/pod