Revision: 56269
http://sourceforge.net/p/brlcad/code/56269
Author: mohitdaga
Date: 2013-07-27 20:34:07 +0000 (Sat, 27 Jul 2013)
Log Message:
-----------
trailing ws
Modified Paths:
--------------
brlcad/trunk/src/libicv/fileformat.c
Modified: brlcad/trunk/src/libicv/fileformat.c
===================================================================
--- brlcad/trunk/src/libicv/fileformat.c 2013-07-27 19:07:57 UTC (rev
56268)
+++ brlcad/trunk/src/libicv/fileformat.c 2013-07-27 20:34:07 UTC (rev
56269)
@@ -146,12 +146,12 @@
}
/**
* Converts double data of icv_image to unsigned char data.
- * This function also does gamma correction using the gamma_corr
+ * This function also does gamma correction using the gamma_corr
* parameter of the image structure.
*
* This is mainly used for saving pix, bw and ppm type images.
* Gamma correction prevents bad color aliasing.
- *
+ *
*/
HIDDEN unsigned char*
@@ -246,8 +246,8 @@
if (bif->color_space == ICV_COLOR_SPACE_GRAY) {
icv_image_gray2rgb(bif);
} else if (bif->color_space != ICV_COLOR_SPACE_RGB) {
- bu_log("pix_save : Color Space conflict");
- return -1;
+ bu_log("pix_save : Color Space conflict");
+ return -1;
}
data = data2uchar(bif);
size = (size_t) bif->width*bif->height*3;
@@ -271,8 +271,8 @@
if (bif->color_space == ICV_COLOR_SPACE_RGB) {
icv_image_rgb2gray(bif, 0, 0, 0, 0, 0);
} else if (bif->color_space != ICV_COLOR_SPACE_GRAY) {
- bu_log("bw_save : Color Space conflict");
- return -1;
+ bu_log("bw_save : Color Space conflict");
+ return -1;
}
data = data2uchar(bif);
size = (size_t) bif->height*bif->width;
@@ -304,8 +304,8 @@
if (bif->color_space == ICV_COLOR_SPACE_GRAY) {
icv_image_gray2rgb(bif);
} else if (bif->color_space != ICV_COLOR_SPACE_RGB) {
- bu_log("ppm_save : Color Space conflict");
- return -1;
+ bu_log("ppm_save : Color Space conflict");
+ return -1;
}
data = data2uchar(bif);
size = (size_t) bif->width*bif->height*3;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits