Björn, I've no experience in comparing images, but you may look at this script to get picture displayed in your form,
http://www.jsoftware.com/jwiki/Scripts/Picture_Database incidentally (a bug), it needs adding a line at the beginning script_z_ '~system\main\files.ijs' or execute require 'files' after making the dsn jblob you may run the script, press the 'add' button to add your favourite pictures. picture size is auto resized even you change the window size at run time. code relevant to display on form is, stretch=: ([EMAIL PROTECTED] <[EMAIL PROTECTED] [EMAIL PROTECTED] % [) { ] resize=: ([: |: ([: {. [) stretch"0 _ [: ] [: |: ([: {: [) stretch"0 _ [: ] ]) f. fm_jjbinary_paint=: 3 : 0 'jjbinary' showpic recdat ) showpic=: 4 : 0 glsel x glclear '' if. 0=#y do. return. end. glwindoworg 100 200 NB. not in original script zoom=. 2 NB. not in original script wh1=. glqwh '' wh0=. |[EMAIL PROTECTED] a=. ({:wh1),~ <.({:wh1)*(%/wh0) b=. ({.wh1), <.({.wh1)%(%/wh0) wh=. (wh1 <&{. a) { a,:b glpixels@(0 0,|[EMAIL PROTECTED],,) (zoom*wh) resize y ) you may add the these 2 lines to scroll and zoom glwindoworg 100 200 NB. try to vary these numbers to scroll zoom=. 2 NB. use resize to zoom in or out of course you also need to add some gui to make scroll and zoom interactive. -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
