From 0fd46ac59d9852af50d669544156f5190aa8a1f6 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 10 Jun 2009 15:52:55 -0400 Subject: [PATCH] dont use boa constructor in tiff --- basis/images/tiff/tiff.factor | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ;