Module: Histogram block
nachonnr
Joined: 2012-08-04
Posts: 3 |
Posted: Sat, 2012-08-04 11:07 |
I think that it would be very interesting if a block could show the histogram of the photo. - http://www.pixelpost.org/extend/addons/rgb-histogram/ Thanks for your attention. |
|
Posts: 27300
I get differing results from different scripts.
Example: http://www.langleycom.com/histo.php 2 different scripts using the same image.
What one is right?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
If this is the right one:
http://www.langleycom.com/histogram.php?image_url=test_image.jpg&height=50&width=200
for this image:
http://www.langleycom.com/test_image.jpg
then I should be able to make a block out if this with the a admin page for configuring the background color as well as the chart color.
Let me know if that is what your after & that the chart is right for that image.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 181
The last thing you posted looks right.
Are you planning to generate them on the fly or store them a la thumbnails?
Posts: 27300
For the first round I think generate on the fly from the resize not the fullsize so that should help with generation time then perhaps cache them for a future version.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Version 1 for testing:
http://codex.gallery2.org/Gallery3:Modules:histogram_block
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team