diff options
author | Constantin <jucovschi@gmail.com> | 2010-04-05 14:01:07 +0200 |
---|---|---|
committer | Constantin <jucovschi@gmail.com> | 2010-04-05 14:23:11 +0200 |
commit | 1c27972c2c05c0bee40c6562cf277caeb0908d1d (patch) | |
tree | b9e0bc51dc66e79d7cf916f78be3c0f146ae82ba | |
parent | 1848f76b15c06de4663d9d6d8bd655cc562e0f2b (diff) | |
download | rasdaman-upstream-1c27972c2c05c0bee40c6562cf277caeb0908d1d.tar.gz rasdaman-upstream-1c27972c2c05c0bee40c6562cf277caeb0908d1d.tar.xz rasdaman-upstream-1c27972c2c05c0bee40c6562cf277caeb0908d1d.zip |
fixed inv_tiff bug
-rw-r--r-- | conversion/tiff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conversion/tiff.cc b/conversion/tiff.cc index a2c3916..e451884 100644 --- a/conversion/tiff.cc +++ b/conversion/tiff.cc @@ -696,7 +696,7 @@ r_convDesc &r_Conv_TIFF::convertFrom(const char *options) throw(r_Error) // CONV for (i=0; i < width; i++) { *((float*)l) = *((float*)normal); - l += 4; + l += pixelAdd; normal += 4; } } @@ -708,7 +708,7 @@ r_convDesc &r_Conv_TIFF::convertFrom(const char *options) throw(r_Error) // CONV for(i=0; i < width; i++) { *((uint16*)l) = *((uint16*)normal); - l += 2; + l += pixelAdd; normal += 2; } } |