Revision: 56316
http://sourceforge.net/p/brlcad/code/56316
Author: brlcad
Date: 2013-07-30 05:03:49 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
cleanup, make pix_save a more clear default
Modified Paths:
--------------
brlcad/trunk/src/libicv/fileformat.c
Modified: brlcad/trunk/src/libicv/fileformat.c
===================================================================
--- brlcad/trunk/src/libicv/fileformat.c 2013-07-30 05:02:29 UTC (rev
56315)
+++ brlcad/trunk/src/libicv/fileformat.c 2013-07-30 05:03:49 UTC (rev
56316)
@@ -133,7 +133,6 @@
* @return double array.
*
*/
-
HIDDEN double*
uchar2double(unsigned char* data, long int size)
{
@@ -151,6 +150,8 @@
return double_data;
}
+
+
/**
* Converts double data of icv_image to unsigned char data.
* This function also does gamma correction using the gamma_corr
@@ -160,7 +161,6 @@
* Gamma correction prevents bad color aliasing.
*
*/
-
HIDDEN unsigned char*
data2uchar(const icv_image_t* bif)
{
@@ -460,9 +460,12 @@
return bw_save(bif, filename);
default:
bu_log("Unrecognized format. Outputting in PIX format.\n");
- return pix_save(bif, filename);
}
+
+ return pix_save(bif, filename);
}
+
+
int
icv_image_writeline(icv_image_t *bif, int y, void *data, ICV_DATA type)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits