Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: src/ply-image.c

Issue 6877024: Add gamma support to ply-image. (Closed) Base URL: ssh://gitrw.chromium.org:9222/ply-image.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/ply-gamma.c ('K') | « src/ply-gamma.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ply-image.c
diff --git a/src/ply-image.c b/src/ply-image.c
index 3395c9200b6d3697678562d79b786d510cf27e8f..168ecb8491b9372f79864f063631426a59aa7d67 100644
--- a/src/ply-image.c
+++ b/src/ply-image.c
@@ -451,6 +451,7 @@ ply_image_from_file(const char *path)
}
#include "ply-frame-buffer.h"
+#include "ply-gamma.h"
#include <math.h>
#include <signal.h>
@@ -562,6 +563,8 @@ main (int argc,
return exit_code;
}
+ ply_gamma_set();
+
if (clear)
{
ply_frame_buffer_clear (buffer);
« src/ply-gamma.c ('K') | « src/ply-gamma.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698