Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Jan 14, 2022
2 parents a5465c1 + 2798b9e commit bcdbaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tiff_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ CImg<T>& load_tiff(std::istream* tiffInStream,
TIFFSetDirectory(tif,0);
CImg<T> frame;
for (unsigned int l = nfirst_frame; l<=nlast_frame; l+=nstep_frame) {
frame._load_tiff(tif,l,0,0);
frame._load_tiff(tif,l,0,0,0);
if (l==nfirst_frame)
assign(frame._width,frame._height,1 + (nlast_frame - nfirst_frame)/nstep_frame,frame._spectrum);
if (frame._width>_width || frame._height>_height || frame._spectrum>_spectrum)
Expand Down

0 comments on commit bcdbaeb

Please sign in to comment.