Commit Graph

9 Commits

Author SHA1 Message Date
Massimo Valentini 0909a30b06 app: histogram typos
correctly offset the mask,
don't crash computing the histogram of a GRAY image selection
and don't use an integer division
2013-04-21 20:15:34 +02:00
Michael Natterer 94da46c373 app: add precision argument to gimp_image_get_format()
and use it instead of gimp_babl_format() in some places where indexed
formats can occur. Also fix some places using gimp_babl_format() to
special case indexed formats correctly.
2012-05-07 21:46:47 +02:00
Simon Budig 1f5c631970 no comma operator there... 2012-05-02 17:51:21 +02:00
Michael Natterer f624d7c16a app: calculate the histogram in 8 bit rather than creating nonsense 2012-05-02 17:51:17 +02:00
Michael Natterer 5a4cac2abd app: add XXX comment about assuming u8 to GimpHistogram 2012-05-02 17:51:09 +02:00
Michael Natterer aee6a9eb01 app: remove the legacy histogram calculation code 2012-05-02 17:51:04 +02:00
Michael Natterer 28f655ed27 app: implement the GEGL histogram with an iterator loop for now
its body can later be reused in the working histogram sink op.
2012-05-02 17:51:04 +02:00
Michael Natterer df5ab0f551 app: add gimp_histogram_clear_values() and use it
instead of abusing gimp_histogram_calculate() with a NULL region for
that purpose; calculate() is about to go away.
2012-05-02 17:51:04 +02:00
Michael Natterer 8d5471502e app: move GimpHistogram from base/ to core/ 2012-05-02 17:46:13 +02:00