!<arch>
/               1121289447  0     0     0       4690      `
   t          7:  7:  7:  7:  7:  7:  7:  g  g  g  g  g  g  g  g                   = = = S j j j q q q q q q q q q q V V V V V V V z z z                   %v %v %v %v %v ; I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I_Z13readJpegImagePKc _Z14jpegnbsubfilesPKc _Z12readGifImagePKci _Z13gifnbsubfilesPKc _Z13readTiffImagePKci _Z9load_tiffPKciPiS1_S1_S1_S1_S1_PPtPlPPv _Z11getTiffTypeiiiiP7pixtypeP7imgtype _Z22imviewTiffErrorHandlerPKcS0_Pc _Z24imviewTiffWarningHandlerPKcS0_Pc _Z15readTiffOverlayPKc _Z14tiffnbsubfilesPKc AEenv _Z10readZImagePKci _Z11load_zimagePKciPiS1_S1_S1_S1_S1_PPv _Z12readZOverlayPKc _Z16zimagenbsubfilesPKc _Z11checkendianv _Z10swapintbufPil _Z13swapdoublebufPdl _Z12readICSImagePKc _Z8load_icsPKcPPvP7pixtypePiS5_S5_ _Z13icsnbsubfilesPKc _Z12readPNMImagePKc _Z13pnmnbsubfilesPKc _Z27postscript_set_margin_index11margin_size _Z29postscript_set_custom_marginsPf _Z22postscript_get_margins11margin_sizePf _Z23compose_PostScript_codeP6himageidhhhiiiPcS1_hhP8_IO_FILE comp_schemes _Z11setTifftypeiiPiS_S_S_ _Z9save_tiffPPviPiS1_iiiiPslPKci _Z11save_zimagePKciPiS1_S1_S1_S1_S1_S1_PPv _Z8im_fopenPKcS0_ _Z9im_fcloseP8_IO_FILE _Z11stdinToTempv _Z12Send_2_plot_P6plot_tPcz _Z11plotDoublesPdiP6plot_tb _ZNSt4listIPcSaIS0_EE6insertESt14_List_iteratorIS0_RS0_PS0_ERKS0_ _ZNSt4listIPcSaIS0_EE5eraseESt14_List_iteratorIS0_RS0_PS0_E _Z17writeDoubleVectorPdi _Z9dataMPlotP6plot_tPFPczEiPPvPS1_Pib _Z9closePlotP6plot_t _Z8openPlotPc _ZNSt4listIPcSaIS0_EE14_M_create_nodeERKS0_ _ZNSt10_List_baseIPcSaIS0_EE7__clearEv _ZN7imprefsC2Ev _ZN7imprefs12defaultPrefsEv _ZN7imprefsC1Ev _ZN7imprefsD2Ev _ZN7imprefsD1Ev _ZN7imprefs9readprefsEPKc _ZN7imprefs10writeprefsEPKc _Z12socketnbcompPKc _Z10readSocketPKci _Z17readSocketOverlayPKc _Z9rawnbcompPKc _Z7readRawPKci _ZNSt8_Rb_treeISsSt4pairIKSs14rawfile_headerESt10_Select1stIS3_ESt4lessISsESaIS3_EE4findERS1_ _Z11readrawdataPKcRK14rawfile_headerRPPv _Z10readrawbufIhEiiRK14rawfile_headerRPPT_ _Z10readrawbufIsEiiRK14rawfile_headerRPPT_ _Z10readrawbufItEiiRK14rawfile_headerRPPT_ _Z10readrawbufIiEiiRK14rawfile_headerRPPT_ _Z10readrawbufIjEiiRK14rawfile_headerRPPT_ _Z10readrawbufIfEiiRK14rawfile_headerRPPT_ _Z10readrawbufIdEiiRK14rawfile_headerRPPT_ _Z14mat5nbsubfilesPKc _Z8readMat5PKci _Z28read_mat5_binary_file_headerRSiRb _Z10read_int32RSibRi _Z21read_mat5_binary_dataRSiRPPviib14mat5_data_typeR7pixtype _ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE _ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE magick_jmp _Z15initImageMagickPc _Z16magicknbsubfilesPKc _Z15testMagickImagePKc _Z15readMagickImagePKci _Z11save_magickPKcS0_iiiPhS1_S1_ _ZN6psinfoC2Ev _ZN6psinfo4initEv _ZN6psinfoC1Ev _ZN6psinfoC2EPKc _ZN6psinfoC1EPKc _ZN6psinfoD2Ev _ZN6psinfoD1Ev _ZN6psinfo14getBoundingBoxERfS0_S0_S0_ _ZN6psinfo9improveBBEffff _ZN6psinfo9parsefileEv _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE17_M_stringbuf_initESt13_Ios_Openmode _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev _ZTISt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev _ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev _ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev _ZTCSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE0_So _ZTISt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE6setbufEPci _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekoffElSt12_Ios_SeekdirSt13_Ios_Openmode _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9underflowEv _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9pbackfailEi _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE8overflowEi _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE14_M_really_syncEjj _ZNSsC1IPcEET_S1_RKSaIcE _ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag _ZTSSt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZTSSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE _ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE readjpeg.o/     1121289411  520   20    100644  3032      `
ELF                            4     (               V    S$\$0D$$   4$D$ D$D$D$D$D$\     D$    $       D$      D$Bt    Bx                B|       D$ B      B   4$1$[^Í    \$$    1           Ív '       $   $   \$\$$R\$$   $      Í&    '    D$\$$Ä      D$$t& UWVS  D$ $$@  p  D$ $   $C  $@    >   D$   l$$$$0  D$|$$$$  $4  $8  $<  $  $  U $4  1$D$$4  Ƌ$8  
E $<  09sY|$'    |$   D$$$4  $<  E 
l$ꋬ$8  T$E 09r$@  $$  [^_]Í$@  $1 rb JPEG %s
 readJpegImage: can't open file %s
         zP |                     AFC0     @      B    FN   X   p  ,    CH (   p        AAAAF    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @   3                    	           
                 %             t                     +             t                     0      2       t                   ?      2         #                  S                                 O   	             (               ]              <                     m              <  E                                  v                                (                 	              (	                                                                                                                              2      B     ]   p  ,                                	              
                                                                                                                                                 4             C             T             j             p                                                     readjpeg.cxx _Z13loadJpegImageP8_IO_FILEPiS1_S1_ _Z17my_output_messageP18jpeg_common_struct _Z15my_error_returnP18jpeg_common_struct _Z13readJpegImagePKc _Z8im_fopenPKcS0_ IOBlackBox _ZN7imageIO9setImDataEPh fclose _Z9errprintfPKcz _Z14jpegnbsubfilesPKc longjmp jpeg_std_error _setjmp jpeg_CreateDecompress jpeg_stdio_src jpeg_read_header jpeg_start_decompress _Znaj jpeg_read_scanlines jpeg_finish_decompress jpeg_destroy_decompress __gxx_personality_v0           S     [     a                         K    P                                &    p                +         $     D     \     t     readgif.o/      1121289412  520   20    100644  6228      `
ELF                            4     (               V    S$\$0D$$   4$D$4D$D$ D$D$D$D$D$  D$á    $       D$      D$Bt    Bx                B|       D$ B      B   4$1$[^Í    \$$   1        U    W1VS<D$D$P$ƺt>D$   D$   D$D$ $1҃v|$ Gt$   1҃<[^_]À|$!Iu|$"FuL$#8<  T$$D$%$    D$D$D$4$   4$4$4$4$D$É4$A4$  ~4$4$4$Ku4$h  !   ,   4$4$4$4$4$4$4$4$4$D$xP4$G4$Åst& Ktv '    4$Ku4$>   A~É4$4$4$Ku뀉D$$@   4$'4$D$4$|$t%|$LD$$(   D$2u։4$4$4$4$$F   y$   fT$$9D$%<a    U   WVS7  $7  D$$7     D$$7  t$$1҃v"$7  Gu
$7  It$   1ҁļ7  [^_]À$7  Fu$7  8  $7  $7  $    D$D$D$4$   4$4$4$4$l$lÈD$p4$Ad$l4$D$k D$j   1;\$l[  4$?  !  ,tOD$1$S   ~̍t& '    Ktv '    4$Ku4$듉4$4$4$4$4$$   4$4$$   $   4$4$$   D$pЉ$|$p D$c  4$O@D$dt4$$   $   $D$\4  4$1$   |$TD$d1l$X|$\D$LىL$P   IT$HL$HBT$D1҃L$@L$dT$<T$HT$0HD$8D$@D$4D$,4$L$,D$1D$(l$\$(D$dÃ~$D$,i  4$D$L$,	Ń~$L$,&  4$D$L$,	L$(CT$8!ՃOÃ);l$H\$(  ;l$D  ;l$4$   |  T$<\$0$   $   ;\$l|  B\  ;\$l}\$<$   B9vaJG;|$PrI|$c    D$X$       9L$XLD$XD$XD$X$   |$\ǋ$   D$P$   9wD$H9D$0t@T$4L$0  D$8fT  B9T$4~|$dD$d   L$dHD$8l$0[L$4|$T   ~I|$Tt|$TCD$X9D$X$   9D$X<      D$T|$XD$T D$X$   9D$X   D$T   D$XD$X$   9L$X   D$T   $l   |$j    |$k    $   $   ǋ|$\ǉO;D$\v'L$k9  uD$kO;D$\wT$k$6  6  $6  5  6  $5  $5  4  5  $4  $4  4  1ۋ$7  ;\$l   })6  :5     :4     C;\$l|׋$   $7  $   $7  ˋ$7  $7  
0ى$tHǍT$\$7  8tN9t/6  G5  GB4  G9uыT$\tT$\$^9tB6  G9ű$7     * |t& D$LD$d   L$dHD$8D$@D$4-4$D$,4$D$,&    $w      J19]4$6  4$5  4$4  C9|&4$D$p4$|$pt |$p:D$p$(   D$ uۉ4$4$4$4$D$k؃D$j$   4$6  4$5  4$4  C;\$l|l$   1;\$lTL$lIș   |$l4  5  6  C;\$l|!$7  9u$7  <am  rb GIF Cannot open %s
 not a GIF file!
 unknown gif extension 0x%02x
 reached EOF
 unknown gif code 0x%02x
 LZW Barf!
 Insufficient memory
 unexpected EOF
             GIF version %c%c%c. May cause trouble
                          unknown gif code 0x%02x, piking out.
                           File does not have a colormap.
        zP |                     AFC0  $   @        AFCACP(   h      6	   AFAAFo    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @   6                    	                           %             x                     +             x                     0      2       x                   ?      2                            S                                 O   	           4                  ]              P                     m              P  E                                  v                                <                	                                                                                                                            6	                                             	              
 1           F              X              c              |                                                                                                                          readgif.cxx _Z12loadGifImageP8_IO_FILEPiS1_S1_i _Z12readGifImagePKci _Z8im_fopenPKcS0_ IOBlackBox _ZN7imageIO9setImDataEPh fclose _Z9errprintfPKcz _Z13gifnbsubfilesPKc fread _Z9dbgprintfPKcz getc _Znaj _ZdaPv __gxx_personality_v0            S     [     a                             *    W    l    q                                
        (    0    8    C    e    m    u    }                                                 (    8    =    E    T    `                                        9    [    `                                        5    X    ]                                                *    <    \                D    Z	    _	    
    
    j                                    /    E    O    W    _                                 $     D     l     readtiff.o/     1121289414  520   20    100644  12376     `
ELF                            4     (               UWVS   =     z  D$Ll$PD$(D$HD$$D$DD$D$@D$D$<D$D$8D$D$`D$D$pD$$   l$ D$$   $tČ   [^_]Ít& D$4D$D$0D$D$DD$D$@D$D$<D$D$8$u    |$L   օ      D$`|$pƆ       )@   D$dB    t$t)@   D$hL$x)@   D$pBtD$tBxD$xB|D$4   D$0         D$@   D$H   $    S$    $        bv '    UWVS   D$LD$($   |$`|$D$Ht$pD$$D$PD$ D$DD$D$@D$D$<D$D$8D$1t$D$,$tČ   [^_]Í    D$4D$D$0D$D$DD$D$@D$D$<D$D$8$u|$D$0t$l$D$D$@D$D$LD$    $ËD$@D$D$LD$    $^W   V1S|$ D$<$t4    '    $ƉD$tF$[^_É|$$     $  $  $  $  $  tSD$\$   T$D$$t$\$$   $$$  $    Ét$T$ȍ      $  $  $  $  $  tSD$\$   T$D$$t$\$$   $$$  $    Ét$T$ȍ    V
   SDL$dT$\$TT$D$\   T$t$`   T$T$#   T$%   T$T$ (   T$$*   T$(-   |$XT$,+   T$0,   T$42   $
   T$8      @w0$    1&    tCt>1҃t    tt&        D[^Í@Ћ@t   1   ␸   멸   뢸   뛸   딍t& r|$Pg      벍&    '    UWVS      \$$   $   $D$p  $   L$pD$$  t$p  $   L$D$4$4$  $   T$D$4$D$d$   D$   D$4$4$$   D$  D$4$$   D$  D$u    $   $   D$  D$D$p$u    $   T$p$   D$S  D$$u1Ҹ   f$   )f$   L$p$      D$  D$$$   |$Xf	  $   ,$   $   $   $   E H,$   $   EHF$   E    $   F    U $   $   Ë$   $D$lD$d@$D$h6  $   1ftP$   @  $  $   $   É$l$lD 
  $   F9r$   $    $   D$$   t$D$ÉD$$   D$$   D$$   D$l$p$   D$  D$,$$     `  $"   1t$`$   f   $   '    1ɉL$\9T$\   D$`D$4&    T$4L$\\$hT$t$pL$\$4$x  $   @wg$  t$`l$l$   | 19sG   T$\   Љ)2D$h:F$   9rȐ&    D$\$   9T$\K$   D$`9D$`f$   tcL$l$   
$   $   t$p     C    C        4$l$h,$1'    Ĝ   [^_]Ë$   >u$   } u$   D$@$   $   É$D$DT$@$   $   $L$@ŋ$   A$   $\$@t$l$   CË6$   ǉt$(19ƉD$<snD$xT$||$tD$0T$,FG)Й|$XT$DD$0P)Й|$XE D$,EAP)Й|$XCD$D;t$<rT$($L$l$$   $   D$@   $      E @$   1T$`L$l9Ƌ<T$\\$hЉ2F:$   9r$   |$\t$`l$lT 19ƋT$hy'    FBG;$   rZ$   119GD$`1ɋT$lD$8D$\D$$'    u1l$h*T*Ћl$$CT$8frF9|l$h*T*͋$   T$\L$`t$lӋ1L$h9ލPFf9r$   1T$\\$ll$`9΋T$h`F;$   rG$   T$\t$`l$lӋD 19ލЋT$h        F9r$@   l$\1D$`l$D$f$    u#L$h$\$p$   AT$lF$$   9r$   1f$    u)L$h$\$p$   &    T$lF$$   9r$2   1D$\1;$   >T$\1L$hl$\$pT$L$$  $   @   $  $   1|$`f   $   t$lL$`<19sfËL$`   ƻ   D$\ʃ)͉0l$h*8F$   9s	$   밋$   D$`9D$`vD$\l$\;$   ;$   1t$`ftԋ$   T$l1D$`9<sFËL$`Ƌ\$\\$h2F:$   9s	$   Ë$   D$`9D$`rb$   1ɉL$`fL$   |$\t$`D$l׋T$h19s+    '    F$   G$   9rD$`9D$`r$   11D$P$   9щT$TD$\1ō, 8uKt$h2T24ۉșAD$l\$Pf4ZC;L$T\$Pc$   릋t$h2T2볋$   1D$`f/$   D$\ō< t$`D$lD$hp19s'        Ff$   9ÍArD$`9D$`r$   1l$`9D$`D$L$   ǋT$\L$`\$lՋt$h19s!L$Lt& Fʉ$   9rD$`9|$`rT$   1|$`9T$`<T$H$   ׋D$\T$`\$lt$h19s!\$H        F9rD$`9|$`r$   t$\t$1f$    uD$h$T$p$
l$lD F$$   9r$   D$h$T$p$   $   $   $L$l$   \$h$t$p4$릉$@  L$h$\$p$   D$d$   $l$lD G$   D$h$T$p$   <$   t$p4$   D$|\$p@  D$D$xD$D$tt$   D$$$   fv   19}*|$t\$xT$|f<G w"f<C wf<B w@9|$   {  \$X\$p$V$   $   T$   ^  TIFF r Cannot open file %s %s: %s Separate config Contig config @    @  @  p  @  @  @  p  @  @  @  w  @  @  @  w  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  ~  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @  @      D      D                                                                                                                               
  	   
   
     
   
   
  ]   
   
   
     
   
   
  5   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
  v   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
      1              v                                                                                                                                              Reading TIFF file %s ; [%d]x[%d], %d bps, %d spp, %d pi, %d sf
 (load_tiff): Error while reading component %d in line %d        Unrecognized pixel configuration                                (load_tiff): Error while reading line %d                        Error(TIFFRead): Not enough memory                              Error(TIFFRead): unsupported word length           zP |       (              AAAAF   (   L        AAAAF       x     n    AFCC        @      F	\              F	\  (        r   AAAAF    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rel.rodata .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @   2                    	           $  H              %             t                     +             t                    0      2       t  @                 C                                ?   	            (                 K      2         i                 _             L                    [   	            0  8      	         i              H                     y              H  E                                                                                  	              0"                                                                                                                                                            	                                        4     r    ^   `  R                                                           @                    #        :             i                 n                                                                                                                                       ,             3             ?             P             a             k             p              readtiff.cxx handlersInPlace _Z13readTiffImagePKci _Z9load_tiffPKciPiS1_S1_S1_S1_S1_PPtPlPPv _Z11getTiffTypeiiiiP7pixtypeP7imgtype IOBlackBox _ZN7imageIO18freeCurrentBuffersEv _Z22imviewTiffErrorHandlerPKcS0_Pc TIFFSetErrorHandler _Z24imviewTiffWarningHandlerPKcS0_Pc TIFFSetWarningHandler _Z15readTiffOverlayPKc _ZN7imageIO13renderOverlayEPKcPviPiS3_7pixtype _ZN7imageIO14freeRawBuffersEPvi _Z14tiffnbsubfilesPKc TIFFOpen TIFFSetDirectory TIFFClose _Z9errprintfPKcz sprintf vsprintf _Z10warnprintfPKcz TIFFGetField TIFFGetFieldDefaulted TIFFScanlineSize malloc _TIFFmalloc _Z9dbgprintfPKcz TIFFReadScanline _TIFFfree free __gxx_personality_v0         u                                               #    p                                    .    3    v                        -    5                	    1     M  !  U  "  u                         S  !    #    $  @    Y  #        %       	    	  %  	  &  	    u
    
  '  
  #  
  #  
  #    #    (    (          5  '  A    \  (  q    x      '        (        %    &  -             &  '  C  (  X    ]    i  '  u      #            '            '        #  )    .    :  '  F    W    \    h             $                                                   $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                                                                                                                                                                           $    (    ,    0    4    8    <    @    D    H    L    P    T    X    \    `    d    h    l    p    t    x    |                                                                                                                                                                          $    (    ,    0    4    8    <    @    D    H    L    P    T    X    \    `    d    h    l    p    t    x    |                                                                                                                                                                          $    (    ,    0    4    8    <    @    D    H    L    P    T    X    \    `    d    h    l    p    t    x    |                                                                                                                                                        )  $     P     |                    readZimage.o/   1121289416  520   20    100644  16764     `
ELF                      ,      4     (               WVSpD$LD$ D$HD$D$DD$D$@D$D$<D$D$PD$D$`D$$   D$$   $       t$L   Ӆ      D$Pt$`ƃ    B    )@   D$T\$d)@   D$XL$h)@   D$`BtD$dBxD$hB|1   D$@   D$<   D$H   D$D   p[^_É$    X           D$LD$ D$HD$D$D$   $   D$D$@D$D$<$   t$`$   |$PD$1\$||$t$D$,$t"؋$   \$|$   $   Č   É|$D$<t$l$D$D$DD$D$LD$    $ËD$DD$D$LD$    $댍v '    U   WVS|D$$   $D$@     D$1D$D$@$l$@,$,$1D$1D$,$D$LD$   D$H     D$Hl$l$@D$,$HL  D$H1$D$<D$H$D$8D$H$D$4D$H$D$0D$H$D$,D$H$D$(D$H$D$$L$H9   v D$04    "   |$l$`l$l$@D$D$4,$D$D$8D$D$<D$D$DD$  D$(l$Pl$D$D$,D$5   D$D$@$t6D$,    D$(    ?   D$D$@l$$H  C      B  l$$D 
   L$HC9	11   9}nl$$t t& D$$;4uYl$8D 9D uKl$0D 9D u=l$(D 9D u/l$<D 9D u!l$4D 9D ul$,D 9D uC9|G9|D$@$\$<tl$<,$L$8tD$8$T$4tl$4,$D$0tD$0$D$,tl$,,$D$(tD$($D$$tl$$,$|[^_]Ðt& J      tO      uD$$   T      ul$$D (   hX      uD$$2   GD$<tl$<,$D$8tD$8$D$4tl$4,$D$0tD$0$l$,tl$,,$|$(tD$($t$$tl$$,$\$$   $    D$l$<tl$<,$|$8tD$8$t$4tl$4,$L$0tD$0$T$,tl$,,$D$(tD$($D$$tl$$,$\$$   $@   D$t$<tD$<$L$8tl$8,$T$4tD$4$D$0tl$0,$D$,tD$,$D$(tl$(,$D$$tD$$$\$$   $   l$]$   $   D$   <$@  $   D$$  $   l$    UW1V1S      |$l$   t$8\$$D$po     1҉L$L$pT$$\$p$$1D$1D$$D$|D$   D$$_   ƋD$|D$N  |$pD$xD$   D$<$N  D$x$D$`D$x$D$\D$x$D$XD$x$D$TD$x$D$PD$x$D$LD$x$D$HT$l1;T$xD$,      \$,$   D$TL$|$pt$tt$؉D$D$X<$؉D$D$\؉D$D$`؉D$"   D$	  D$L$   l$؉D$D$P؉D$\$p5   D$$t8t$,D$L|$P        ?   l$D$$N  C      i  D$,T$H
   D$,|$,;|$x|$|#  s   $        $  1D$4L$x9$        1҉\$,$       &    9L$,T$h|   t$Ht& '    |$,D$H;u]t$\9uQ|$Tt$,9uA|$L9u5t$`|$,9u%t$X9u|$Pt$,9u	F9Ήt$,|$   T$,$   $   ~9O$   t
9L$,
  t$h\$,$   )t$,T$HK\$d$   |$,$   81ҋ|$`$   L$\;$   $   |$XBL$PCT$T$   C|$L$   P+ {s)@\$p)D$DBAT$<$)@D$@D$$|   $  t$p1ۉ4$D$$   \$,|$h9|$,           T$,L$\\$`t$T|$X)ȋ,H|$Pt$L)X4|$H)@
(b  $    t& D$8   T$pD$D$8$D$D$l>  D$,|$h9|$,aD$p$D$$@  $  T$8T$$   $\$hŋt$d\$,9   &    $   B(p  $   D$<T$@L$DD$\$pT$L$$  T$,\$h)ډD D$,L$h)ȋT u2L$,9L$h}ƉÉD $Nu,$1
   D$lD$,\$d9\$,\t$p4$D$`t|$`<$D$\tD$\$|$XtT$X$t$TtL$T$\$Pt\$P$L$Ltt$L4$T$Ht|$H<$$   (D$lĬ   [^_]Ët$4|$<D$@t$T$DL$p|$D$T$$0  T$$  \$4t$<|$@\$D$DT$pt$|$D$$  u $D$$  L$p$D$`t\$`$D$\tt$\4$D$Xt|$X<$D$TtD$T$l$PtT$P$|$LtL$L$t$Ht\$H$$   	       L$8t& 1$   D$   jD$p$T$`tT$`$D$\tL$\$D$Xt\$X$D$Ttt$T4$D$Pt|$P<$D$LtD$L$D$HtT$H$$          L$$   1$`  D$$   L$x4$     l$4	$      |$4J      tO      uD$,T$H   mT      uD$,T$H(   FX      uD$,T$H2   L$`tL$`$T$\t\$\$D$Xtt$X4$D$Tt|$T<$D$PtD$P$D$LtT$L$D$HtL$H$$@  $   t$,\$t$   D$`tT$`$D$\tL$\$D$Xt\$X$l$Ttt$T4$|$Pt|$P<$t$LtD$L$\$HtT$H$$  $   \$,L$\$   gl$`tD$`$|$\tT$\$t$XtL$X$\$Tt\$T$L$Ptt$P4$T$Lt|$L<$D$HtD$H$$  $   L$,T$L$   $@  $   D$   $  $   t$   p$  $   T$   O    1Ð        D$(t$t$$\$\$,|$4$tXt$D$    L$<$D$9t#$   )t$;1҉T$$\$t$|$$   1&    UWVSD$8t$4l$<    $   t$D$0   |$,$D$9tE$   | )v   t    t& '    1|$@t?9D$@t$$   t$,$[^_]É$`  t$,$  $  1UWVSD$8\$4l$@؋D$<؍    $   \$D$04$D$   D$9؉t$  )1<t99t"$   \$4$[^_]$`  \$4$  t@u$   4$1$  1뮐&    '    UaNJWVSL$4t$0ȋ.)BL$    L9ΉD$sv 9O9L;\$r$  )ЉD$D$$  ;\$ǉs.D$D$v $  L$9O9L;\$r$   )\$u
T$1t;\$   rt1[^_]9|  D$D$$$       D$UaNJWVS\L$t$   )B    LT$pD$  ʉT$TL$PD$D$@  $       D$D$   D$TT$PT$@\$H9s?\$     ؃D$TD$TT$P9r׋D$TT$P9s3\$t&  V  P  \$TT$PD$T9rD$@d$H$`  T$(\$D$ $    D$pT$0D$T   \$8D$   D$TT$P9s;\$v  $      ؃D$TD$TT$P9rϋD$T;D$PsC\$&    '     $V        \$TD$T;D$PrD$01d$8$  T$ \$|$t$   D$D$@|   t1|$ H\[^_]À|$    uD$(D$ wGu;z9D$(1ztD$ D$(uzD$@   D$0w1$  st& $       D$0\$0D$8\$8v $    v\$Tb   w\$@[$       D$@\$@D$H\$He$    v\$T   wD$T T$@\$H$@	  lv '    D$$D$
D$D$	D$D$D$$ZÐt& D$\$D$$D$D$D$D$D$D$D$D$D$
D$D$	D$D$D$$Ð    VS$   \$D$49s$F9rY[^Ð&    VS$   \$ D$$49s$69r[^                       Z-IMAGE rb CSIROZ version %d
 %d
 %d %s %d %d %d %d  %d %d %s
 %s
 BINARY CHAR GREY INT DOUBLE CSIRO Z version %d
 "(null)" Position in Z file: %ld
 Image buffer will be swapped
 Swapping int buffer
 Swapping double buffer
 zimagenbsubfiles: broken header for component %d, file %s
      zimagenbsubfiles: error in second part of image header for component %d, file %s
               zimagenbsubfiles: error in first part of image header for component %d, file %s
                zimagenbsubfiles: can't read nb of components in %s
            zimagenbsubfiles: faulty Z-IMAGE format %s
                     zimagenbsubfiles: cannot read file %s
                          File advertises little-endian data
                             Position in Z file after eating '\0': %ld
                      Position in Z file after skipping unwanted components: %ld
     Should have skipped %ld bytes
  load_zimage: type %d reader not implemented yet
                Can't jump over unwanted components
%s                          load_zimage: wrong first data byte in file: got %d
             load_zimage: required image index greater than number of components: %d >= %d
                  File advertises big-endian data
                                Z version too old, unknown data endianness
                     load_zimage: broken header for component %d, file %s
           load_zimage: error in second part of image header for component %d, file %s
                    load_zimage: error in first part of image header for component %d, file %s
                     load_zimage: can't read nb of components in %s
                 load_zimage: faulty Z-IMAGE format %s
                          load_zimage: cannot read file %s
                               load_zimage: incomplete image
  readCHARZimage: not enough memory to load file
                 Image buffer will not be swapped
                               readINTZimage: not enough memory to load file
                  readDOUBLEZimage: incomplete image
                             readDoubleZImage: cannot make sense of image
 because of invalid double precision values present
                               readDOUBLEZimage: not enough memory to load file
               needswapint: unswapped range = %u
                              needswapint: swapped range = %u
                                needswapdouble: unswapped log range = %g
                       needswapdouble: swapped log range = %g
                         needswapdouble: Could not restore original FP exception handler
                                needswapdouble: Could not set up FP exception handler.
                                                                                                                      l                                        l  l                                          zD  z     @@     @       zP |                   $   AAAC    D   0      F[^KN   (   h      Y   AFAAC   (           AACCF         `      C HHK   $             AAAAC0$            AAAAC0$   0        AFAAC0$   X  @     AFAACp       7    AAC         9    AAC    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .rel.rodata .rodata.cst4 .rodata.cst8 .rel.eh_frame .note.GNU-stack .comment                                                         @   I                    	           6                %                                  +                                  0      2                          ?      2         x	                 S             (  H                 O   	           >                [             @*                   h             H*                   y             X*                   u   	           A  `                             ,                                   ,  E                                Y,                                  /  `              	              (3                                                                                                                                      `       0           [                        @         @  +          -                  	              
    p  Y                                                                  $             '             2             T  0       h                               Y                                                                                                                         *             @             G             L             ]             f  P       w             }                 7         9                                                                       readZimage.cxx _Z14readCHARZimageP8_IO_FILEiii _Z13readINTZimageP8_IO_FILEiii10endianness _Z16readDOUBLEZimageP8_IO_FILEiii10endianness _Z11needswapintPil _Z14needswapdoublePdl _Z7swapinti _Z18arithExceptHandleri _Z10swapdoubled AEenv _Z10readZImagePKci _Z11load_zimagePKciPiS1_S1_S1_S1_S1_PPv IOBlackBox _ZN7imageIO18freeCurrentBuffersEv _Z12readZOverlayPKc _ZN7imageIO13renderOverlayEPKcPviPiS3_7pixtype _ZN7imageIO14freeRawBuffersEPvi _Z16zimagenbsubfilesPKc _Z8im_fopenPKcS0_ fseek ftell fscanf _Znaj fclose _ZdaPv _Z9errprintfPKcz _Z9dbgprintfPKcz _Z8skipzeroP8_IO_FILE malloc free __errno_location strerror _Z11checkendianv fread memset _Z10swapintbufPil _Z13swapdoublebufPdl signal siglongjmp __sigsetjmp log __gxx_personality_v0   T     d                                      "    ;    b    n               !        !    "    "    "    "  #  "  6  "  I  "  l      !        !  
      !  +      #    $  	  $    $  1  $  E  $  Y  $  m  $                    $  '  $  ;  $  O  $  c  $  w  $    $        %    $    $    $     $    $  (  $  <  $  N    W  %  u  $    $    $    $    $    $    $        %      )  %  :    J  %  [    k  &                       	    
	  !  	     	  &  8	    D	  !  \	  "  o	  "  	  "  	  "  	  "  	  "  	  "  :
    C
  !  t
    
  !  
    
  !  
        !    &  &              &    '       )    .  &                     &        &  /  (  h      )    )    #    $  $  $  8  $  L  $  `  $  t  $    $        %    *  &  +  1    6  %  B  #  V  $  j  $  ~  $    $    $    $    $      !  %  7  #  K  $  _  $  s  $    $    $    $    $        &        &  *    4  &  C    U    |          $    $     $    $  (  $  <  $  P  $  W    o  %    $    $    $    $    $    $    $      $  %  B  $  V  $  j  $  ~  $    $    $    $        %        %        %  ,    <  &    (    -        %    .        %  $  (  K  -  X    a  %    ,        &    /        &        %  (  (  O  -  \    a  %  }  ,        &    0        &        %    )        %  g    z  &        &      $  1  +    9  2        1        3  c    p  &  |      3  K    X  &  s  1        %    4      .    f  4  l          4            4          (    -  %        &        &                                                 $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                                                                                                                                                                           $    (    ,    0    4    8    <    @    D       5  $     H     l                        4    \            readics.o/      1121289419  520   20    100644  10588     `
ELF                            4     (               WVS0D$,D$D$(D$D$$D$D$ D$D$D$D$@$$   ÅD$          օ      D$$1Ɔ             D$(   B       D$,Bt    Bx             D$ B|          1      0[^_Í&    $    [           Ív '       Ív '    W1VS|$t$\$9}"t& '    1D1T9|[^_Ðt& W1VS|$t$\$9}4t& '    2D2LL2D2LD9|[^_ÐU1WVS  $0  D$$   $$      $D$l$$   $Å۸  $1   t$|$$1ɉL$1҉T$4$D$(z
  4$D$$H
  t$D$($D$9
  $11$4  11ۋL$(   1Ή   1  1x  1  1  D$$      $   t$ B    B     BX    Bp    Bx          T$(D$(T$T$(@T$T$(D$B:D$t&    D$CT$:D$uD$        $   t      $     T$$   :D$tD$CT$:D$uD$   $    D$D$$   $D$Ë$4  $ 	     D$ $4  9D$         '    T$$   :D$t*T$ 9T$s D$CT$:D$t
T$ 9T$rD$T$0 $   $   :D$tCB:D$u    t$0   1   CD   t$0      D
   t$0      D_  T$0:D$tCB:D$u 1C5    9}#v     T$0$D$tG9|9      $    MtmD$$$   T$$T$$   D$$&    '    T$ 9T$}D$($T$$$1  [^_]T$0tCBu 
   1҉D$1D$D$0T$$$4  BB   xT$($D$$$끍t& Mt,T$$$   D$$   D$D$$$!$4  Btd19}Kփ$T$0:D$ttCB:D$tu D$0G4$C
D$$4  ;z|$4  @    T$($D$$$MQ$4  Bt19}XT$0:D$ttCB:D$tu 1CD$
   D$1D$D$0$$4  D\G;z|$4  @X   MT$0tCBu D$0D$$4  |  $$4     x  M`T$0tCBu 1
   l$T$01$|$t$$4  BtBp   bT$0tCBu    $4  T$0T$  $$4    T$0tCBu 	      $4  t$0       \T$0tCBu $4  T$0T$  $$4       b$4  B19}OT$0:D$ttCB:D$tu 1CD$1D$D$0$$4  \|G;z|$4  @x   $4  B19}RT$0:D$ttCB:D$tu 11l$D$0Ct$$$4  ٜ   G;z|$4        U$4  B19}NցƬ   T$0:D$ttCB:D$tu D$0G4$CD$$4  ;z|$4        $4  B 19}Nց  T$0:D$ttCB:D$tu D$0G4$CD$$4  ;z|$4       I$4  P\zBN19sZT$0:D$ttCB:D$tu 11ɉD$T$0
   $Cl$L$$4    G9r$4       fT$0tCBu D$0D$$4    $$4       TD$($T$$$Z$T$($D$$$0$T$($$쐍v '    WVSĀ$   \$$   $D$$   L$$1҉T$ǅ   <$   D$1D$<$1D$1D$9Oދ$   t& t$   D$<$~)Ɓ  ۉ\$t$<$9u<$1[^_É<$ꐍ    UW1VS   $   \$ $   $   D$$$   D$|$$D$L$  1   D$D$T$$1D$1D$D$$$   D- 9O   D$Ő&    l$   D$D$$~8$      )t    fJu  |$D$l$$9ua$   uD؉tv '    fJu,$D$$1Ĝ   [^_]ÉD$l$,$몉,$D$$ȍv \$l$,$)v '    UWVS   $   \$ $   $   D$$$   D$$1D$D$|$  D$1ɻ   L$\$$11D$D$T$$$       9O   D$Őt& l$   D$D$$~6$      )t&    Hu  |$D$l$$9ua$   uD؉t    '    Hu,$D$$1Ĝ   [^_]É\$l$,$2몉,$D$$Ȑt& \$l$,$ )v '    UWVS\  $p  D$$  $   \$\$$    $    .   D$t(      މt      މu $          D$   |$$   t$$     $    D$ D$aF    D$8t(D$xt $  t$  u*v '    $       \  [^_]Ít& D$<  s  $   $|  $  $   E $   \$|     u    $     u
$  t$@      `$x  2   $x  1#   2   $|  E ؋$  ڃ#   Ktt$$      $$t  \$D$$    12u    $$t  T$T$\$D$$    ۍ$$t  T$T$\$D$$    1|$t1$  $      L$$x  2$  $      \$$x  0   $     *$  $x   #   R   $     $  $x      $      R$   $|  $  $   E    uD$    T$$     $       L$        $D$\$$`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 '   8   ?   D   P   W   ]   d   j   u           ICS parameters order sizes coordinates significant_bits format sign compression origin scale labels units byte_order SCIL_TYPE .ics ics filename layout representation parameter 
 unsigned .ids Loading %s as an ICS image real Need to swap data endianness integer Error %d in reading %s.ics        C      s    	  s	  	  
      ,      ICS header file contains invalid parameters.                    Data type must be 8bit unsigned int, 16bit signed int or 32bit float.                           ICS reader: pixel type %d not handled yet
                      ICS header file indicates data file is not a 2D or 3D image.    ICS file "%s.ics" does not exist.                               IDS file "%s.ids" is unreadable:
%s.           zP |                      AAAC@ (   D     %   ACAAF       p          AAAC(           AACAF   (           AAAAF   (           AFAAF    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .rel.data .bss .rodata.str1.1 .rel.rodata .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @                       	           #                )             `  X                   %   	           D(  p               /                                  4      2         !                G               8                  C   	           (  p               O      2                           c                                _   	           $)  8      
         m                                   }                E                                                                  0                	               !                                                                                                          0          @  ;     3     M     G            j       8          %                                                           '                       	              
                             Q          e                                                                                                                                                                                                        ,             3             D             L             S             d             u             ~              readics.cxx _Z12check_endianv _Z10swap_shortPcS_i _Z10swap_floatPcS_i _ZZ15read_ics_headerPcP3ICSE5kwrds _ZZ15read_ics_headerPcP3ICSE11keywrdtable _Z15read_ics_headerPcP3ICS _Z13read_ids_charPcPhi _Z14read_ids_shortPcPsii _Z15read_ids_doublePcPdii _ZZ8load_icsPKcPPvP7pixtypePiS5_S5_E8tmpfname _ZZ8load_icsPKcPPvP7pixtypePiS5_S5_E4tmp1 _Z12readICSImagePKc _Z8load_icsPKcPPvP7pixtypePiS5_S5_ malloc IOBlackBox _ZN7imageIO18freeCurrentBuffersEv _Z13icsnbsubfilesPKc strcpy strcat open lseek read close strchr strcmp free __strtol_internal __strtod_internal calloc _Z9dbgprintfPKcz strrchr access _Z9errprintfPKcz __errno_location strerror __gxx_personality_v0  6     D     Z              
            
        C    Y    a    u           !                "  #                U    c    s  #                    $    $  >  %  e  $  q  $              )  $  5  $    %      Y  %          X	    	  &  Q
  &  
    e      %  f      $    $    !    $    $    !    $    !       (    1    ?    e    {                !    !      %    .    :    j          '            S  $  _  !    $    !              
    :    T    u  '            !  $  -  !  T  $  `  !        (                )                  !    /    :    ?    J    O  *  ^          +  -    N    S  +        +              -    A    a          (        (      *    \    a  +            +            +    ,        -        +        $     (     ,     0     4     8     <     @     D     H     L     P     T                                                    $     (     ,     0     4        .  $     H     t                    readpnm.o/      1121289421  520   20    100644  6960      `
ELF                            4     (               U1WVSlD$     D$$   $Ņ   =  ,$D$0D$   D$D$1,1<T  $    ,$D$,D$D$(D$D$$D$D$@D$D$PD$  v '    Ǹ   D$    =            t$,   Ӆ      L$PD$@ƃ    B   )@      D$Dt$T)@   D$H\$X)@   D$PBtD$TBxD$X   B|D$(   D$$   D$    1   ,$l[^_]É$    N$    #,$D$,D$D$(D$D$$D$D$@D$D$PD$  ,$D$,D$D$(D$D$$D$D$@D$D$PD$  Ǹ   ,$D$,D$D$(D$D$$D$D$@D$D$PD$b  ],$D$,D$D$(D$D$$D$D$@D$D$PD$-  (,$D$,D$D$(D$D$$D$D$@D$D$PD$h	  Uv $@   d   v '    UWVS  $0  <$#tf1tTBЃ	v" t݃	t؃tӃ
t΃,t    1ۉ<$\BtBЃ	v   ؁  [^_]Í\$   ݉<$t t-
tt)=   ؈C
C V&    1뼍           Ív '    UWVS1ۉ   D$ t$$     |$(l$,$T$ É$D$D$ $  =   DE     D$0F    F        CD$G    HG$   D$E 
tmthD$$T$ۉǉ~7ݍt& '    T$~t$t& D$ $fNuMu֋D$4T$1[^_]ËD$É$T$ۉǉ~щݐt& L$~t$t& D$ G$NuMuE 
   v '    t$t$\$4$1҉Ãt4$1҃t   	ڋ\$Ћt$Í    U1WVSt$4   |$8D$0     l$<$T$0É$D$D$0$  =   DE     D$@F    F        CD$G    HG$   D$E 
tntiD$$T$ۉǉ~8ݍ        t$~t$t& D$0$fNuMu֋D$DT$1[^_]Ël$   ݉$T$T$0\$|$T$$   E 
           WVS  $   <$#tA1t0BЃv" t݃	t؃tӃ
t΃,t         [^_Í\$ލv '    <$
tt)=   C
C 낐U1WVS\$$   t$(D$      $T$ ŉ$D$D$,    C     
   D$0C    F        ED$HF$   D$D$ŉ$T$ǉ~5&    '    D$~t$t& D$ G$NuMuًD$4T$1[^_]Ðt& U1WVSt$(   \$$D$      $T$ ŉ$    ǋD$,C    C     
   D$0F        EGF$   D$ǉ$T$Ɖ1҅~+19} v '    t+C$҈F9|Mu׋D$4T$1[^_]Ív D$ $u    빍t& U1WVS,D$@   \$D|$H     l$L$T$@Ɖ$D$$D$@$  =   DE     D$PC    C        FD$$G    HG$   D$(E 
      \$$ۉ$T$($T$(B$T$(ǉBT$T$(j   t$ D$$T$$T$D$&    '    D$~[t$D$$ƍ&    '    D$@\$D$$fT$@$fD$@$fNuL$ uD$TT$(,1[^_]Ë\$$މ$T$($T$(B$T$(ǉBT$T$(j~t$ '    T$$~Ct$$t& D$@\$D$$T$@E$D$@G$NuL$ uCE 
   &    '    U1WVS\$4   |$8D$0     l$<$T$0Ɖ$D$D$0$u  =   DE     D$@C    C        FD$G    HG$   D$E 
      \$ۉ$T$$T$B$T$ǉBT$T$j~dt$&    \$~Kt$t& D$0\$D$$fT$0$fD$0$fNuL$uD$DT$1[^_]Ë\$މ$T$$T$B$T$ǉBT$T$j~t$'    t$~Ct$t& D$0\$D$$T$0E$D$0G$NuL$uCE 
   4  rb %2s PNM                  readPNMImage: There was some garbage in this picture
           readPNMImage: Unsupported PNM format
   f         C  x         zP |       (              ACAAC   (   L         AAAAF   $   x     u   AAAAC       P  J    CDH  $        c   ACAAC0             AAAF$           ACAAC $   0        ACAAC $   X  	  b   ACAAC@$       2   ACAAC0 GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .rel.rodata .rel.eh_frame .note.GNU-stack .comment                                                       @   B                    	           x  0              %                                  +                                 0      2                          ?      2         f                  S                                 O   	             0               _                                 [   	             X      	         i                                   y                E                                	                                                   	              ,  L                                                                                                                                                                  S     u       	  b                   c    +    2    `         t  P  J                           	                                                                                                                                           *             1             7              readpnm.cxx garbage numgot _Z14load_pbm_asciiP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z14load_pgm_asciiP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z14load_ppm_asciiP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z12load_pbm_rawP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z12load_pgm_rawP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z12load_ppm_rawP8_IO_FILEPiS1_P7pixtypeP7imgtypePPv _Z6getintP8_IO_FILE _Z8getshortP8_IO_FILE _Z6getbitP8_IO_FILE _Z12readPNMImagePKc _Z8im_fopenPKcS0_ fscanf IOBlackBox fclose _ZN7imageIO18freeCurrentBuffersEv _Z9errprintfPKcz getc _Z13pnmnbsubfilesPKc malloc fread __gxx_personality_v0      !     @     I     b   	                 k    }                            )    =    T    t            q            c    t                @    b                 $    Y    b                /    B            	    ,	    	    	    	    	    A
    k
    y
    
    X    f    u        ,                                         "                                      !  $     P     |                        4    \        cpostscript.o/  1121289423  520   20    100644  20268     `
ELF                      D9      4     (               D$,  Í    L$1ҍv '    p   B~Ð&    '    SD$ \$$w'    1)t& 
    B~[$           L$    T$D$UWVS\|$p$   $   $   D$xD$?$   \$@D$>$   D$=$   D$<V  $@   9$  t$>D$TD$D$PD$D$LD$D$HD$\$?D$t$$  $$   l$t$D$$   D$  D$<D$@l$,<$D$($   \$D$$$   D$ D$TD$D$PD$D$LD$D$HD$D$tD$[  $   t>l$$   D$$   D$D$TD$D$PD$D$LD$D$H$R  |$= u,$#  1\[^_]Él$D$TD$D$PD$D$LD$D$H$  $   "  |$t   tD$@l$(\$ $GD$GD$GD$GD$GD$GD$GD$  D$@l$(\$ $GD$GD$GD$GD$GD$GD$GD$  ,$  $   ("  KD$ \$t$t$,D$D$(|$|$0l$l$4\$$   t\$t$|$l$$   !     t>u$   !  T$           E     D$8$`  k!  T$               E     T$8C$   !  T$    $'         t?$      T$            E    2$`     T$            L    E DE$   i   T$        E    t& VS$t$@D$4\$0$E   D$   $    D$ W   D$4$4$    D$    D$  D$4$q   D$D$ $D$   D$4$4$D$<D$   D$4$   L$4$   T$,   4$D$,    D$   D$4$  D$4$D$8D$   D$4$   D$4$	  D$|$t$[^Ðt& ,    4$D$  D$S(\$XD$P$1  \$  $    D$$W   D$$$    D$    D$  D$$    D$D  D$D$$$D$   L$$$   T$$\  D$$   D$D$ɋL$<T$8   Q$|$"D$"f fD$ l$ \$l$"L$T$p  L$$D$$`  D$$  D$$   D$$	  L$$  T$([R$|$"D$"L$f fD$ l$ \$l$"T$Y      \$\$D$$$  D$$  L$$  T$  \$D$            \$\$T$$$  D$$  D$$  D$  \$D$,          UW1VS   $   ݄$   $   $  \$xD$w  ل$   1ɋ,  ل$       )ـ    \$dـ   \$`ل$   ؤ$   ؠ   ٜ$   ل$   ؤ$   ؠ   1;$   D$hٜ$   }*T;T$hDNT$h9OA;$   T$h|׋$   ~$   ~;$   m  D$x  |$$   D$ $   D$D$hل$   \$ل$   ɉD$$   \$\$$i  l$$   $    D$$   D$$      $   $   CL$P*,      )D$L*D$L؊   D$Lج$   ٜ$   D$Lؼ$   ٜ$   ,$   D$l@D$l*D$L*D$L؊   D$Lج$   D$L\$LD$LW$,,$$D$lD$h$   $   1\$X|$p19  v T$p1BT$T9      '    ;$     |$Y,  $    *Í    )D$L*L$lD$L؊   D$L*D$lD$LD$dD$LD$L\$LD$LD$`؄$   ,*D$T$   D.  $   L$D$L*D$pD$L؊   D$L*D$LD$LD$L\$LD$L,$   )@$   $    f  D$xGD$Xɋ$   \$,D$8D$w\$$D$4$   D$ $DD$DD$DD$DD$DD$DD$DD$  ً$   9k$   D$PL$TD$PL$p9,Ĭ   [^_]Ë$   T$PԉD$$     D$T$$    $    t  1$   1$   L        UWVSLl$|D$lt$`E L$d$   D$pL$hL$t   Ëu9}A&    '    ~~~or@9}'&    A9}IC9|t& '    ] L[^_]Ív 9}獴&    C9}KA9|ع   ػ   볍v t9VCPV$      |$>D$>%   fD$<l$<l$>|$.D$.f fD$,\$0D$0l$,\$(l$.\$(|$<D$<%   fD$>l$>l$<|$.D$.\$0D$0f fD$,l$,\$(l$.L$(\$$D$Bt& UWVS<t$\D$p\$X  V$|$4D$4f fD$2l$2\$,l$4|$,@  '   P  D$D$x$l$T$xt$$\$D$xh  |$\$$|$P  D$Th  t<[^_]$w    T$\   D$XL$T$T$T$xD$D$D$@  $D$  D$D$x$D$\l$X|$dt$h\$l1D$(9l$(|dONl$(D$()RT$()SH111҉D$G  D$D$xL$T$$~T$xD$D$$D$  D$ONl$(D$()RT$()tD$(GFC9l$(|:  D$D$x$$  9  D$7\$XD$D$6D$D$\ÉD$D$d$
  D$X   T$\L$D$D$D$  D$D$xT$T$$T$x   D$$D$\l$X\$d1D$(9l$(}c D$  D$D$x$D$(T$$T$$D$ D$(D$())ЋT$()&tkD$(C9l$(| ҋ|$(l$(D$())ЋT$()j&_D$x1  t$G\$$&~9  D$D$x${$  1  T$\   D$XL$T$T$T$xD$D$D$@  $D$`  D$D$x$T$X1\$dD$(9   t$\19   t& 119}(&     ; EAC99|A ҃~T$xD$  $D$ *))Љ)&tyD$\E9ǉuT$XD$(9T$(S *)))&T$x1  l$Gt$$&~  D$D$x$mS$|$4D$4f fD$2l$2\$,l$4\$,t& UWVSl$   ݄$   ݄$   $   $  \$P\$HD$G  $     D$$ۄ$   L$Pۄ$   L$P\$0D$H\$85  D$8\$8d$8   |$dD$df fD$b  l$b\$\l$dt$\Gd$0D$$   ɉ$l$b\$\l$d\$\$   '   D$P  $D$GË$   \$o   $t$  t$|$dD$dD$0D$8f fD$b$   l$b\$l$dl$b\$l$d\$$$   j  $     (  |$G u $     D$$l[^_]$  0  K    l$$   [  f  $|$$   $t$$   $\$$   $$   o  L$$$   {  T$$$     D$$  D$$   $$     D$$  D$$   $$     @    t$$   $   \$T$T$$   D$D$$D$$     L$$$   1ҋ$   T$@$   $   苜$   9l$@|lONl$@D$@)RT$@)1GD$1D$1D$  D$$   $~t& $   D$D$$D$  D$ONl$@D$@)RT$@)tD$@GFC9l$@|/  D$$   $$       D$g$   D$D$fD$$   ƉD$$   $<  \$$     L$$   D$D$D$$   T$T$$   T$$   $$   $   $   1D$@9l$@}f D$  D$$   $D$@T$,T$,D$(D$@D$@))ЋT$@)&tnD$@C9l$@| l$@D$@D$@))ЋT$@) &1  GD$$   l$$&~  D$$   $u$  1	  $      $   L$T$T$$   D$D$D$@  $D$`  D$$   $$   1$   D$@9   $   19   t& 119}(&     ; EAC99|A ҃~$   D$  $D$ *))Љ)&   $   E9ǉk$   D$@9T$@F *)))E&:$   1  D$Gl$$&~  D$$   $aD$0L$H\$0&    '    VST$D$\$L$9 t:v:sB9u[^Í    UWVSLD$pD$`,  |$xD$HD$tD$dD$hD$D    )D$l؀   \$<ـ   D$<ب   ,\$<D$<\$<,D$<,Ѕ3  \$ *Ź   L$@ؠ    ʸ  MT$@\$D$<D$<\$\$T$@t$,l$(\$<D$<D$$    ,$      $    <$   L$t$  (  T$l$`  <$<$D$@D$@  D$<$   D$S  D$<$D$DD$d  D$\$w    <$D$<$D$HD$  D$l$  <$t$  <$\$  <$<$  L$<$  T$<$  D$<$  D$<$   D$<$  D$<$  D$<$`  D$l$<$t$<$\$<$|$`  L$dL[^_]غ  T$`L[^_]  UWVS|$   ل$   ل$   $   \$dل$   \$0\$`ل$   \$@  D$@|$n,  d$dD$0    )<    VUUUه   ه   5   ا       \$,D$,   ,)Ƹ*)D$nf fD$l6)l$l\$\l$n*D$,D$,D$d\$,D$,\$,L$,,D$X,*L$`.  $<  D$$U  D$$D$XD$f  D$|$v  |$  $t$    L$$$T$\T$  T$l$    D$$$  D$$  D$$   D$$  D$$  D$l$  $|$`  $t$  $$)  L$$9  T$$  D$$Q  D$$k  D$$z  D$$  D$$   D$l$  $|$  $t$  $$f  L$$o  T$$  D$$   D$$  D$$  D$$[  D$$K  D$l$$|$$t$   $$f    L$$o  T$$  D$$@  D$$  D$$  D$$D$D$FD$+  D$$A  D$l$$=$G  Q  |$$   $   |[^_]$    f  D$$       O    L      D$$P  $H  \$$D$ D$$  D$$$H  L           A  A  A  B   B   A   A   A   A   A  A   A  @  @   B   B   B  B   B   A   A                                          B      @  @                    void postscript_get_margins(margin_size, float*)                (whichMargin >= 0) && (whichMargin < MARGIN_SIZE_NB)            Standart ps code to eventually print on a page                  Saving first image on command line into Encapsulated Postscript ** Only the first image will be saved to file **                image is oriented as landscape  Only the bottom-half of the page is used                        Only the top-half of the page is used                           %%%%Creator: %s-%s by CSIRO-MIS
                                %%%%EndComments
%%%%EndProlog
%%%%Page: 1 1
                    %%%%BeginSetup
/#copies %d def
%%%%EndSetup
                    %%%%EndComments
%%%%EndProlog
  Arrangement found : %d image(s) across, %d image(s) down        The arrangement supplied does not make sense (only %d slots for %d images).
We shall supply our own arrangement                 %ld %ld %d
[ %ld 0 0 -%ld 0 %ld ]                               {currentfile
picstr readhexstring pop}
false 3 colorimage
      Saving gray-level image to EPS  %ld %ld %d
[ %ld 0 0 -%ld 0 %ld ]
                              {currentfile picstr readhexstring pop}
image
                   {currentfile
picstr readhexstring pop}
image
                   Small frame drawn around image  box: (boundOx=%g, boundOy=%g, boundW=%g, boundH=%g);
startXpoint=%d, startYpoint= %d
           
%%%% Small ps program to write title at bottom of page
        myfont findfont startsize scalefont setfont
                        /textlength mytext stringwidth pop def
                         textlength lengthlimit le {
                                        myfont newsize selectfont
                              lengthlimit textlength sub 2 div
                               Title not printed because margins are too tight
                /huelength striplength nbgray div def
                          /tstriplength striplength swatchwidth add def
                  %%%% hairline around the ribbon
                                0 striplength sub 0 translate
      huelength stripheight lineto
                                   index grayinc mul setgray
  striplength stripheight lineto
 swatchwidth stripheight lineto
 cpostscript.cxx the whole page is used image is oriented as portrait Writing ps header %%!PS-Adobe-3.0 EPSF-3.0
 %%%%Title: Image printout
 %%%%CreationDate: %s %%%%DocumentFonts: %s
 %%%%Pages:1
 %%%%Origin: 0 0
 %%%%BoundingBox: 0 0 %d %d
 

/origstate save def
 20 dict begin
 %d 0 translate
90 rotate Writing eps header %%%%Title: %s EPS file
 %%%%DocumentFonts:
 %%%%BoundingBox: 0 0 %ld %ld
 %%%%Page: 1 1
 0 0 translate
 

showpage
 
end
 origstate restore
 %%%%Trailer
 Finished writing ps footer Finished writing eps footer Arranging images on page Printing image %d %%%% new image
 /picstr %ld string def
 %ld %ld scale
 saving RGB image to EPS %2.2x%2.2x%2.2x 
 %2.2x Saving binary image to EPS Actual printing of the image 
gsave
 %%%% printing new image
 %d %d scale
 %d %d translate
 

grestore
%%%%

 

%%%% frame around image
 0 setlinewidth
 0 setgray
 newpath
 0 0 moveto
 1 0 lineto
 1 1 lineto
 0 1 lineto
 closepath
 stroke
 image printed as RGB image Image printed as gray-level Image printed as binary Writing title /startpoint {%d %d} def
 startsize -1 minsize {
 /startsize %d def
 /minsize %d def
 /myfont {/%s} def
 /lengthlimit %d def
     /newsize exch def
 /mytext (%s) def

 startpoint pop add
 startpoint exch pop
 moveto
         exit
     } {
     } ifelse
 } for

 mytext show printing colour-test ribbon 

%%%% Optionnal ribbon
 /nbgray 256 def
 /wherex %d def
 /wherey %d def
     /index exch def
 /striplength %d def
     newpath
 /stripheight %d def
 /swatchwidth %d def
 1 1 nbgray {
 /grayinc 1 nbgray div def
 wherex wherey translate
     0 0 moveto
     huelength 0 lineto
     0 stripheight lineto
     closepath
     fill
     huelength 0 translate
 
%%%% color swatches
 striplength  0 translate
 striplength 0 lineto
 0 stripheight lineto
 swatchwidth  0 translate
 swatchwidth 0 lineto
 %d %d %d setrgbcolor
 fill
 grestore
 %%%% end of ribbon

 ** Not enough room on page **    ?   ?  @@   ?  ?       zP |       $          }   AAAACp   H         C MQH    h         AAC0             AC0         @  d    CI         d    CI (       	     AACAF   $        [   ACAACP(   (  @     AAAAC   $   T  `     AAAAC`(   |  @      AAAAC        @%  Y    FW GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata .rodata.str1.32 .rodata.str1.1 .rodata.cst4 .rel.eh_frame .note.GNU-stack .comment                                                      @   %                    	           A                 %             %                     +             &  0                  0             &  1                   8      2       &  `                 H      2        /                  W             6                   h             6                   d   	           N  h      	         r              t8                                   t8  E                                8                                  ;                	              >  -                                                                                              ,       ,       +                          8       1                                 y   @%  Y                             	         `        @  d     ,  @       L        k    [        d                             @           :                  	                                   
     '     !     K  @   _     u                  }                                                                                                                                                     cpostscript.cxx errMsg currentMarginIndex page_margins _ZZ22postscript_get_margins11margin_sizePfE19__PRETTY_FUNCTION__ _Z7myDebugPc _Z18ps_getWindowBoundshhhPfS_S_S_ _Z8ps_starthhiPcP8_IO_FILE _Z17ps_arrange_imagesP6himageidffffiihP8_IO_FILE _Z13ps_printTitleffffPcS_P8_IO_FILE _Z6ps_endP8_IO_FILE _Z13ps_drawRibbonffffP8_IO_FILE _Z9eps_start6himagedP8_IO_FILE _Z8eps_save6himagedP8_IO_FILE _Z7eps_endP8_IO_FILE _Z12arrange_pageifflldPiS_ _Z15ps_printAnImage6himageP3boxddhP8_IO_FILE _Z9getMinMaxPhlS_S_ _Z27postscript_set_margin_index11margin_size _Z29postscript_set_custom_marginsPf _Z22postscript_get_margins11margin_sizePf __assert_fail _Z23compose_PostScript_codeP6himageidhhhiiiPcS1_hhP8_IO_FILE page_formats time fprintf patchlevel appName ctime sprintf sqrt strcat _Z9dbgprintfPKcz __gxx_personality_v0         &     f     {   
                     
  T  
    
  u  
    
        "    "    
        "    "    "      :    \  
  u    |  "    "    
    "        "        "    "      .  #  7    C  $  K  %  T  &  ]  
  f  $  n    w  $    '        $        $        $        $    "    "        $    
    $    
  (  $  0    9  $  A    J  $  e  "  q    z  $        #        $    %    &    
    $    &        $    '        $      (  $  0    9  $  A    J  $        $    
    $        $        $        $        $  D    X  $  `    i  $  q    z  $        $            $        $        $        $   	    E	    a	    z	    	    	    	    4
  
  
    
  (  
    
    
    E                g          (        
        (        )  ,    6    F  $  Z  $  g    w  $        
    $    
    $  \    t  $        $        $    
  P  
  h  $  q  
  }  $        $  @    Q  $  `    p  $  |      
    $    
    $  D    P  $        $        $  i          $          2  $  G    S  $  k    y      $    $        $    
  "    '    <    A    I  $  \  $  o  $    $        $        $        $        $        $        $      (  
  f  $  r  
  ~  $        $  @    I  $        $        
    $  #  
  6  $  k    ~  $        $  (    ;  $  G      
    $    
    $  '    3  $        $        $  q                      
  P    Y  (  `    l    y  
    $            
    $        $        $        $            $      $  $  -    5  $  >    F  $  O    W  $  _  
  h  $  p  
  y  $        $        $    
    $        $        $    
    $    $    $     $       )   
  a                                        !    !  $  !    !  $  !    !  $  !    !    !  $  !    !    !  $  "    "  $  "    "    &"  $  ."  
  7"  $  ?"    H"  $  P"  
  Y"  $  a"    j"  $  r"    {"  $  "    "  $  "  
  "  $  "  
  "  $  "    "  $  "    "  $  "  
  "  $  "    "  $  "    #  $  #    #  $  #    %#  $  -#  
  6#  $  ?#    G#  $  P#    X#  $  a#    i#  $  q#    z#  $  #    #  $  #    #  $  #  
  #  $  #    #  $  #    #  $  #    #  $  #    #  $  #  $  	$  $  $  $  $$    )$    2$  $  :$    C$  $  K$    T$  $  \$  
  e$  $  m$    v$  $  ~$    $  $  $    $  $  $    $  $  $  $  $    $    $  $  %    %    $%  (  +%    n%  *  v%    %  *  %  +     $  %  $     ,  $     L     l                             ,    X            savetiff.o/     1121289424  520   20    100644  5496      `
ELF                      8      4     (               L$|$|$$T$$t$\$ G(t$w$          v ;t;D$w      ;~>t   $1t$|$É1
                           u@   퐍        U11W1VS\\$xD$Dt$|1D$@$   1D$X1|$t L$<T$HD$L}  ~$4   D$$   $D$X2     ;K)xF   T$)ȋL$X|$@D$P$D$PT$XD$  $D$L$X   D$  $D$$   D$  D$D$X$T$XŉD$  $D$$   L$XD$  $D$t$D$X  L$$uStO*  D$Xt$$D$4D$4\$*C  D$XL$$D$4D$4\$  $     $   $      D$  D$D$X$ǍpD$X$9  4$ËL$X      $Eи  T$D$$     |$$   $   l$    T$PL$$   D$ $   T$L$D$$   $    D$D$p   1$   t$T9D$T       '    ]  !      l$$   
   T$<1;t$PseL$TL$8t&   !        t$T$8L$X\$T$$x<F;t$PrD$T$   9D$TD$T$X$D$<\[^_]Ét$$6      L$<19sv L$LAL$LB9rg19]    '    ЃD$0u	 L$LAL$Lu"й   D$,D$0)   L$,B9r  t5@19&    D$@ D$@B9r19        L$DL$DB9r    19    L$HL$HfSB9rdT$TL$pT$L
 t@T$TL$pT$@D$TT$pD$DL$TD$pL$H|$$   $   l$D$PT$$   L$$   D$T$L$$   	T$X$$Z   D$T$X  t$$  D$L$X  D$$t$@        t	$  ٸ   돻   \$릹  L$)  T$l$   1$      g$   S  T$T$XD$$$@  $      T$l$<$   L   D$$D$X$  $   L$   D$<                            	         "   &   +   3   NONE LZW PACKBITS CCITTG3 CCITTG4 RLE RLEW THUNDER  a Error writing line %d w   1   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @         @   @   @      @      @   @      @      @   @      @   @   @   @                    *          TIFFwrite : Writing %d-bit, %d-component TIFF file %s: [%d]x[%d], pi=%d, sf=%d, 
with  %s compression
                          save_tiff: unsupported bits per pixel size: %d                  TIFFwrite : Writing %d-bit, %d-component TIFF file %s: [%d]x[%d], pi=%d, sf=%d, 
with no compression
                           CCITT FAX Group 3 compression scheme applies only to BINARY images                              CCITT FAX Group 4 compression scheme applies only to BINARY images                              Unsupported compression, defaulting to no compression           Tiff_save: couldn't open %s for appending                       Tiff_save: couldn't open %s for writing        zP |       $             AECACp GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .rel.data .bss .rodata.str1.1 .rel.rodata .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @                       	           H  P              )             @  $                   %   	             H               /             d                     4      2       d  N                 G                                 C   	                           O      2       	                   c             (  D                  _   	           h        
         m              l                     }              l  E                                                                                  	              `                                                                                                                                   	              
                                    $                 5          V              _              l              }                                                                                                   savetiff.cxx comp_schemes _Z11setTifftypeiiPiS_S_S_ _Z9save_tiffPPviPiS1_iiiiPslPKci TIFFOpen TIFFSetField TIFFScanlineSize _TIFFmalloc _Z9dbgprintfPKcz _Z9errprintfPKcz TIFFWriteScanline _TIFFfree TIFFClose __gxx_personality_v0   -     (    ;    {                        -    a                        #    O                    X                    y    ~                    ;    @    t                                                                                                                          $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                                                               $     saveZimage.o/   1121289426  520   20    100644  5884      `
ELF                            4     (               <    D$D$@\$,t$0t$`|$4|$Pl$8l$L$Å۸   t}t$ D$\|$l$D$D$X$D$D$TD$D$HD$D$DD$%  u0t$D$d|$l$D$D$H$D$D$DD$  t!$   \$,t$0|$4l$8<É$1t& L$1ҍv '    9   t	B~1Ë    ÐL$1ҍv '    9   t	B~1Ë   ÐL$1ҍv '    9   t	B~1Ë   ÐL$1T$9}<@9|   ø   Ð&    UWVSLD$pT$dD$$1  T$d      t$D$`\$T$$   1;l$d|VD$`&   \$$   T$T$`L$$$    D$`D$1L[^_]Ðt& T$xD$l<T$tD$hNӉT$4Ӌ$   K$TD$T$`D$4t$)   \$D$|$l$t$$xE;l$d|-l$$       \$@   D$d      t$T$`\$D$$   1;l$dT$l   D$xT$hD$HHD$DD$tD$<ƋT$pƋD$|NÉD$8$   ËK$RD$$T$<D$8\$ T$T$HD$D$Dt$T$D$D$`l$|$$E;l$dO$   &    '    1\$\$$l$l$(|$|$ t$D$$;   tD$    $    C(   $    D$,8'    D$\$t$|$l$Ë5    ~ꐍ&    JuD$,0tl$T$,$띋5    ~ωꍶ    '    Ju밋T$,:뮋5    ~ꐍ&    JuD$,00l$T$,$D$,   |$     D$,8뼐&    U1WVS,D$$D$D9D$$  \$HT$$L$T$^D$ |$$l$TD $vD$D$X41| 
D$(  1ɋD$$L$L$P9T$   l$LD &    19}&    L$T$$D$(D$L$T4$D$   l$@l$D$D$ D$D$($9ЉuMT$Gl$$T$LƋ9|L$PD$9T$mD$$|$D9|$$1,[^_]É|$L$T$L$D$$      $`     뾋$D$L$P1D$9T$   l$LD 19}{19}v '    <0 T$@9|L$l$@D$ T$l$D$$9uLl$ GT$$ŋl$LƋD 9||$PD$9T$qt$l$,$|$l$L$l$                         
         
                           #            %            (            *            -            2         wb BINARY CHAR GREY INT DOUBLE %s
%d
    %d "(null)" %d %d %d %d %s
            saveZimage: error writing header component %d
                  saveZimage: error writing first part of the header
             %d "(null)" %d %d %d %d %d %d %s
                               saveZimage: Error writing first part of the header
             saveZimage: wrote %d bytes instead of expected %d
row %, plane %d
                              saveZimage: buffer promotion failed
    a  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  W  a  a  W  W  W    W    W  W     W     W  W    W  W  W  W  o  CSIROZ version 7           zP |                      C@UHH $   @     R   AAAAC`   h      w   C FHHH$        j   ACAAC@ GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .rel.data .bss .rodata.str1.1 .rodata.str1.32 .rel.rodata .rel.eh_frame .note.GNU-stack .comment                                                       @                       	                           )             @                     %   	           D  H               /                                 4      2         E                 C      2        	                   W             
                    S   	             H              c             `                    _   	             (      
         m                                   }                E                                Q                                    P              	                                                                                                                          R    ?     j    g            q      -          -        @  -        p  '                                                           w                               
                                        E             W             ^             f             l             q                                                                                                                      saveZimage.cxx _Z11writeheaderP8_IO_FILEiPiS1_S1_S1_S1_S1_S1_ _Z10writecompsP8_IO_FILEiPiS1_S1_S1_PPv Zpixtypes _Z11zpixtypestri _Z8zpixsizei _Z12zpixrealsizei _Z6maxdimiPi HEADER7 _ZZ14promote_bufferPciiPPvE9dataout_p _ZZ14promote_bufferPciiPPvE7nbbytes _Z14promote_bufferPciiPPv _Z11save_zimagePKciPiS1_S1_S1_S1_S1_S1_PPv _Z8im_fopenPKcS0_ fclose fprintf fseek putc _Z9errprintfPKcz realloc _Z11checkendianv _Z10swapintbufPil _Z13swapdoublebufPdl fwrite _Znaj _ZdaPv __gxx_personality_v0       0                        '    8    W    h                        )    =                                        5            2    =    E    J    ]                    
    4    N     i  !                    "    !    #                   0     @     P     `     p                                                         $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                     $  $     D     l          imSystem.o/     1121289426  520   20    100644  1692      `
ELF                            4     (  
             D$T$8|t     &            :rD    Ð&    =     t1Ít& v '    S    L$$           T$$Å۸
   t0        $t\$$$1[ flim w         zP |              `   o    AH    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rel.eh_frame .note.GNU-stack .comment                                                       @                        	                            %                                  +                                 0      2                          C               8                  ?   	                            M              P                     ]              P  E                                  f                                  `     
         	              d                                                                                                                                                             	        7     &              ,              3              9   @        P              W   `   o     h              p                                                         imSystem.cxx isStd _Z8im_fopenPKcS0_ fopen stdout stdin _Z9im_fcloseP8_IO_FILE fclose _Z11stdinToTempv tempnam imTempFileName _IO_getc _IO_putc __gxx_personality_v0        "     (     2     B     b     u     z             
                           Q          $     gplot2.o/       1121289428  520   20    100644  6756      `
ELF                      L      4     (               t$t$$\$|$|$ 4$   =  OЉ$t$ÍD$($D$$D$$
   D$$\$t$|$Í        U    WVS1D$<L$l$4t$0D$D$8D$$9}q\$   \$CT$<$9}ۉ<$|$ 	   
   DD$D$D$ED$    D$D$8$[^_]벐        <D$@$@   D$    L$ T$T$D$D$@D$    D$$<Ít& WVS@    9 tz|$ t$'    D$0XC\$0$C$   D$C$    D$0@t$<$D$0D$    D$    9 u@[^_U'   WVSl$4D$$    <$    D$1t19|4$<$[^_]ËD$0ظ   \$C\$D$4$9|뿐&    UW1VS,  $H  $1ɉ;$H  L$   D$      $$P  Ë$,   T$D$E D$E $;$H  }Ut$ &    $P  4$D$D D$A   D$t$$D G$;$H  |\$$@  $,$$,  [^_]Ë$T  $L  D$$$D  $Í@$D T$Gt$TT$$;$H  |t& \$\$t'$$C$$5\$1Ðv '       \$t$t$ D$$(   tf$R       D$t[1D$   D$1D$$tt$Z   t$$C$&    ؋t$\$É$1t& ,|$4  t,Ã|$0u$        @    1T$D$$  $        $       D$    $Ð      L$$   Xw %d %g
  smooth csplines Removing %s
 FlIm plot '%s' title '%s' ,'%s' title '%s' gnuplot set title '%s'                            plot [0:%d] '%s' %s notitle with lines                          Adding %s to the list of files to remove later
 K N      D$,\$\$(D$D$$t$t$ $RPRB\$t$                   D$(t$t$ \$BCL$$\$t$               $   t	D$ BЃ           VSt$ 9t*غ   $T$9u @[^           zPL |                        C DL(   @             AFAAC0   l   P  L       C@$               AAACP (      0         AFAAC0,        k      AACAF        0  E       CD    $           C M      D  0  S       C0   \      Q       C HP     |      B       C MH         )       C         %       C          F       AAC                 C GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .gcc_except_table .rel.gnu.linkonce.t._ZNSt4listIPcSaIS0_EE6insertESt14_List_iteratorIS0_RS0_PS0_ERKS0_ .rel.gnu.linkonce.t._ZNSt4listIPcSaIS0_EE5eraseESt14_List_iteratorIS0_RS0_PS0_E .rel.gnu.linkonce.t._ZNSt4listIPcSaIS0_EE14_M_create_nodeERKS0_ .rel.gnu.linkonce.t._ZNSt10_List_baseIPcSaIS0_EE7__clearEv .rel.ctors .rel.eh_frame .note.GNU-stack .comment                                                         @                       	           \  X              %                                  +                                 0      2         i                 ?      2         p                  O                                 e                Q                  a   	                                           B                     	                   
                       %                    	                            K               F                  G  	                                        H                      	                                        L                     	                                         P
                                  P
  E                                
                                 4                	                f                                                                                                                                  P  L     3          J   0  S     z     )                                              
                                                                                                                                                                                                          	                                                    /      Q   "  q             x      B   " 
   0                                     k                                             0  E     .             5             <         J             Q             W             _             f             u                                             %   "               *      F   "  Q              gplot2.cxx gplottmpnamelist _Z15addToUnlinkListPc _Z17unlinkAllTmpFilesv _Z41__static_initialization_and_destruction_0ii __tcf_0 _GLOBAL__I__Z12Send_2_plot_P6plot_tPcz _Z12Send_2_plot_P6plot_tPcz strlen malloc vsprintf fputs fputc free _Z11plotDoublesPdiP6plot_tb fopen fprintf fclose _Z9dbgprintfPKcz _ZNSt4listIPcSaIS0_EE6insertESt14_List_iteratorIS0_RS0_PS0_ERKS0_ remove _ZNSt4listIPcSaIS0_EE5eraseESt14_List_iteratorIS0_RS0_PS0_E _Z17writeDoubleVectorPdi tempnam tmpfile _Z9dataMPlotP6plot_tPFPczEiPPvPS1_Pib sprintf strcat strcpy _Z9closePlotP6plot_t fflush pclose _Z8openPlotPc calloc popen setvbuf tmpnam _Unwind_Resume _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj __dso_handle __cxa_atexit _ZNSt4listIPcSaIS0_EE14_M_create_nodeERKS0_ _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj _ZNSt10_List_baseIPcSaIS0_EE7__clearEv __gxx_personality_v0        2     H     V     h     p                                       #    3    Z    c  !  h          "        #        !                $      2    L  &  S  '  [    d    z                         ,  )  7    j    s  )    *                            +  E  -  O  .  Z  #  b      0            1    2            3  &    P  5  W  6  _    p    u  7    4        :        9  #   8  ,   9     5  1   9           ;  $     D     p                        (    H    Q    `                        newprefio.o/    1121289430  520   20    100644  7656      `
ELF                      D      4     (               \$\$ t$$    $   ƹ      L$   T$D$4$3$   C$   C$   C$   CH$   CLt$\$ \$v 4$$&    '    \$\$ t$$    $   Ƹ   D$   D$   D$4$3$   C$   C$   C$   CH$   CLt$\$ \$v 4$$&    '    \$\$CunCuWCHu@CLu-u3   \$D$$$ى$ɉ$붍    $럍    $눍    \$\$CunCuWCHu@CLu-u3   \$D$$$ى$ɉ$붍    $럍    $눍        D$P P@ @	 @   XfgsB PghosBtviefBw PH@     @$ b@@(    @, R@@0    @8@9@4    @<    @@  Y@@D @E @F 0xffBffeffBfeB
 @L 0x1b@2dc3f@a4@
 Ðv '    UWVS   $        G   t$pD$1C$D$C$O   D$l$4$D$|$a   |$,|$L$4$T$,C1D$o   |$D$4$D$,C	1D$z   |$D$4$   D$,CCD$   \$D$4$   l$l$`,$D$     L$T$C,$D$   D$  D$   D$C,$D$   D$,$1   D$ b@D$C D$L$,$ R@1҉D$C(D$   T$D$|$1D$   D$,$D$,C01D$   |$D$,$L$,   C81҉T$|$D$,$D$,C4C9,$D$(1D$D$(D$	  D$  D$D$D$P$1  Y@  D$C<D$D$PL$T$$|$1D$,  D$D$P$D$,CD1D$<  D$D$P|$$D$,I  CEL$D$D$@$|$P  1҉D$D$@T$$D$,|$0CFY  D$<$D$   D$_  D$CH<$D$j  D$   x  L$T$CL<$D$  D$<$D$@$D$P$,$4$Č   1[^_]Í    $      D$x   D$  D$<$D$@$D$P$,$4$$뽉ŉ͍t& ܍        |\$l$   t$p|$tl$x  D$G   t$t$P4$Ca   L$4$D$C	o   T$4$D$C4$D$z   D$C   D$4$\$   |$@D$<$D$C<$D$   D$C<$D$   D$C    D$<$\$C(   l$<$\$C0   L$<$D$C8   T$<$D$C9<$D$   D$C4<$D$	  D$  D$D$D$0$C<  D$D$0$\$CDD$,  D$D$0$CED$<  D$D$0$I  l$D$D$ $CFP  L$D$D$ $Y  l$T$,$D$CH,$D$j  D$CL,$D$  D$$$  ,$D$ $D$0$<$4$\$l1t$p|$tl$x|Ít& $  @      D$  l$|$,$D$ $D$0$<$4$$뽉ŉ͍t& imprefs constructed
 imview hugues.talbot_csiro.au imprefs destructed
 General Data path = (%s)
 smoothZoomOut keepPoints mouseZoomType overlayTransparency Postscript gs gspath ghostview gvpath psRenderRes psDiplayRes psRenderDepth psRenderSmooth psAntialiasRender psBoundingBox Server pollFrequency requirePassword locahostOnly Expert hideMenu Debug 0xffffeffe xorBreakLines 0x1b2dc3a4 xorProfileLines imPrefs_ != 0 newprefio.cxx Preferences flushed
   G Um    G Um  E9*  {  r * /         D8  Qi  Z   3              ??                int imprefs::readprefs(const char*)                             int imprefs::writeprefs(const char*)           zPL |                        C DH     @            C DH     `            CD    |   0         CD ,        T  "   AAAAF            T  k   CDS  GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .gcc_except_table .rodata.cst8 .rodata .rel.eh_frame .note.GNU-stack .comment                                                        @   D                    	                            %                                  +                                  0      2                         ?             H                    Q                                 ^                e                   j                                 f   	             X      	         t              p                                   p  E                                                                                  	              D                                                                                                                                                        $     @   @   %                  	                             s                                                                                                                                           0             7  0       G    T    a                                                                                  T    1             N             k                                        newprefio.cxx _ZZN7imprefs9readprefsEPKcE19__PRETTY_FUNCTION__ _ZZN7imprefs10writeprefsEPKcE19__PRETTY_FUNCTION__ _Unwind_Resume _ZN7imprefsC2Ev _Z9dbgprintfPKcz _Znwj _ZN14Fl_PreferencesC1ENS_4RootEPKcS2_ _Znaj _ZN7imprefs12defaultPrefsEv _ZdlPv _ZN7imprefsC1Ev _ZN7imprefsD2Ev _ZN14Fl_PreferencesD1Ev _ZdaPv _ZN7imprefsD1Ev _ZN7imprefs9readprefsEPKc _ZN14Fl_Preferences15getUserdataPathEPci _ZN14Fl_PreferencesC1ERS_PKc _ZN14Fl_Preferences3getEPKcRii _ZN14Fl_Preferences3getEPKcRdd _ZN14Fl_Preferences3getEPKcPcS1_i __assert_fail _ZN7imprefs10writeprefsEPKc _ZN14Fl_Preferences3setEPKci _ZN14Fl_Preferences3setEPKcd _ZN14Fl_Preferences3setEPKcS1_ _ZN14Fl_Preferences5flushEv __gxx_personality_v0            #     *     /     H     V     e     t                                                     &    5    D    S    b                                    $    ^    v    ~                                                    !    1    F    V    \    o                                                  /    <    K    W    i    y                                    #    3    H    \    e                                                  !    -    9    A    I    c    h    z      !                              )    2    B  #  K    [  #  j    s  #  {      $                %        %        $      	  $  	    	  #  '	    7	  #  G	    P	  #  _	    h	  #  m	    	    	    	  $  	    	  #  	    	  #  	    	    	    
  #  
    ,
    ;
    D
  %  S
    \
  %  f
  &  m
    r
    z
    
    
    
    
    
    
    
    
  !  
    
            $    ,         y        n       '  $     -     D     M     d                              readsocket.o/   1121289432  520   20    100644  4060      `
ELF                      h      4     (               D$\$1ۉD$    $tX؋\$ÐUWVS<D$Px u<[^_]$    1l$L$PI9L$L$   D$L$PA4ЋF
(  $    ^ 19}`F$>NFB9s1t& fD$6D$6D$5D$7D$4D$4f9r׋^ E9|D$D$9D$^L$PA "^ 19}ؐ&    F$>NF<9sI\$0L$,    '    D$0D$0ACACACD$,D$,9rϋ^ E9|D$P@D$W$@   L$PIL$;^ 19.&    '    F$>NF<9se\$ L$    '    \$ D$ ACACACACACACACD$D$9r^ E9w\$t$t$$|$1l$$    D$ D$    $%  @	  x;s|($      \$t$|$l$ÐC$   D$    4    K   T$l1$   B#   D$   ƀ   1   D1   D1   D1BtD1BxD1B|1   D1   D1   C   D1    $'$    Kd$*      $F          WVS@|$P$   |$    $   Xu$*      @[^_Ë@$   D$FX$4$VBD$0
HD$ BD$4JHD$$BD$8JHD$(BD$D$ D$D$0D$F\$|$D$    $k$F      U                            Pixels have the wrong byte order, they need to be swapped
      Image received from socket with invalid pixel type              Component number out of range
  Read overlay from socket called
                                                                                           Read socket called
 Header id: %d
 SOCKET No data attached to header
 Header not found
        zP |                  /    CH $   8   0   >   AAAACP   `   p  z   C HHF              AAACP  GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.32 .rel.rodata .rodata.str1.1 .rel.eh_frame .note.GNU-stack .comment                                                       @                       	           d                %             $                     +             $                     0      2       @                    D                                 @   	           l  H              L      2         X                 _                                  [   	             (      	         i                                   y                E                                                                  
  `              	              H                                                                                                          0   >                                             	                             +       /     ?              J              f              w                 p  z                                                        readsocket.cxx _Z8byteSwapP12image_header _Z12socketnbcompPKc IOBlackBox _ZN7imageIO10findHeaderEPKc _Z9dbgprintfPKcz _Z9errprintfPKcz _Z10readSocketPKci _ZN7imageIO18freeCurrentBuffersEv _Z17readSocketOverlayPKc _ZN7imageIO13renderOverlayEPKcPviPiS3_7pixtype __gxx_personality_v0             L     S                                                      /                                    +    0    F    O                                                                   $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                       $     <     d          readraw.o/      1121289436  520   20    100644  16068     `
ELF                      )      4     (                   Ív '       $   $   \$|\$@$   $   $    |$D$0D$$\$D$P    T$$D$P\$ T$@D$`JB"      \$`D$P9u9$      D$D$\$|$   $   $   Č   $#   st$D$D$<$D$u    l$   ׅ      C1Ƈ    B1      F   FBt    Bx       1B|       ~   F         F   $    m\$$$&    <1ɉ|$4|$@\$,\$Dt$0l$8l$HL$<$9  SB(   $    \$D$(D$4$ËD$('    E 4$؋t$0\$,|$4l$8<É\$D$$D$4$ËD$$É\$D$ D$4$ËD$ 막\$D$D$4$ËD$닉\$D$D$4$ËD$l\$D$D$4$ËD$MT$       $D$$    %\$D$D$4$ËD$v  
   $D$|$$5      Read raw called
 Header not found
 Header found
 RAW Could not open %s, %s
 but no other error Incomplete read, %s
 1  E                            readrawdata: Unsupported pixel type %s
                         Incomplete read, %d bytes missing: %s
                          Cannot skip %d bytes (header size): %s
 -                                        -  -        q                              .      U   WV1S<1ۉt$|$TD$X\$oD$8GT$0WD$,L$T$(,$D$4T$4      19l$}8D$,t$0D$(v '    4$T$4y  C9|   t_1D$G D$D$P$       tD$4T$8D$<[^_]19}D$,|$0D$(19}1T$4)D$D$D$P$D$~D$9uC9|뎋l$L   x$D$)   |$$@   \$] $˅D,$   1D$|$$ƋD$(9D$$}21ۋT$,\$ 9T$ }19|)D$ T$,9T$ |D$$D$(9D$$|Ή4$D$0T$4D$ȉD$D$P$D$T$09uD$C9|뙋l$L   xD$   $_   |$ $ԍ    1ۉ$ƋD$0ŉ$D$9}T$4C9|1ۋD$(\$$9D$$   1ɋT$,L$ 9T$ ~   D$0ŉD$T$D$T$T$PD$$D$T$9unD$0L$~1|$0'    19}v '    AC9|OuD$ D$,9D$ |D$$T$(9T$$\D$$zT$L   xD$$_      D$ $ 1ۉ$D$$   9|"D$4$T$8     2   T$4C$9|Ȑt& ~ދT$4$Nu                 U1WV   S<D$Xl$|$TD$81D$OGT$0oL$,D$(t$,$D$4\$4      19l$}8D$0L$,T$(4 &    4$T$4  C9|   t_1D$G D$D$P$       tD$8T$4D$<[^_]19}D$0L$,T$(1&    '    9}2T$4)D$L$P$pD$D$~D$9u
C9|zl$L   x&D$)D$   $@   |$G $Ʌ.,$   1ۉt$\$$L$(9L$$}21ɋD$,L$ 9D$ }19|)D$ D$,9D$ |D$$T$(9T$$|Ή4$T$0L$4T$BD$D$P$D$T$09uL$C9|똋T$L   xD$$_      D$ $ԍ        1ۉ$ǋD$0$D$9}L$4C9|1D$$D$(9D$$   1T$,D$ 9T$    D$0D$L$D$T$PL$D$$D$L$9uv\$0L$~6t$0&    19}!v '    fC9|NuD$ D$,9D$ |D$$T$(9T$$UL$$<$jl$L   xD$   $_   t$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu             U1WV   S<D$Xl$|$TD$81D$OGT$0oL$,D$(t$,$D$4\$4      19l$}8D$0L$,T$(4 &    4$T$4  C9|   t_1D$G D$D$P$       tD$8T$4D$<[^_]19}|$,D$0t$(Ɖ1&    '    9}2T$4)D$L$P$pD$D$~L$9u
C9|zT$L   x&D$)D$$@      D$G $Ʌ.,$   D$ƋL$(1D$$9L$$}21D$ D$,9D$ }19|)D$ D$,9D$ |D$$T$(9T$$|Ή4$T$0L$4T$BD$D$P$D$T$09uL$C9|똋l$L   xD$   $_   |$ $ԍ        1ۉ$ǋD$0$D$9}L$4C9|1ۋD$(\$$9D$$   1ɋT$,L$ 9T$    D$0D$L$D$T$PL$D$$D$L$9uvD$0L$~6t$0&    19}!v '    fC9|NuD$ D$,9D$ |D$$T$(9T$$UL$$<$jT$L   xD$$_      D$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu             U1WV   S<D$Xl$|$TD$81D$OGT$0oL$,D$(t$,$D$4\$4      19l$}8D$0L$,T$(4    v 4$T$4  C9|   t_1D$G D$D$P$       tD$8T$4D$<[^_]19}|$,D$0t$(Ɖ1    '    9}2T$4)D$L$P$D$D$~L$9u
C9|zT$L   x&D$)D$$@      D$G $Ʌ.,$   D$ƋL$(1D$$9L$$}21D$ D$,9D$ }19|)D$ D$,9D$ |D$$T$(9T$$|Ή4$T$0L$4T$D$D$P$D$T$09uL$C9|똋l$L   xD$   $_   |$ $ԍ        1ۉ$ǋD$0$D$9}L$4C9|1ۋD$(\$$9D$$   1ɋT$,L$ 9T$    D$0D$L$D$T$PL$D$$D$L$9urD$0L$~2t$0    19}v '    C9|NuD$ D$,9D$ |D$$T$(9T$$XL$$<$lT$L   xD$$_      D$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu               U1WV   S<D$Xl$|$TD$81D$OGT$0oL$,D$(t$,$D$4\$4      19l$}8D$0L$,T$(4    v 4$T$4  C9|   t_1D$G D$D$P$       tD$8T$4D$<[^_]19}|$,D$0t$(Ɖ1    '    9}2T$4)D$L$P$D$D$~L$9u
C9|zT$L   x&D$)D$$@      D$G $Ʌ.,$   D$ƋL$(1D$$9L$$}21D$ D$,9D$ }19|)D$ D$,9D$ |D$$T$(9T$$|Ή4$T$0L$4T$D$D$P$D$T$09uL$C9|똋l$L   xD$   $_   |$ $ԍ        1ۉ$ǋD$0$D$9}L$4C9|1ۋD$(\$$9D$$   1ɋT$,L$ 9T$    D$0D$L$D$T$PL$D$$D$L$9urD$0L$~2t$0    19}v '    C9|NuD$ D$,9D$ |D$$T$(9T$$XL$$<$lT$L   xD$$_      D$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu               U1WV   S<D$Xl$|$TD$81D$OGT$0oL$,D$(t$,$D$4\$4      19l$}8D$0L$,T$(4    v 4$T$4  C9|   t_1D$G D$D$P$       tD$8T$4D$<[^_]19}|$,D$0t$(Ɖ1    '    9}2T$4)D$L$P$D$D$~L$9u
C9|zT$L   x&D$)D$$@      D$G $Ʌ.,$   D$ƋL$(1D$$9L$$}21D$ D$,9D$ }19|)D$ D$,9D$ |D$$T$(9T$$|Ή4$T$0L$4T$D$D$P$D$T$09uL$C9|똋l$L   xD$   $_   |$ $ԍ        1ۉ$ǋD$0$D$9}L$4C9|1ۋD$(\$$9D$$   1ɋT$,L$ 9T$    D$0D$L$D$T$PL$D$$D$L$9urD$0L$~2t$0    19}v '    C9|NuD$ D$,9D$ |D$$T$(9T$$XL$$<$lT$L   xD$$_      D$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu               UW1V   S<D$X|$l$TD$81U D$ MET$0}L$,D$(t$<$D$4\$4      19|$}7D$0L$,T$(4    4$T$4q  C9|   t]1D$E D$D$P$       tL$4T$8D$
<[^_]19}l$,T$0t$(։1    '    9}2L$4)D$D$D$P$D$ ~L$ 9u
C9|zT$ L   x&D$)D$$@      D$G $Ʌ.<$   1D$l$$L$(9L$$}#1;l$,}19|"E;l$,|D$$D$(9D$$|݉4$D$0L$4D$D$D$P$D$ T$09uL$ C9|럋|$ L   xD$   $_   \$ $Ԑt&     1ۉ$ƋD$0$D$9}T$4C9|1ɉL$$L$(9L$$   1;l$,}wD$0D$T$D$L$PT$D$$D$ T$9udD$0T$~.L$019}v '    C9|IuE;l$,|D$$L$(9L$$oD$$T$ L   xD$$_      D$ $ 1ۉ$D$$   9|"L$4$T$8     2   T$4C$9|ȅ~ދL$4$Nu         UWVSl$   D$,$    D$ hD$(tiT$,zT$|$t& uD$T$<|$^D$89؍D$8C\$<9(T$)ӅDÅ   l$(muT$(|$ T$P9|$@tID$,R0D$4T$$n|$$l$4ZT$0\$09CЋ
9)(DŅyT$ $   $   l[^_] D$($   v mg       zPL |                       FGKR    D           C@FHL (   h       2      AFACCP(          V      ACAFCP(          V      ACAFCP(          T      ACAFCP(         T      ACAFCP(   D      T      ACAFCP(   p      *      AACFCP GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .gcc_except_table .rodata.str1.32 .rel.rodata .rel.gnu.linkonce.t._Z10readrawbufIhEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufIsEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufItEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufIiEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufIjEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufIfEiiRK14rawfile_headerRPPT_ .rel.gnu.linkonce.t._Z10readrawbufIdEiiRK14rawfile_headerRPPT_ .gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSs14rawfile_headerESt10_Select1stIS3_ESt4lessISsESaIS3_EE4findERS1_ .rel.eh_frame .note.GNU-stack .comment                                                      @   }                    	           4                %                                  +                                  0      2         t                 ?             4                    Q      2       `                    e                                 a   	           5  H              q               2                 m   	           47       
                      	  V                    	           <8                             P  V                    	           D9                .              T                 *  	           L:                m              T                 i  	           T;                            p  T                   	           \<                              *                   	           d=                &             $  (                             (%                     	           l>  X                            &                                  &  E                                '                                 .                 	              1                                                                                                                                                              
                                                                                                                                                                       ,          ;              L              _              j       (  "                                                   /             N             S      2  " 
 ~                   V  "        V  "        T  "        T  "  0      T  "  [             y      *  "                                                                                                           readraw.cxx _Z9rawnbcompPKc _Unwind_Resume _Z7readRawPKci _Z9dbgprintfPKcz _ZNSsC1EPKcRKSaIcE rawfilemap _ZNSt8_Rb_treeISsSt4pairIKSs14rawfile_headerESt10_Select1stIS3_ESt4lessISsESaIS3_EE4findERS1_ _Z9errprintfPKcz _Z11readrawdataPKcRK14rawfile_headerRPPv IOBlackBox _ZN7imageIO18freeCurrentBuffersEv _ZNSs4_Rep10_M_destroyERKSaIcE open _Z10readrawbufIhEiiRK14rawfile_headerRPPT_ close _Z10readrawbufIsEiiRK14rawfile_headerRPPT_ _Z10readrawbufItEiiRK14rawfile_headerRPPT_ _Z10readrawbufIiEiiRK14rawfile_headerRPPT_ _Z10readrawbufIjEiiRK14rawfile_headerRPPT_ _Z10readrawbufIfEiiRK14rawfile_headerRPPT_ _ZN7imageIO8typeNameE7pixtype _Z10readrawbufIdEiiRK14rawfile_headerRPPT_ __errno_location strerror calloc malloc lseek read free __gxx_personality_v0    =     B     V     c     o                                      ?                    	     )    =  !  W  "    #    $    %    &    '        (       %    >  )  Q  *  `  +  o    t                                                   $     (     ,     0     4     8     <     @     D     H     L     P     T     X     \     `     d     h     l     p     t     x     |                                                  C   ,     -     .  1  /  U    o    t      *    +    ,    0    /  ?    S    X    c  *  m  +    -    -    /  l  0  z              *    +    *    +            0    0  !  0  C   ,     -     .  B  /  i              *    +    ,  	  0  3  /  V    e    j    z  *    +    -    -    /    0                *    +    *    +            0  *  0  E  0  C   ,     -     .  B  /  i              *    +    ,  	  0  3  /  V    j    o    z  *    +    -    -    /    0                *    +    *    +            0  *  0  E  0  C   ,     -     .  B  /  i              *    +    ,  	  0  3  /  V    j    o    z  *    +    -    -    /    0                *    +    *    +            0  (  0  C  0  C   ,     -     .  B  /  i              *    +    ,  	  0  3  /  V    j    o    z  *    +    -    -    /    0                *    +    *    +            0  (  0  C  0  C   ,     -     .  B  /  i              *    +    ,  	  0  3  /  V    j    o    z  *    +    -    -    /    0                *    +    *    +            0  (  0  C  0  D   ,     -     .  B  /  i              *    +    ,    0  $  /  G    [    `    k  *  u  +    -    -    /  i  0  w              *    +    *    +            0    0    0     1  $     -     H     l   	     
                H    t    readmat5.o/     1121289440  520   20    100644  11176     `
ELF                      p      4     (                  Ív '    UWVS  }t$    \$   X   P   21D$P2$F        ^      $\$   $|$   D$$
  l   |$$              X$ƅQ 8$ƅ 1   11 $   P   2         F    $t
   e[^_]É4$D$	      $   1   DЉT$D$|$4$D$     $              X$ƅQ 8$ƅ    111 $   P   2         F    $td   |$D$4$D$
  u	tU$`          X   $ƅQ 8$uD$4$D$$tU$             X$ƅQ 8$w   xD$4$D$|$D$4$D$	  u	tU$             X$ƅQ 8$PNtU$          X   $ƅQ 8$_D$4$D$D$4$D$D$$`  D$t$$   ~ȍQHڃ)ˋډT$D$4$D$|$D$4$D$  u	tU$            X$ƅQ 8$t$$B)ąҍD$  1xM  |$D$4$D$  tU$            X$ƅQ 8$$5   D$t$$D$D$D$D$4$D$|D$     ~PHʃʉT$D$4$D$       |Ӊp   B  ƃ    p1BS               Bt             Bx    B|                             X   $ƅQ 8$ƅ 11ɉ1һ    $   P   2         F    $t$           X   $ƅQ 8$-$             X$ƅQ 8$T$D$4$J@ui   ~PHʃʉT$D$4$D$       X   $ƅQ 8$'v        X   $ƅQ 8$HʋB$D$&    Ǹ         $<$F   ǉ$ƃ    Fp$$   P   2F    뙉ٍv    ǍC0C C    C    C,    $뺍    Ǎ       X   $ƅQ 8$ƅ    1ۉ11҉ ]t& V1ɺ|   S\$ L$t$$T$fD$  fD$  $$   D$D$D$$   D$D$D$D$f=IMtVf=MIu=> uD$%   fT$f|$t$`  1[^$  
    뮐    ,|$$|$0t$    t$t$\$l$(l$<\$4t$<$J@   t$T$D$D$T$T$D$D$T$D$T$8ȉ
tE 1\$t$ |$$l$(,Ív t$   D$<$r@u.t$T$D$D$T$T$D$D$T$D$딸   뒐&    UW   VSD$4|$T$Hl$0D$\$8t$DD$@T$$   D$T$  $N  wZ$    v ۉ~\$D$,$D$    ;t$<uT$81[^_]$           T$$<$d   Ív ۉ~\$D$,$T$   뎉4~P|$6D$,$|$ t6~0&    '    AQKu&    '    D$ #   !4~B|$6D$,$|$ t(~"AQKu&    '    T$%   CN~N|$    D$,$|$ t0~*󐍴&    AQQAAQKuD$ (   QCN~N|$    D$,$|$ t0~*󐍴&    AQQAAQKuT$*   |$C,$N    D$|$ t4~.        AQQAAQKuD$ -   q|$C,$N    D$|$ tT~N        AQQAAQQAAQQAAQKučt& T$2   $X   T$$   $X   萍&    '       \$\$$t$t$(D$D$ t$$tFVVFFV\$t$ Read Mat5 called
 on readmat5: byte-swap is %s.
 off readmat5: data has length %d
 MAT5 readmat5: Out of memory
                        readmat5: Cannot open file %s
  Only matrix type MAT5-datafiles supported.
                     readmat5: invalid array flags subelement
                       readmat5: complex arrays not supported
                         readmat5: invalid dimensions array subelement                   readmat5: only two-dimensional arrays supported                 readmat5: matrix has size %d x %d
                              readmat5: invalid array name subelement
                        readmat5: error reading matrix data.
                           readmat5: unsupported array class.
                             readmat5: found version %d binary MAT file, but only prepared for version 1                     readmat5: can't read binary file                                readmat5: array sizes do not match.
 "  k       s      "  ? 	 	 	 
            v            @      @                                   zPL |      $                ABBM       H             AHC       l            C0DHU (              AAFAC0        W       C II   GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata.str1.32 .gcc_except_table .rel.rodata .gnu.linkonce.r._ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE .gnu.linkonce.r._ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE .rel.eh_frame .note.GNU-stack .comment                                                         @                       	           (%                %             X                     +             X                     0      2       X  q                 ?      2         %                 O                                 e               <                  a   	           *  x               m                                                                   	            $                      	           p+  8                                                 #               E                                A  ,                               h                 	                                                                                                                                                                                       
                                                         )            ?              N          ^              o                                                                     E             s                                                    %             @             m             ~                           W                                       :             E             g             v                                                                                        ! 
 O         !                readmat5.cxx _Z13read_mat5_tagRSibRiS0_ _Z14mat5nbsubfilesPKc _Unwind_Resume _Z8readMat5PKci _Z9dbgprintfPKcz _ZNSt8ios_baseC2Ev _ZTVSt9basic_iosIcSt11char_traitsIcEE _ZTTSt14basic_ifstreamIcSt11char_traitsIcEE _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E _ZTVSt14basic_ifstreamIcSt11char_traitsIcEE _ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev _ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode _Z9errprintfPKcz _ZTVSt13basic_filebufIcSt11char_traitsIcEE _ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv _ZNSt12__basic_fileIcED1Ev _ZTVSt15basic_streambufIcSt11char_traitsIcEE _ZNSt6localeD1Ev _ZNSt8ios_baseD2Ev _Z28read_mat5_binary_file_headerRSiRb _Z10read_int32RSibRi _ZNSi5tellgEv _ZNSi5seekgESt4fposI11__mbstate_tE _Z21read_mat5_binary_dataRSiRPPviib14mat5_data_typeR7pixtype IOBlackBox _ZN7imageIO18freeCurrentBuffersEv _ZNSi4readEPci _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate _ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev _ZNSi5seekgElSt12_Ios_Seekdir calloc malloc free _ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE _ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE __gxx_personality_v0 .     3     A     F     Q     _     |                                                          /    =    g    l    v    ~           !                  '    ,    1    6    ;    [    p    |                             $    )    :    E    S    h      "                              "  "  W    \    a    f    k                                        .  "  K  "  b    k    }  #    $      "    '    2    =    Q    f    }  #      	                8    M    _    h    z  #    %  ]  $  k  &      	    $	    /	    =	    R	    j	    	    	    	    	    	     	  '  	  &  	    	    	    
     
    ,
    1
    6
    ;
    @
    `
    u
    
  (  
  $          !    /    D    Q    b    m    {          )                           
  *          6    \                            .  +  G  (  `  (                    (    (    ,  #  -  9  	  R  (  {          .    .    (    (  ]  (    (  5  (    (    (            .            (                                                 $     (     ,     0     4     8        1  $     -     L     p               readMagick.o/   1121289441  520   20    100644  5612      `
ELF                      X
      4     (               \$\$$    $$  0  \$D$   1tt& 2  @uÍt& VS4\$$@   t$@$      t$0  $\$   $   uGD$D$D$D$D$$   $$    1ɉ   14[^Ét$   T$$   $      ̍t& $       Hv '    UWVSl$   $      \$@$   t$$      D$$   D$t@        $   0  T$$\$   $      :  1;$   tt& 2  @t	;$   uD$@{k D$$  $      D$<D$8$T$8ƉD$@D$    D$*   t$1D$1$l$|$D$t$          ƃ    T$8       %      |$<          T$<         P   @t    @x    @|          t1|$<   d   1|$   $  !  D$    @     $    5      1ۉ$   1l[^_]É$   D$<k$l$ƍD$@D$    D$,   D$1D$1t$|$D$$          t$$D$LD$D$HD$D$@$=$       O   u%   u
d   "$1ɉ   $1   ɐ,  $   $4  $$  $8  ۉ$(  u!$      t$$    $    $   D$0   D$   \$D$<$! t  DЍCD ҃)tdt$<   D$   )؉D$\$ $\$<$! t  DЍCD ҃)$0    t u<$$D$B   D$   )؉D$\$ $\$<$뾐    WVS   $4  $8    $    $   D$0      \$L$T$4$v '    ! t  DЍCD ҃)tl|$<   D$   )؉D$\$ $\$4$&    ! t  DЍCD ҃)$0  6  t u4$   [^_É$D$B   D$   )؉D$\$ $\$4$          Image Magick Library initialized
                               Test Magick called. Can ImageMagick read this image?           ImageMagick reports NULL error message...
 ... No ... Yes! ReadMagickImage called
 R RGB %.256s: %s
 (%s)
 [%.1024s]         zP |                  @    CD    8   `       AAC@  (   X   P  _   AAAAC           y   FGNP         0  f   AAAF GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.32 .rodata.str1.1 .rel.eh_frame .note.GNU-stack .comment                                                       @                       	           t  H              %                                  +               $                  0      2                           @      2         L                 S                                 O   	             0               ]              	                     m              	  E                                	  v                                  0              	                                                                                                                             '                         3     y    _   0  f                       d                                	              
                    @                                                               @        )  `        @             Q             X             b             p                                         P  _                                                                                                                         4             @             Q             Y             g             p             w                                                     readMagick.cxx image_info magickImage currentName _Z18MagickErrorHandler13ExceptionTypePKcS1_ _Z20MagickWarningHandler13ExceptionTypePKcS1_ _ZZ15readMagickImagePKciE4desc magick_jmp _Z15initImageMagickPc _Z9dbgprintfPKcz InitializeMagick SetErrorHandler SetWarningHandler _Z16magicknbsubfilesPKc _Z15testMagickImagePKc GetExceptionInfo strcpy ReadImage MagickWarning DestroyImageInfo strncpy CloneImageInfo _Z15readMagickImagePKci _setjmp strncmp IsGrayImage malloc DispatchImage IOBlackBox DestroyImage _ZN7imageIO18freeCurrentBuffersEv _ZN7imageIO9setImDataEPh MagickError _Z9errprintfPKcz longjmp SetClientName snprintf strcat __errno_location strerror _Z10warnprintfPKcz __gxx_personality_v0                   "     '     ,     B     l     u     }                                                                        !    8    =    Z    _    f    k                   !                              6  "  S  #  f  #        $    %    %    %  W    ^    l    q  %  x    }      &                        '    #        $    %  /  (  P  )  a    f    p    y              &            *        +    ,      1  -  p      -    .    /    0        -  #  .  ^  ,  g      -        -    .  @  /  N  1  `  0  i      -    .  <        2  $     <     \               writeMagick.o/  1121289443  520   20    100644  3388      `
ELF                            4     (               UWV1S\  t$,$    $      $    $x  x  $|  $  ݍ[$<  $x    19}(&    $  9B9B9AB9|ߋ$p  |$P\$0<$D$$      \$      D$$  t$l$D$$|  $      |$  $   D$    $u4    udT$$p     $(   |$\$,   $1ɉ       $4$1    D$,\  [^_]É$됍v D$<D$D$8D$D$0$
   T$,$        $  ts$  tA19v $  9$  B9$  B9AB9|M$E       D$s   D$M   D$$]       r   \$M   L$T$$    2   $x  z$@       D$h   돍    $e       D$g   o   u%    u
d   $1ɉ    $1                         int save_magick(const char*, const char*, int, int, int, uchar*, uchar*, uchar*) save_magick called
 RGB for some reason Image %s failed to write %s
 pB != 0 writeMagick.cxx pG != 0 pR != 0   save_magick: Out of memory condition
                           (numcomp == 1) || (numcomp == 3)           zP |       (           J   AAACF    GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata .rodata.str1.1 .rodata.str1.32 .rel.eh_frame .note.GNU-stack .comment                                                       @   J                    	                           %                                  +                                 0               Q                   8      2         m                 G      2       `  a                  [               H                  W   	           ,                 e                                   u                E                                Q  ~                                (                	              8
  k                                                                                                                            (       Q                                                            
               `       J                                                                                                                                                                                       $             -             9             H             V              writeMagick.cxx image_info magickImage _ZZ11save_magickPKcS0_iiiPhS1_S1_E19__PRETTY_FUNCTION__ _Z11save_magickPKcS0_iiiPhS1_S1_ _Z9dbgprintfPKcz magick_jmp _setjmp malloc strcpy GetExceptionInfo ConstituteImage WriteImage __errno_location _Z9errprintfPKcz DestroyImage DestroyImageInfo free strerror MagickError CloneImageInfo __assert_fail __gxx_personality_v0     	            $     e                       	          /    4    =    E    N    U  	  p  	  y                                                g  	  l    ~  	        	        	    
        
        	              *    2    >    D          $     readps.o/       1121289447  520   20    100644  25336     `
ELF                      H2      4     ( B ?             v '    v '    \$\$t$t$$3t$\$\$        \$\$t$t$$3t$\$\$        \$\$$    \$\$\$\$\$$    \$\$\$ $tIT$                  /               L   t9@4   w$@       c   L$M   T$D$$X       D$a   D$M   ׍&    '    L$$\$t$t$|$|$ l$   l$$u4        E $t$|$l$ø           ϐD$D$D$ـ  v
ِ  ـ  vِ  D$ـ  v0٘  D$ـ  v٘  Í&    Ԑ&    UWVS  $  $  D$H $   D$D$G D$H0$4  $   $0     P$     *1D$$  P*$E        ]E       $\$   $t$   |$$uE HʋB$D$t$H$  $      1ۉ$  P$       $  $  \$Hʉ$   $  $      $  $\$$     $t$0   |$$s	  $D  c     $  $      $     $  $1$  $  $   C0C C    C    C,       $   P$       $     $  $          $  $  $0  $  $1$)  $  $   C0C C    C    C,    $   PE    *         E    $  [^_]      g   $P  $p  $`  D$|$$    D$PD$XD$TD$\$   $      1ۉ$   PD$p   DpD$pT$p\$Hʉ$   \$pD$p    $   $   D$t   C,      1$   1    C   CD$t|$t$$P8\$D$pX$T$H$P     puf$   D$P$  $\$$p   T$D$T$\$$r   |$$    \$$p  11ۍ$p  PL$D$T$\$<$,$T$OT$J@,  $  D$O<
t2<t.$p  JD$   ʉD$T$T$<$    $p  X؈T$\$p  T$D$XT$TT$T$HD$D$PD$  $D$M  T$\D$XT$T$TT$T$HD$D$PD$  $D$  T$\D$XT$T$HD$  $D$Y  |$G    $P  1ɋBL$T$D$<$tsuc$p  B9r   @   <   B   <
tB   <	tkBtx< t[$   |$$  $$    T$$p  XT$)1)Љ\$L$D$D$G\$$   뚉<$$p  t<$$p  P<$$p  (<$$p  \$$   D$\T$HD$  D$D$XD$  $D$b\$$   D$\D$D$TD$D$XD$D$PD$D$H$\$$   D$\D$D$TD$D$XD$D$PD$D$H$rD$Hـ  \$ـ  \$ـ  \$ـ  $@  \$|$G   T$H        $   D$p    J$      D$tB      11ɉD$t11$   $   $   $\$|$      PD$p   Dp   $   D$p\$$P  JB~4$p  JBb$$`  T$J$$`  T$뷉$$`  T$ق  T$p    $D$<\$$p   T$T$Hق  $\$$   |$$  11ۍ$  t$\$$\$`t$tt$$$  \$$$    L$T$`JB~ft$$D$`P    D$`$  D$T$`JB$$`  T$$$`  T$녍$P  $  T$$$    \$P$  $  HʋB$D$ct& Ɖ׸         $Ot4$4$|$pƍ$   $   $      PD$p   :1D$D$pP:$   _GX    $G      GT      l$$\$GX$4$P<$   L$\$$T$`D$tD$$D$`P    D$`$  D$T$`$`  JB   T$H             $   D$p    J$      D$tB~i   11ɉD$t11$   $   $   $\$|$      PD$p   :G\GX   $\$$뉉\$$!E   Ɖ׉$ƃ    Ep$$   PE    *E    ƉӉƉՉƉ׸   $  $     $          $  $  $0  $  $1$)  $  $   1ۉ$  1$  1$  1$  $  $  $"$Ɖ׸   $  ƃ    $  l$$   P$       Ɖ҉ƉԉƉ׋$p  JB      $  $      $     $  $1$  $  $   11ɉ$  11$  $  $  $  $  $%$$`  D$YƉ׸   $   D$p\$$P  JB$$`  D$׉ƋSPJB~"$   PD$p   Dpw$$`  D$ɉ$ƉÉ׉ƋT$`JB      $   D$p    J$      D$tB~>   11ɉD$t11$   $   \$|$   $   $2$$`  D$뭉$$`  D$_ƉVƉ   ƉC C0C    C    C,    0Ɖ   ƉC C0C    C    C,    ƉGX   G\$SPƍ$`  JB~$   P   :뫉l$$։$ҋT$`ƍ$`  JB      $   D$p    J$      D$tB~G111҉$      1ۉl$t$   $$   L$|$      D$p:\$$뫉\$$dƍ$`  Tv '    |$  tÃ|$u$    $       D$1D$̐&    '        D$  D$$   Deleting file %s
 %%%%BoundingBox: %f %f %f %f %%%%DocumentMedia: %*s %f %f  readps.cxx fileprefs != 0 showpage    translate                   Found non-'showpage' ignored
 Found document media %s
 Found page bounding box %s
 Found bounding box %s
  translate Writing %s at the begining
 Error:  void psinfo::init()                         %%%%PageBoundingBox: %f %f %f %f                                (renderBB_ < PAGESIZE_NB) && (renderBB_ >= 0)                   Parsing information from file %s
                               Leaving enough room for the final translation
                  Found 'showpage' in file, line %s
                              PS file dimensions are:  (%f, %f), %f x %f
                     going back to beginning and shifting the origin
                Exception in psinfo::parsefile -> %s                            attempt to create string with null pointer      )  C#:""""#"  ""z" " "  % # # $ %% $ %  "  "   }    
f   O [ >                 X                                                     X                                                                                                                                       ,\$$\$0t$(t$SP   JB~C   C0C C    C    C,    $$\$$t$(,Ðt& t$$  ,\$$\$0t$(t$SP   JB~6   C0C C    C    C,    $\$$t$(,Ét$$               \$\$ C   CX    $   P   CX   \$\$ D$AD$              L$ \$T$$APQ,XA   Yu1ۋ\$$1҉T$P8\$             \$\$t$|$l$K,SP΃zD$St9Sl$,Cku!tttK,|$ t0S$C,S K(uttC,&    D$ C$\$1t$|$l$   \$\$ C   CX    $   P   C\CX   $\$ \$         D$AD$              <\$0\$Dt$4t$@|$8C,tcCPK xC(|$9v)ȍT$9D$D$CЋD$D$ D$D$L$C 4$D$\$0t$4|$8< 4$CPD$ډ$       D$,D$ D$D$(D$D$$$T$                                 St19basic_ostringstreamIcSt11char_traitsIcESaIcEE               St15basic_stringbufIcSt11char_traitsIcESaIcEE                 LL$T\$@T$Xt$D\$Pɉ|$Htu؋t$D\$@|$HLÉT$D$ t$0D${PL$4$t$<$T$0t$JB~11҉L$T$$P8딉t$$܋T$0Ít$JB~&    $t$$      UWVS\\$p|$t$   C    C    W,D$? Ѓtt|$|tD$?&    t1t1ҋO   uu|$?    t& 11ɋwl$81L$41Ʉl$L$0u|$? tOoL$8l$u|$? tO$o(L$4l$011Ƀ|$|l$,   |$|   u|$? tJD$xxB)t$9D$|8L$@l$x11G1D$Dl$HD$DCD$HC        u|$? tT$,T$xx)t$09T$0}\[^_] G$<$1))1T$|$DD$,t$HD$@D$DCD$HC뻋L$l$0))l$,1    L$8l$4      UWVS<t$P|$TL$dF    F    o   D$ W,1D$\$XЃttD$    '    t1t1D$ 1Ʉu|$ t GۉD$Gx+D$9
D$t& u|$ t%GW T$x)9    '    |$ uYtEG$<$T$)Љ)T$        \$ 11l$$|$(D$$FD$(F<[^_] t& G؄ɉGt  T$Bt	;Bs ø      L$\$\$D$St9Ss:Ju+|$ uBCȍt& \$ÍBC1E|$ uBCJ      \t$Pt$`\$L|$T|$dl$XNF9F$F,t6   ;NFVCЋD$   D$;    v    \$Lt$P|$Tl$X\Ét$\$0nP$\$,$T$0\$ JB~V,$D$D$D$^ FF$)؉D$NF4$)ȉD$R8V$   T$4$Y\$$뜉4$D$3v 1E#T$0Ít$ JB~$t$$  <\$,\$Dl$8l$@t$0|$49tatKD$H)4$D$t$Xǉl$$    7؋\$,t$0|$4l$8<$   맍t&                 zPL |                 4       CDH     @   `   4       CDH     `      .       CD    |      .       CD ,              AAAAF           A       C          O       C D           C       C H          W       C D     4            C@DHH      X      .       C    p            CPPJ          ~    C`DLH                  C@DHL               C GCC: (GNU) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)  .symtab .strtab .shstrtab .rel.text .data .bss .rodata.str1.1 .rodata .rodata.str1.32 .rodata.cst4 .rel.gcc_except_table .rel.gnu.linkonce.r._ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE .rel.gnu.linkonce.r._ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE .rel.gnu.linkonce.r._ZTCSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE0_So .rel.gnu.linkonce.r._ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev .rel.gnu.linkonce.t._ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev .rel.gnu.linkonce.t._ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev .gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE17_M_stringbuf_initESt13_Ios_Openmode .gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE14_M_really_syncEjj .rel.gnu.linkonce.t._ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev .rel.gnu.linkonce.t._ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev .rel.gnu.linkonce.t._ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv .rel.gnu.linkonce.t._ZNSsC1IPcEET_S1_RKSaIcE .rel.gnu.linkonce.r._ZTISt15basic_stringbufIcSt11char_traitsIcESaIcEE .rel.gnu.linkonce.r._ZTISt19basic_ostringstreamIcSt11char_traitsIcESaIcEE .gnu.linkonce.r._ZTSSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE .gnu.linkonce.r._ZTSSt15basic_stringbufIcSt11char_traitsIcESaIcEE .gnu.linkonce.r._ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE .gnu.linkonce.r._ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE6setbufEPci .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekoffElSt12_Ios_SeekdirSt13_Ios_Openmode .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode .gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9underflowEv .gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9pbackfailEi .rel.gnu.linkonce.t._ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE8overflowEi .rel.gnu.linkonce.t._ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag .rel.ctors .rel.eh_frame .note.GNU-stack .comment                                                         @   ,                    	           W  h  @            %             l                     +             l                    0      2       l  (                ?                                 G      2         +                 W                                h               &                 d   	           p_     @   	         ~                (                   z   	           x_  0   @                         H                       	           _      @                        `  (                     	           _  0   @            `              D                   \  	           _     @                          ~                    	           x`  (   @                        p  q                    	           `      @            8              O                  4  	           `  8   @                        @                      	           `     @                        `  C                  <                                            p  W                    	            a  @   @                                              	           @a     @            6                                2  	           Ha     @   !                       .                  ~  	           `a     @   #                                           	           ha     @   %                                           	           a     @   '         ;              2                                   .                               P                                 T                     _            `                     [  	           a  (   @   -                     @!                     	           a     @   /                      #  N                   	           a     @   1                     p$                                $  j                  .             %  ~                 *  	           a  H   @   5         ~            &                    z  	           b  8   @   7                     '                      	           Pb     @   9                     '                     	           Xb     @   ;                       )                                   )  E                                E)   	                               <  	  A   .         	              hF                                                                                                                                                                                      	                                                         C     A     s                                                                                                                                        !              #              %              '              )              *              +              ,              -              /              1              3              4              5              7 {                       9              ;              =              >                                          4                      `   4           .                                    .     ,             6             D         k             x  @  x                                                                              b                                                     <             h                                                                 9             J             ]             z                      !        (   !               )      D   !  [             e                                                                              D             ]             d             v                                                             " ! M             _      C   "                                               q   "  =             N         ! '       O   "        W   "           "  7	         "  x	      (   !  	             	             	             	             	             	         ! % #
      ~   "  X
             
         " - 
        " / .      N  " 1                                        1         " 3 n                   j   " 4                    ~  " 5 S         "                                                            .   " #                       " 7 6             N             w      .   ! *                    2   ! )          ! + H         ! ,                                                                               F             d             k                           readps.cxx _ZSt8__ioinit _ZZN6psinfo4initEvE19__PRETTY_FUNCTION__ _Z41__static_initialization_and_destruction_0ii __tcf_0 _GLOBAL__I__ZN6psinfoC2Ev _ZN6psinfoC2Ev _ZN6psinfo4initEv _ZN6psinfoC1Ev _ZN6psinfoC2EPKc _Z9imtempnamPc _ZN6psinfoC1EPKc _ZN6psinfoD2Ev _Z9dbgprintfPKcz unlink _ZN6psinfoD1Ev fileprefs __assert_fail _ZN6psinfo14getBoundingBoxERfS0_S0_S0_ page_formats _ZN6psinfo9improveBBEffff _Unwind_Resume _ZN6psinfo9parsefileEv _ZNSt8ios_baseC2Ev _ZTVSt9basic_iosIcSt11char_traitsIcEE _ZTTSt14basic_ifstreamIcSt11char_traitsIcEE _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E _ZTVSt14basic_ifstreamIcSt11char_traitsIcEE _ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev _ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate _ZTTSt14basic_ofstreamIcSt11char_traitsIcEE _ZTVSt14basic_ofstreamIcSt11char_traitsIcEE _ZTVSt13basic_filebufIcSt11char_traitsIcEE _ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv _ZNSt12__basic_fileIcED1Ev _ZTVSt15basic_streambufIcSt11char_traitsIcEE _ZNSt6localeD1Ev _ZNSt8ios_baseD2Ev _ZNSs20_S_empty_rep_storageE _ZNSsC1EPKcRKSaIcE _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZNSt15basic_streambufIcSt11char_traitsIcEEC2Ev _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZNSolsEd _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_ _ZNSolsEPFRSoS_E _ZNSs7replaceEjjPKcj _ZNSi3getERc _ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_jc _ZNSs4_Rep11_S_terminalE sscanf _ZNKSs4findEPKcjj _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E _ZNSs12_M_leak_hardEv _ZNSs4_Rep10_M_destroyERKSaIcE _ZNSo5seekpElSt12_Ios_Seekdir _ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv __cxa_begin_catch _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE17_M_stringbuf_initESt13_Ios_Openmode _Z10warnprintfPKcz __cxa_end_catch _ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev _ZTISt9exception _ZTISt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev _ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev _ZTv0_n12_NSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev _ZTCSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE0_So _ZTISo _ZNSoD1Ev _ZNSoD0Ev _ZTv0_n12_NSoD1Ev _ZTv0_n12_NSoD0Ev _ZTISt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev _ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE6setbufEPci _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekoffElSt12_Ios_SeekdirSt13_Ios_Openmode _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode _ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv _ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv _ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPci _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9underflowEv _ZNSt15basic_streambufIcSt11char_traitsIcEE5uflowEv _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE9pbackfailEi _ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKci _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE8overflowEi _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE14_M_really_syncEjj _ZNSt8ios_base4InitC1Ev __dso_handle __cxa_atexit _ZdlPv _ZNSsC1IPcEET_S1_RKSaIcE _ZNSsC1ERKSs _ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag _ZNSt8ios_base4InitD1Ev _ZTVN10__cxxabiv120__si_class_type_infoE _ZTSSt15basic_stringbufIcSt11char_traitsIcESaIcEE _ZTISt15basic_streambufIcSt11char_traitsIcEE _ZTSSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE _ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE _ZNSt15basic_streambufIwSt11char_traitsIwEE13_S_pback_sizeE _ZNSsC1EPKcjRKSaIcE _ZNSs6assignERKSs _ZNSt15basic_streambufIcSt11char_traitsIcEE15_M_out_cur_moveEl _ZNSs4_Rep11_S_max_sizeE _ZNSs7reserveEj _ZNSt15basic_streambufIcSt11char_traitsIcEE5sputcEc _ZNSs4_Rep9_S_createEjRKSaIcE memcpy _ZSt19__throw_logic_errorPKc __gxx_personality_v0    7   /  w   /          5          5  *    5    @  	  K  8  Q    n  	  s          9              0  ;  9  ;    	    5    ?  	  @    A  $  A  B  B  N  C  X  C  f  D  x  B    E    F    ?    G    @    G    B    H  &  H  5  D  M  B  b  E  }  H    H    I    J    K    L    @    M    G    G  (  N  -  C  2  C  7  I  [  J  s  K  y  L    M    A    A    @    N    O    O        P  6  ?  ;  Q  @  @  U  Q  r  B  w  R    R    S    T    O    O    O    B    	    5  -  U  5    >  V  N  U  V    _  V  g  W  p  X    Y    Z    [    \  S  ]    ]    ]    ^  h	    m	  5  	  _  	  W  	  X  	  	  	  5  	  `  	  `  
  `  
  `  .
    3
  5  c
  <  s
    x
  5  
  <  
    
  5  
  <    	  "  5  D  R  T  R  c  T  ~  L    M    Q    Q    @    N  )  a  A  a  V  a  m  
    U        V    U        V    	    5    b    c    _    W    X  >  c  Q  \  ^    g  5    a    a    _    W    X    F    @  )  N  4  =  @  d  Q  ?  V  @  b  Q  n  Q    B    R    R    S    T    O    O    e    B        V    V    c  %  \  2  	  ;  f    R    R    T    L    M    Q    Q  	  @    N    g  '  a  5  a  C  I  O  J  a  K  i  h  n  A  y  A    @    N    C    C    I    J    K    L  B  M  S  I  _  J  x  K    h    G    G    H    H    I    J    K    L  V  M  n  a  |  @    N    a    h    Q    Q    a  !  i  E  R  U  R  d  T  {  L    M    a    a    L  -  L  d  @  o  N  t  g    h    Q    Q    a    i    R    R    T  6  L  ]  M  b  Q  w  a    a                             /     /  P   2     2     6     6  
       j     k     l     m     k      n  $   o      R     p     p     R     q     r     s     q      t  $   u     v     i     w     x     y     z     {      |  $   }  (   ~  ,     0     4     8     <     @        T  /   L  S   M  [     x   a     T  /   L  S   M  k   a     R     R     i  $   Q  .   Q  8   @  C   N     l     R     R     i  $   Q  .   Q  ;   @  C   N  S        m  g             =                                      q  P     \        a     =     a           d        c                  a  2    l  =  x  a  3     H     O   \  q   	  v        O     O             $     D     d                                       8    A    \    t  "  }      '        (                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /*
 * $Id: machine.cxx,v 4.4 2004/06/20 12:39:17 hut66au Exp $
 *
 * Imview, the portable image analysis application
 * http://www.cmis.csiro.au/Hugues.Talbot/imview
 * ----------------------------------------------------------
 *
 *  Imview is an attempt to provide an image display application
 *  suitable for professional image analysis. It was started in
 *  1997 and is mostly the result of the efforts of Hugues Talbot,
 *  Image Analysis Project, CSIRO Mathematical and Information
 *  Sciences, with help from others (see the CREDITS files for
 *  more information)
 *
 *  Imview is Copyrighted (C) 1997-2001 by Hugues Talbot and was
 *  supported in parts by the Australian Commonwealth Science and 
 *  Industry Research Organisation. Please see the COPYRIGHT file 
 *  for full details. Imview also includes the contributions of 
 *  many others. Please see the CREDITS file for full details.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *  
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 * */

/*------------------------------------------------------------------------
 *
 * This hosts the bits of imview that are not portable.
 *
 * Except for drawing calls, such as in imDrawPoint.C,
 * NO other file should have any #ifdev STRANGEMACHINE, etc
 * That's the theory anyway.
 *
 * Hugues Talbot	19 Jan 2000
 * 
 *      
 *-----------------------------------------------------------------------*/

#include <imcfg.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <time.h>
#ifdef HAVE_SYS_TIME_H
#   include <sys/time.h>
#endif
#include <sys/types.h>

#ifndef WIN32_NOTCYGWIN
# include <sys/utsname.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
#endif

#include "imunistd.h"

#include <FL/Fl.H>
#include <FL/x.H>
#include "imview.hxx"


// globals
#if HAVE_PTHREADS

#  include <pthread.h> // good for both DEC and P threads

#  if !HAVE_DECTHREADS
    pthread_mutexattr_t *pthread_mutexattr_default = 0;
    pthread_condattr_t *pthread_condattr_default = 0;
#  endif // !HAVE_DECTHREAD

#endif // HAVE_PTHREADS

char const *systemName(void)
{
#ifdef WIN32_NOTCYGWIN
        static char const *retval = "win32";        
#else
    static char const *retval;
    
    static struct utsname thisname;
    uname(&thisname);
    retval = thisname.sysname;
    
#endif

    return retval;
}

// a temporary file name utility
// Someone is welcome to come up with a secure version of this,
// It's probably impossible, in the meantime gcc complains...

#define TemporaryTemplate "ImView"

// return a "unique" file name in filename, that can be opened, etc
// This is not secure, but this is portable.
// filename must be writeable, therefore must not be a string but an
// array of chars.

void imtempnam(char *filename)
{
    char *name;
    assert(filename != NULL);

    name = (char *) tempnam(NULL, TemporaryTemplate);
    if (name == NULL)
	tmpnam(filename);
    else {
	strcpy(filename, name);
	free(name);
    }

    return;
}



// This emulates the `basename' not-very-standard
// system call. The basename command line is
// much more complicated, but we can't emulate it
// here short of allocating a new buffer, which we
// don't want to do.
//
// The win32 call will cope (sort of) with both / and '\\'
// but it doesn't do that very well. It will do.
const char *myBaseName(const char *astring)
{
#ifdef WIN32
    // look for forward slash
    const char *retval = strrchr(astring, '/');

    if (retval == 0) {
	// look for backward slash
	retval = strrchr(astring, '\\');
	if (retval == 0)
	    retval = astring;
	else
	    retval++;
    } else
	retval++;
    
#else    
    const char *retval = strrchr(astring, '/');

    if (retval == 0)
	retval = astring;
    else 
	retval++; // go past the `/'
#endif

    return retval;
}

// This is the Nightmare Call.
int myFork(void)
{
    return 0;
}


extern int debugIsOn;
// Synchronize call for debugging
void synchronize_GUI(void)
{
#if !defined(WIN32) && !defined(MACOSX_CARBON)
    if (debugIsOn) {
	// this is only for SERIOUS debugging
	XSynchronize(fl_display, 1);
	dbgprintf("Display synchronized for debugging\n");
    }
#endif  
    
    return;
}


// skip over a \0 in a file. Necessary for
// reading Z-IMAGE files.
// NT doesn't require this for some reason
int skipzero(FILE *fp)
{
    int retval;
    
#ifdef WIN32
    retval = '\0'; // do nothing
#else
    retval = getc(fp);
#endif

    return retval;
}

#if HAVE_USLEEP

#ifdef OSF1
// DEC Unix's prototype is unreachable
extern "C" {
    extern int usleep (unsigned int);
}
#endif

int myusleep(unsigned int usec)
{
    struct timezone dummy;
    struct timeval  start, end;
    double          time0, time1, dt;

    gettimeofday(&start, &dummy);
    usleep(usec);
    gettimeofday(&end, &dummy);

    time0 = start.tv_sec + start.tv_usec/1e6;
    time1 = end.tv_sec + end.tv_usec/1e6;
    dt = time1-time0;

    dbgprintf("Asked to wait for %f sec, actually waited %f sec\n",
	      usec/1e6, dt);

    return 0;
}

#elif HAVE_NANOSLEEP

int myusleep(unsigned int usec)
{
    
    struct timespec req;
    struct timezone dummy;
    struct timeval  start, end;
    double          time0, time1, dt;
    
    req.tv_sec = (int)(usec/1e6);
    req.tv_nsec = (long)((usec - req.tv_sec * 1e6) * 1000);

    gettimeofday(&start, &dummy);
    nanosleep(&req, NULL);
    gettimeofday(&end, &dummy);
    
    time0 = start.tv_sec + start.tv_usec/1e6;
    time1 = end.tv_sec + end.tv_usec/1e6;
    dt = time1-time0;

    dbgprintf("Asked to wait for %f sec, actually waited %f sec\n",
	      usec/1e6, dt);

    return 0;
}

#elif !defined(WIN32) && HAVE_SELECT

// Calls select on sterr, waiting to read
// obviously this is going to fail, this is what we want:
// select will time out and give us a portable time sleep.
// the usual usleep is not widely available.
// NOTE: This rely on a side effect of select. Time will
// in fact tell if this is portable...
int myusleep(unsigned int usec)
{
    fd_set         rfds;
    struct timeval tv, start, end;
    struct timezone dummy;
    int            retval;
    double         time0, time1, dt;
    static char    tmppath[1024];
    static int     somedesc = -1;

    if (somedesc < 0) {
	char *tmp;
	// open the pipe
	tmp = tempnam(0, "flim");
	strncpy(tmppath, tmp, 1024);
	retval = mkfifo(tmppath, S_IRUSR|S_IWUSR);
	if (retval != 0) {
	    dbgprintf("Can't create fifo %s\n", tmppath);
	    return 1; // can't go further
	}
	somedesc = open(tmppath, O_RDONLY | O_NDELAY, 0);
	if (somedesc < 0) {
	    dbgprintf("Can't open fifo %s for reading\n");
	    return 2; // Can't go further either
	}
    }

    if (usec == 0) {
	usec = 10; // 0 actually means forever
    }
    
    FD_ZERO(&rfds);
    FD_SET(somedesc, &rfds);

    /* Wait up to the given time period */
    tv.tv_sec = 0;
    tv.tv_usec = usec;

    gettimeofday(&start, &dummy);
    /* this assumes nothing come from stderr... */
    retval = select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
    gettimeofday(&end, &dummy);

    time0 = start.tv_sec + start.tv_usec/1e6;
    time1 = end.tv_sec + end.tv_usec/1e6;
    dt = time1-time0;

    dbgprintf("Asked to wait for %f sec, actually waited %f sec\n",
	      usec/1e6, dt);

    unlink(tmppath);
	somedesc = -1;
    
    return retval;
}

#else
// fake it really bad
int myusleep(int usec)
{
    sleep((int)(usec/1e6));
    return 0;
}

#endif // SLEEP functions

// semaphore replacement functions, if needs be
#ifndef HAVE_PTHREADS
void semaphore_down(int *) {
}

void semaphore_up(int *) {
}

void semaphore_init(int *) {
}

void semaphore_destroy(int *) {
}

#endif // ! HAVE_PTHREADS
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /*
 * $Id: profileBox.hxx,v 4.0 2003/04/28 14:39:59 hut66au Exp $
 *
 * Imview, the portable image analysis application
 * http://www.cmis.csiro.au/Hugues.Talbot/imview
 * ----------------------------------------------------------
 *
 *  Imview is an attempt to provide an image display application
 *  suitable for professional image analysis. It was started in
 *  1997 and is mostly the result of the efforts of Hugues Talbot,
 *  Image Analysis Project, CSIRO Mathematical and Information
 *  Sciences, with help from others (see the CREDITS files for
 *  more information)
 *
 *  Imview is Copyrighted (C) 1997-2001 by Hugues Talbot and was
 *  supported in parts by the Australian Commonwealth Science and 
 *  Industry Research Organisation. Please see the COPYRIGHT file 
 *  for full details. Imview also includes the contributions of 
 *  many others. Please see the CREDITS file for full details.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *  
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 * */

/*------------------------------------------------------------------------
 *
 * The profile display panel
 *
 * Hugues Talbot	 1 Aug 1998
 *      
 *-----------------------------------------------------------------------*/

#ifndef PROFILEBOX_H
#define PROFILEBOX_H

#include <stdlib.h>
#include <stdio.h>

#include <FL/Fl.H>
#include <FL/x.H>
#include <FL/fl_draw.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Check_Button.H>
#include <FL/Fl_Return_Button.H>
#include <FL/Fl_Output.H>
#include <FL/fl_ask.H>
#include "axisBox.hxx"

#define WIDTHMARGIN 4
#define HEIGHTMARGIN 8

#ifdef WIN32
#  define MY_CURSOR_VLINE FL_CURSOR_HAND
#else
#  define MY_CURSOR_VLINE 58
#endif

class myProfileBox : public Fl_Box {
public:
    myProfileBox(int x, int y, int w, int h, const char *l=0)
        : Fl_Box(x,y,w,h,l) {
	profileR = profileB = profileG = 0;
	nbProfileValues = 0;
	mins = maxs = 0;
    }
    int  handle(int event); // we need this for mouse control
    void handleButtonPushed();
    void handleButtonDragged();
    void handleButtonReleased();
    void setRelative() {absolute = false; recomputeLimits(); redraw();}
    void setAbsolute() {absolute = true; recomputeLimits(); redraw();}
    void setProfile(class profile *s) {theProfile = s;}
    void setProfiles(int startX, int startY, int endX, int endY,
		     double *theProfileR, double *theProfileG,
		     double *theProfileB, int nbval);
    double *getProfileR() {return profileR;}
    double *getProfileG() {return profileG;}
    double *getProfileB() {return profileB;}
    int     getNbValues() {return nbProfileValues;}
    void    recomputeLimits();
    void    draw();

private:
    double  *profileR, *profileG, *profileB, maxs, mins;
    int      nbProfileValues;
    int      sx, sy, ex, ey;
    bool     absolute;
    class profile *theProfile;
};

class profile {
public:
    profile();
    ~profile();
    void setDefaults();
    void setData(double *R,
		 double *G,
		 double *B,
		 int nb,
		 int xstart, int ystart,
		 int xend, int yend);
    
    double *getDataR() {return profileBox->getProfileR();}
    double *getDataG() {return profileBox->getProfileG();}
    double *getDataB() {return profileBox->getProfileB();}
    
    int  getNbVal() {return profileBox->getNbValues();}
    int  getXstart() {return xS;}
    int  getYstart() {return yS;}
    int  getXend() {return xE;}
    int  getYend() {return yE;}
    
    int  visible();
    void redraw();
    void show();
    void hide();
    void displayRelative(void) {profileBox->setRelative();}
    void displayAbsolute(void) {profileBox->setAbsolute();}
    void setXValue(int xv);
    void setYValue(int yv);
    void setZValue(int zv);
    void setRValue(double Rv);
    void setGValue(double Gv);
    void setBValue(double Bv);
    void setAxisBoxesLimits(double xminlimit, double xmaxlimit,
			    double yminlimit, double ymaxlimit);
    friend Fl_Double_Window *profile_panel(profile &s);

private:
    int                     xS, yS, xE, yE;
    Fl_Double_Window               *profileWindow;
    myProfileBox            *profileBox;
    axisBox                 *abcissaBox, *ordinateBox;
    Fl_Button               *saveButton, *printButton;
    Fl_Return_Button        *OKButton;
    Fl_Output               *profileTitle;
    Fl_Output               *xvalue, *yvalue, *zvalue;
    Fl_Output               *Rvalue, *Gvalue, *Bvalue;
    Fl_Check_Button         *absolute, *relative;
    Fl_Check_Button         *keepline;
    
};


#endif // PROFILEBOX_H
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         /*
 * $Id: my_Image.cxx,v 4.4 2004/06/04 07:53:21 hut66au Exp $
 *
 * Imview, the portable image analysis application
 * http://www.cmis.csiro.au/Hugues.Talbot/imview
 * ----------------------------------------------------------
 *
 *  Imview is an attempt to provide an image display application
 *  suitable for professional image analysis. It was started in
 *  1997 and is mostly the result of the efforts of Hugues Talbot,
 *  Image Analysis Project, CSIRO Mathematical and Information
 *  Sciences, with help from others (see the CREDITS files for
 *  more information)
 *
 *  Imview is Copyrighted (C) 1997-2001 by Hugues Talbot and was
 *  supported in parts by the Australian Commonwealth Science and 
 *  Industry Research Organisation. Please see the COPYRIGHT file 
 *  for full details. Imview also includes the contributions of 
 *  many others. Please see the CREDITS file for full details.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *  
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 * */


/*------------------------------------------------------------------------
 *
 * Image drawing complementary functions.
 *
 * FL has good capabilities, but they can always be augmented.
 * Hugues Talbot	 4 Nov 1997
 *      
 *-----------------------------------------------------------------------*/
#include <FL/Fl_Object.H>
#include <FL/Fl_Image.H>
#include <FL/x.H>
#include <FL/fl_draw.H>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "imview.hxx"


// This variable used for synchronization.
volatile bool im_draw_finished = true; 

void freeOffScreenPixmap(Fl_RGB_Image *b)
{
    if (b && b->id) {
	fl_delete_offscreen((Fl_Offscreen)b->id);
	b->id = 0;
    }
	
    return;
}

void fl_draw_clipped(Fl_RGB_Image *b,	 /* Input image */
		     int ox,     /* x origin of where the image will be drawn in the window */
		     int oy,     /* y origin of where the image will be drawn in the window */
		     int x,	 /* x origin of the bounding box in the image */
		     int y,	 /* y origin of the bounding box in the image */
		     int w,	 /* width of the bounding box in the image */
		     int h) 	 /* height of the bounding box in the image */
{
/** draws a Fl_RGB_Image object clipped to a given bounding box

RETURN VALUE:	void 

DESCRIPTION:
The input Fl_RGB_Image is drawn, subject to the given bounding box.
The Fl_RGB_Image is *NOT* centered in the bounding box. It is expected
that x > 0, y > 0, w > 0, h > 0 and w and h are smaller than the
image's dimension.

HISTORY:
Hugues Talbot	 4 Nov 1997

TESTS:

REFERENCES:

KEYWORDS:

**/

    if (!b->id) { 
	dbgprintf("Creating an off-screen pixmap (w=%d, h=%d)\n",
		  b->w(), b->h());

#if defined(MACOSX_CARBON) || defined(WIN32)
        b->id = (void *)fl_create_offscreen(w,h); 
#else
        b->id = (unsigned)fl_create_offscreen(w,h);
#endif

	fl_begin_offscreen((Fl_Offscreen)b->id);
	fl_push_no_clip();
	if (b->d() == 1) {
	    dbgprintf("Call to fl_draw_image_mono\n");
	    // serious change in FLTK-1.1.x
	    fl_draw_image_mono((const uchar *)(b->data()[0]), 0, 0, b->w(), b->h(), b->d());
	} else {
	    dbgprintf("Call to fl_draw_image (colour)\n");
	    // serious change in FLTK-1.1.x
	    fl_draw_image((const uchar *)(b->data()[0]), 0, 0, b->w(), b->h(), b->d());
	}
	fl_pop_clip();
	fl_end_offscreen();
	dbgprintf("Offscreen buffer pointer: %p\n", b->id);
    } else {
	dbgprintf("Now using the off-screen pixmap\n");
    }

    // incorrect entries
    if (w < 0) w = 0;
    if (h < 0) h = 0;
    if (x < 0) x = 0;
    if (y < 0) y = 0;
    if (w > b->w()) {
	w = b->w();
    } 
    if (h > b->h()) {
	h = b->h();
    }

    // somewhat subtle cases
    if (x+w > b->w()) {
	// adjust x
	x = b->w() - w;
    }
    if (y+h > b->h()) {
	// adjust y
	y = b->h() - h;
    }

    dbgprintf("Now displaying image: x=%d, y=%d, w=%d, h=%d, ox=%d, oy=%d, b->id:%p\n",
	      x,y,w,h,ox,oy, b->id);
    // equivalent to:
    // XCopyArea(fl_display, b->id, fl_window, fl_gc, x, y, w, h, ox, oy);
    fl_copy_offscreen(ox, oy, w, h, (Fl_Offscreen)b->id, x, y);
    im_draw_finished = true;
}


void fl_draw_clipped_nobuf(Fl_RGB_Image *b,	 /* Input image */
			   int ox,     /* x origin of where the image will be drawn in the window */
			   int oy,     /* y origin of where the image will be drawn in the window */
			   int x,	 /* x origin of the bounding box in the image */
			   int y,	 /* y origin of the bounding box in the image */
			   int w,	 /* width of the bounding box in the image */
			   int h)	 /* height of the bounding box in the image */
{
/** draws a Fl_RGB_Image object clipped to a given bounding box

RETURN VALUE:	void 

DESCRIPTION:
The input Fl_RGB_Image is drawn, subject to the given bounding box.
The Fl_RGB_Image is *NOT* centered in the bounding box. It is expected
that x > 0, y > 0, w > 0, h > 0 and w and h are smaller than the
image's dimension.

This functions doesn't use an off-screen pixmap. It is slower
to update but uses less memory.

HISTORY:
Hugues Talbot	 4 Nov 1997

TESTS:

REFERENCES:

KEYWORDS:

**/
    static uchar *buf = 0;
    int    d, i;

    d = b->d();  // image depth
    
    // incorrect entries
    if (w < 0) w = 0;
    if (h < 0) h = 0;
    if (x < 0) x = 0;
    if (y < 0) y = 0;
    if (w > b->w()) {
	w = b->w();
    } 
    if (h > b->h()) {
	h = b->h();
    }
    
    // somewhat subtle cases
    if (x+w > b->w()) {
	// adjust x
	x = b->w() - w;
    }
    if (y+h > b->h()) {
	// adjust y
	y = b->h() - h;
    }
    

    if (buf) {
	free(buf);
	buf = 0;
    }
    // realloc buffer, don't care about old content.
    //dbgprintf("Display: b->w=%d, b->d=%d, d=%d, x=%d, y=%d, w=%d, h=%d\n",
    //	   b->w, b->d, d, x, y, w, h);
    buf = (uchar *)malloc(w * h * d * sizeof(uchar));
    for (i = 0 ; i < h ; i++) {
	memcpy(buf + i*w*d, b->data()[0] + d*x + (y+i) * b->w() * d, w * d);
    }

    if (d == 1) {
	dbgprintf("Call to fl_draw_image_mono\n");
	fl_draw_image_mono((const uchar *)buf, ox, oy, w, h, d, 0);
        im_draw_finished = true;
    } else {
	dbgprintf("Call to fl_draw_image\n");
	fl_draw_image((const uchar *)buf, ox, oy, w, h, d, 0);
        im_draw_finished = true;
    }
	
}


static void zoominwh(uchar *outbuf,	 /* output buffer  */
		     const uchar *inbuf,	 /* input buffer */
		     int ow,	 /* output buffer width */
		     int oh,	 /* output buffer height */
		     int iw,	 /* input buffer width */
		     int d,	 /* bytes per pixel in both buffers */
		     int x,	 /* x origin of bounding box in input buffer */
		     int y,	 /* y origin of BB  */
		     int w,	 /* width of BB */
		     int h)	 /* height of BB */
{
/** fast zoom in, both in width and height, on part of a buffer

RETURN VALUE:	static void 
no return value

DESCRIPTION:
This function takes a subset of an input buffer and zooms it in
to fit in the dimensions of the output buffer.

HISTORY:
written by Hugues Talbot	14 Nov 1997
TESTS:

REFERENCES:

KEYWORDS:

**/

    int    i, j, k, ii;
    int    ex, inc1x, inc2x;
    int    ey, inc1y, inc2y;
    uchar  *op;
    const  uchar *ip;
    
    inc1y = 2 * (h - oh);
    inc2y = 2 * h;
    ey = inc1y + h;  // 2*h - oh; would start in the middle of a pixel

    
    for (i = 0, ii = 0 ; i < oh ; i++) {
	if (i > 0) { 
	    // we cannot even think about duplicating lines if none are present
	    if (ey > 0) {
		// we have to work out a new line
		ey += inc1y;
		ii++;
	    } else {
		// we can simply duplicate the previous line
		memcpy(outbuf + i*ow*d, outbuf + (i-1)*ow*d, ow*d);
		ey += inc2y;
		continue;
	    }
	}
	op = outbuf + i*ow*d;
	ip = inbuf + d*x + (y+ii) * iw * d;
	// first pixel of the line
	for (k = 0 ; k < d ; k++) {
	    *op++ = *(ip + k);
	}
	// rest of the pixels along that line
	inc1x = 2 * (w - ow);
	inc2x = 2 * w;
	ex = inc1x + w; // 2*w - ow; would start in the middle of a pizel
	
	for (j = 1 ; j < ow ; j++) {
	    if (ex > 0) {
		ip += d;
		ex += inc1x;
	    } else {
		ex += inc2x;
	    }
	    // duplicate pixels
	    for (k = 0 ; k < d ; k++) {
		*op++ = *(ip + k);
	    }
	}
    }
}


static void zoominh_only(uchar *outbuf,	 /* output buffer  */
                         const uchar *inbuf,	 /* input buffer */
                         int ow,	 /* output buffer width */
                         int oh,	 /* output buffer height */
                         int iw,	 /* input buffer width */
                         int d,	 /* bytes per pixel in both buffers */
                         int x,	 /* x origin of bounding box in input buffer */
                         int y,	 /* y origin of BB  */
                         int w,	 /* width of BB */
                         int h)	 /* height of BB */
{
/** fast zoom in height, on part of a buffer

RETURN VALUE:	static void 
no return value

DESCRIPTION: This function zooms in part of the images in the vertical
direction only. This allows the zoom in function to be implemented in
a separable way: zoom h first and then w. This is also useful when the
user resizes the main window in such a way that one dimension is
zoomed in while the other is zoomed out.

HISTORY:
written by Hugues Talbot	30 Sep 2002.

TESTS:

REFERENCES:

KEYWORDS:

**/

    int    i, ii;
    int    ey, inc1y, inc2y;
    
    assert(oh > h); // we are zooming in
    assert(h > 0);   // the bounding box does not have 0 height

    inc1y = 2 * (h - oh);
    inc2y = 2 * h;
    ey = inc1y + h;  // 2*h - oh; would start in the middle of a pixel

    assert(ow == w); // width should be unchanged
    
    // first line special case:
    ii = 0;
    memcpy(outbuf, inbuf + d * (x + y * iw), ow*d);
    if (ey > 0) {
	ey += inc1y;
	++ii;
    } else { 
	ey += inc2y;
    }

    for (i = 1 ; i < oh ; ++i) {
        if (ey > 0) {
            // we have to work out a new line
            ey += inc1y;
            memcpy(outbuf + d * i*ow, 
                   inbuf + d* (x + (y+ii) * iw), 
                   ow*d);
            ++ii;
        } else {
            // we can simply duplicate the previous line
            memcpy(outbuf + i*ow*d, 
                   outbuf + (i-1)*ow*d, 
                   ow*d);
            ey += inc2y;
            continue;
        }
    }
}


static void zoominw_only(uchar *outbuf,	 /* output buffer  */
                         const uchar *inbuf,	 /* input buffer */
                         int ow,	 /* output buffer width */
                         int oh,	 /* output buffer height */
                         int iw,	 /* input buffer width */
                         int d,	 /* bytes per pixel in both buffers */
                         int x,	 /* x origin of bounding box in input buffer */
                         int y,	 /* y origin of BB  */
                         int w,	 /* width of BB */
                         int h)	 /* height of BB */
{
/** fast zoom in width on part of a buffer

RETURN VALUE:	static void 
no return value

DESCRIPTION: 

This function zooms on part of a buffer in the horizontal direction
only (does not zoom in height). This allows the zoom-in function to be
implemented in a separable way: zoom w first and then h (say). This is
also useful when the user resizes the main window in such a way that
one dimension is zoomed in while the other is zoomed out.

HISTORY:
written by Hugues Talbot	30 Sep 2002
TESTS:

REFERENCES:

KEYWORDS:

**/

    int    i, j, k;
    int    ex, inc1x, inc2x;
    int    ey, inc2y;
    uchar  *op;
    const  uchar *ip;
    
    assert( h == oh ); // must have same height

    inc2y = 2 * h; // = 2*h
    ey = h;  // = h 


    for (i = 0 ; i < oh ; ++i) {
	op = outbuf + i*ow*d;
	ip = inbuf + d*x + (y+i) * iw * d;
	// first pixel of the line
	for (k = 0 ; k < d ; ++k) {
	    *op++ = *(ip + k);
	}
	// rest of the pixels along that line
	inc1x = 2 * (w - ow);
	inc2x = 2 * w;
	ex = inc1x + w; // 2*w - ow; would start in the middle of a pizel
	
	for (j = 1 ; j < ow ; ++j) {
	    if (ex > 0) {
		ip += d;
		ex += inc1x;
	    } else {
		ex += inc2x;
	    }
	    // duplicate pixels
	    for (k = 0 ; k < d ; ++k) {
		*op++ = *(ip + k);
	    }
	}
    }
}

static void zoomoutw_smooth(uchar *outbuf,	 /* output buffer  */
			    const uchar *inbuf,	 /* input buffer */
			    int ow,	 /* width of the output buffer */
			    int d,	 /* number of bytes per pixel in both buffers */
			    int iw,	 /* width of the input buffer */
			    int x,	 /* x coord. bounding box in input buffer */
			    int y,	 /* y coord  BB                           */
			    int w,	 /* w width  BB */
			    int h)	 /* h height BB */
{
/** This function zooms out a buffer in the x direction

RETURN VALUE:	static void 

DESCRIPTION:
This function zooms out a buffer in the x direction. The algorithm
does nearest neighbour smoothing. 

HISTORY:
written by Hugues Talbot	14 Nov 1997

TESTS:

REFERENCES:

KEYWORDS:

**/

    int                     i, j, k;
    int                     *accum;
    int                     nbaccum;
    int                     ex, inc1x, inc2x;
    uchar                   *op;
    const uchar             *ip;
	
    accum = new int[d]; // dynamic array 
    // zoom out in the horizontal direction
    for (i = 0 ; i < h ; i++) {
	// set up the integer counters
	ex = 2*ow - w;
	inc1x = 2 * (ow - w);
	inc2x = 2 * ow;
	// set up the line pointers
	// output will be the intermediary buffer
	op = outbuf + i*ow*d; // same as above
	ip = inbuf + d * (x + (y+i) * iw) ; // line are not zoomed out yet.
	// work out what to write
	
	// -- first pixel
	for (k = 0 ; k < d ; k++)
	    accum[k] = 0;
	nbaccum = 0;
        // rest of the line
	for (j = 0 ; j < w ; j++) {
	    // fill in the accumulators
	    for (k = 0 ; k < d ; k++)
		accum[k] += *ip++; // ip is always advancing
	    nbaccum++;
	    
	    if (ex > 0) {
		// time has come to write out something;
		for (k = 0 ; k < d ; k++) {
		    *op++ = (int)(((double)(accum[k])/nbaccum) + 0.5); // write out the average
		    accum[k] = 0; // clear the accumulator
		}
		nbaccum = 0;
		ex += inc1x;
	    } else {
		ex += inc2x;
	    }
	}
    }
    
    delete[] accum;
}

static void zoomoutw(uchar *outbuf,	 /* output buffer  */
		     const uchar *inbuf,	 /* input buffer */
		     int ow,	 /* width of the output buffer */
		     int d,	 /* number of bytes per pixel in both buffers */
		     int iw,	 /* width of the input buffer */
		     int x,	 /* x coord. bounding box in input buffer */
		     int y,	 /* y coord  BB                           */
		     int w,	 /* w width  BB */
		     int h)	 /* h height BB */
{
/** This function zooms out a buffer in the x direction

RETURN VALUE:	static void 

DESCRIPTION:
This function zooms out a buffer in the x direction. No smoothing,
just sub-sampling.

HISTORY:
written by Hugues Talbot	14 Nov 1997

TESTS:

REFERENCES:

KEYWORDS:

**/

    int                     i, j, k;
    int                     ex, inc1x, inc2x;
    uchar                   *op;
    const uchar              *ip;
	
    // zoom out in the horizontal direction
    for (i = 0 ; i < h ; i++) {
	// set up the integer counters
	ex = 2*ow - w;
	inc1x = 2 * (ow - w);
	inc2x = 2 * ow;
	// set up the line pointers
	// output will be the intermediary buffer
	op = outbuf + i*ow*d; // same as above
	ip = inbuf + d * (x + (y+i) * iw) ; // line are not zoomed out yet.
	// work out what to write
	for (j = 0 ; j < w ; j++) {
	    if (ex > 0) {
		// time has come to write out something;
		for (k = 0 ; k < d ; k++) {
		    *op++ = *ip++;
		}
		ex += inc1x;
	    } else {
		ex += inc2x;
		ip += d; // next pixel
	    }
	    
	}
    }
}

static void zoomouth_smooth(uchar *outbuf,	 /* Output buffer  */
			    const uchar *inbuf,	 /* input buffer */
			    int oh,	 /* height of the output buffer */
			    int d,	 /* number of bytes per pixel */
			    int iw,	 /* width of the input buffer */
			    int x,	 /* x origin of bounding box in input buffer */
			    int y,	 /* y origin for BB */
			    int w,	 /* width of BB */
			    int h)	 /* height of BB */
{
    int                     i, j, k;
    int                     *accum;
    int                     nbaccum;
    int                     ey, inc1y, inc2y;
    uchar                   *op;
    const uchar             *ip;

    accum = new int[d];
    // now zoom out the vertical direction
    for (j = 0 ; j < w ; j++) {
	// set up the integer counters
	ey = 2*oh -h;
	inc1y = 2 * (oh - h);
	inc2y = 2 * oh;
	// output will be the final buffer
	op = outbuf + j * d;
	// input will be the intermediary buffer allocated above
	ip = inbuf + d * ((x+j) + y*iw);
	// work out what to write
	// first pixel
	for (k = 0 ; k < d ; k++) 
	    accum[k] = 0;
	nbaccum = 0;
	// rest of the column
	for (i = 0 ; i < h ; i++) {
	    // fill in the accumulators
	    for (k = 0 ; k < d ; k++) {
		accum[k] += *(ip+k);
	    }
	    ip +=  iw * d;  // skip one line
	    nbaccum++;
	    
	    if (ey > 0) {
		// time has come to write out something
		for (k = 0 ; k < d ; k++) {
		    *(op+k) = (int)(((double)(accum[k])/nbaccum) + 0.5); // write out the average
		    accum[k] = 0; // clear the accumulator
		}
		op += w * d; // skip one line
		nbaccum = 0;
		ey += inc1y;
	    } else {
		ey += inc2y;
	    }
	}
    }
    // free the dynamic array
    delete[] accum;
}


static void zoomouth(uchar *outbuf,	 /* Output buffer  */
		     const uchar *inbuf,	 /* input buffer */
		     int oh,	 /* height of the output buffer */
		     int d,	 /* number of bytes per pixel */
		     int iw,	 /* width of the input buffer */
		     int x,	 /* x origin of bounding box in input buffer */
		     int y,	 /* y origin for BB */
		     int w,	 /* width of BB */
		     int h)	 /* height of BB */
{
    int                     i, j, k;
    int                     ey, inc1y, inc2y;
    uchar                   *op;
    const uchar             *ip;

    // now zoom out the vertical direction
    for (j = 0 ; j < w ; j++) {
	// set up the integer counters
	ey = 2*oh -h;
	inc1y = 2 * (oh - h);
	inc2y = 2 * oh;
	// output will be the final buffer
	op = outbuf + j * d;
	// input will be the intermediary buffer allocated above
	ip = inbuf + d * ((x+j) + y*iw);
	// work out what to write
	// rest of the column
	for (i = 0 ; i < h ; i++) {
	    if (ey > 0) {
		// time has come to write out something
		for (k = 0 ; k < d ; k++) {
		    *(op+k) = *(ip+k);
		}
		op += w * d; // skip one line
		ey += inc1y;
	    } else {
		ey += inc2y;
	    }
	    ip +=  iw * d;  // skip one line
	}
    }
}

/* zcnb stands for zoomed, clipped, nobuffering */
void fl_draw_zcnb(Fl_RGB_Image *b,	 /* Input image */
		  int ox,     /* x origin of where the image will be drawn in the window */
		  int oy,     /* y origin of where the image will be drawn in the window */
		  int ow,     /* width of the window the image will be drawn to */
                  int oh,     /* height of the window the image will be drawn to */
		  int x,	 /* x origin of the bounding box in the image */
		  int y,	 /* y origin of the bounding box in the image */
		  int w,	 /* width of the bounding box in the image */
		  int h,	 /* height of the bounding box in the image */
		  int drawsmooth)  /* should the output be smooth or not */
{
/** draws a Fl_RGB_Image object zoomed and clipped to a given bounding box

RETURN VALUE:	void 

DESCRIPTION:
The input Fl_RGB_Image is drawn, subject to the given bounding box.
The Fl_RGB_Image is *NOT* centered in the bounding box. It is expected
that x > 0, y > 0, w > 0, h > 0 and w and h are smaller than the
image's dimension. The portion of the image in the input bounding
box is scaled to fit in the output window frame.

This functions doesn't use an off-screen pixmap. It is slower
to update but uses less memory.

HISTORY:
Hugues Talbot	 4 Nov 1997

TESTS:

REFERENCES:

KEYWORDS:

**/
    int d;
    static uchar *buf = 0;
    static uchar *buf2 = 0;
    
    d = b->d();  // image depth
    
    // incorrect entries
    if (ow < 0) ow = 0;
    if (oh < 0) oh = 0;
    if (w < 0) w = 0;
    if (h < 0) h = 0;
    if (x < 0) x = 0;
    if (y < 0) y = 0;
    if (w > b->w()) {
	w = b->w();
    } 
    if (h > b->h()) {
	h = b->h();
    }
    
    // somewhat subtle cases
    if (x+w > b->w()) { // bounding box exceed right hand boundary
	// adjust x
	x = b->w() - w;
    }
    if (y+h > b->h()) { // bounding box exceeds bottom boundary
	// adjust y
	y = b->h() - h;
    }
    

    if (buf) {
	free(buf);
	buf = 0; // buf may not have been allocated even if this function has been called before
    }

    // realloc buffer, don't care about old content, realloc would be less efficient
    buf = (uchar *)malloc(ow * oh * d * sizeof(uchar));


    //dbgprintf("Display: ox=%d oy=%d ow=%d oh=%d x=%d y=%d w=%d h=%d\n",
    //	   ox, oy, ow, oh, x , y , w, h);
    
   
    
    // bresenham-like processing
    if (ow >= w && ((ow != w) || (oh >= h))) {
	if (oh >= h) {
	    zoominwh(buf, (const uchar*)(b->data()[0]), ow, oh, b->w(), d, x, y, w, h);
	} else { // oh < h
	    dbgprintf("Case (1) where (ow=%d >= w=%d && oh=%d < h=%d) \n",
		      ow, w, oh, h);
            // Zooming in w and zooming out in h
            if (buf2 != 0) {
                free(buf2);
                buf2 = 0;
            }
            buf2 = (uchar *)malloc(ow * h * d * sizeof(uchar));
            zoominw_only(buf2, (const uchar*)(b->data()[0]), ow, h, b->w(), d, x, y, w, h);
            if (drawsmooth)
                zoomouth_smooth(buf, buf2, oh, d, ow, 0,0,ow,h);
            else
                zoomouth(buf, buf2, oh,d,ow,0,0,ow,h);
            
	}
    } else { // ow <= w
	// whereas for zooming in it is OK to just show larger pixels (in general)
	// zooming out requires some smoothing or the result just looks awful.
	// the idea here is to accumulate pixel values in the larger window until
	// one pixel has to be written in the smaller one. The average of the
	// accumulated pixels is written.

		
	// in this case we need a second buffer for the intermediary image
	if (buf2 != 0) {
	    free(buf2);
	    buf2 = 0;
	}
	buf2 = (uchar *)malloc(ow * h * d * sizeof(uchar));
	// zoom out the x dimension
	if (drawsmooth)
	    zoomoutw_smooth(buf2,(const uchar*)(b->data()[0]),ow,d,b->w(),x,y,w,h);
	else
	    zoomoutw(buf2,(const uchar *)(b->data()[0]),ow,d,b->w(),x,y,w,h);
	if (oh < h) {
	    if (drawsmooth)
		zoomouth_smooth(buf, buf2, oh,d,ow,0,0,ow,h);
	    else
		zoomouth(buf, buf2, oh,d,ow,0,0,ow,h);
	} else if (oh == h) {
	    // this should work
	    memcpy(buf, buf2, ow*oh*d);
	} else {
	    dbgprintf("Case (2) where (ow = %d < w = %d && oh = %d > h = %d)\n",
                      ow, w, oh, h);
            // zooming out in w and in in h
            // (zoomin out in w already done)
            zoominh_only(buf, buf2, ow, oh, ow, d, 0, 0, ow, h);
	}
    }

    if (d == 1) {
	dbgprintf("Call to fl_draw_image\n");
	fl_draw_image_mono((const uchar *)buf, ox, oy, ow, oh, d, 0);
        im_draw_finished = true;
    } else {
	dbgprintf("Call to fl_draw_image\n");
	fl_draw_image((const uchar *)buf, ox, oy, ow, oh, d, 0);
        im_draw_finished = true;
    }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            