Announcement

#1 2011-01-08 00:31:56

grum
Former Piwigo Team
Pantin
2007-09-10
1371

[plugin] Histogram

asked on topic [Forum, topic 16941] Histogramme

Coded in 5 hours, the plugin only does :
- histogram (with choice between Luminance, Average or Maxmimum methods)
- red, green, blue histogram (can be deactivated by setting no colors for graph)
- historgram is displayed with metadata
- when a picture is displayed :
     * if there is not histogram in cache, build it and load it through ajax call (allow to display the page quicky while histogram is rendered)
     * if there is an histogram in cache, if it was already rendered, display rendered graph
     * if there is an histogram in cache, if it was not already rendered, render and display graph on page load (this is quick)
     * when a render option is changed, all graph are purged but cache is kept, allowing to change render option at anytime


Other options will come later (manage transparency background, add graph informations like ticks, manage multi-display for histogram (actually, main, red, green and blue can be displayed on the same graph only)


My pictures with Piwigo, of course !
[ www.grum.fr ]

Offline

 

#2 2011-04-21 10:26:16

raykroc89
Member
canada
2011-04-21
10

Re: [plugin] Histogram

Thanks. I was looking for such a plugin to display my mathematical calculations.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact