[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/pnm_src tiff.cxx
From: |
Edward Rosten |
Subject: |
[libcvd-members] libcvd/pnm_src tiff.cxx |
Date: |
Wed, 13 Oct 2010 17:05:09 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Edward Rosten <edrosten> 10/10/13 17:05:09
Modified files:
pnm_src : tiff.cxx
Log message:
Fix bug in TIFF loading, when the cooked interface has to be used.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/pnm_src/tiff.cxx?cvsroot=libcvd&r1=1.14&r2=1.15
Patches:
Index: tiff.cxx
===================================================================
RCS file: /cvsroot/libcvd/libcvd/pnm_src/tiff.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- tiff.cxx 24 Jan 2009 19:30:27 -0000 1.14
+++ tiff.cxx 13 Oct 2010 17:05:08 -0000 1.15
@@ -315,7 +315,7 @@
if(use_cooked_rgba_interface == 1)
{
//The format is "complex" and we don't know how to read it.
- type = "CVD::Rgb<unsigned char>";
+ type = "CVD::Rgba<unsigned char>";
inverted_grey=0;
}
@@ -326,7 +326,7 @@
if(use_cooked_rgba_interface)
{
- raster_data.resize(my_size.x, my_size.y);
+ raster_data.resize(my_size.x* my_size.y);
#ifdef CVD_INTERNAL_HAVE_TIFF_ORIENTED
//Read the whole image
- [libcvd-members] libcvd/pnm_src tiff.cxx,
Edward Rosten <=