diff --git a/basis/images/tiff/tiff.factor b/basis/images/tiff/tiff.factor index 876076e9fe..d0a84dcf0a 100755 --- a/basis/images/tiff/tiff.factor +++ b/basis/images/tiff/tiff.factor @@ -492,11 +492,11 @@ ERROR: unknown-component-order ifd ; } case ; : ifd>image ( ifd -- image ) - { - [ [ image-width find-tag ] [ image-length find-tag ] bi 2array ] - [ ifd-component-order f ] - [ bitmap>> ] - } cleave image boa ; + [ ] dip { + [ [ image-width find-tag ] [ image-length find-tag ] bi 2array >>dim ] + [ ifd-component-order >>component-order ] + [ bitmap>> >>bitmap ] + } cleave ; : tiff>image ( image -- image ) ifds>> [ ifd>image ] map first ;