REBOL [
    Title: "View an Image in a Window"
    Date: 1-Jun-2000
    File: %view-image.r
    Purpose: "View an image in a window."
    Note: {This script assumes your image is in the local directory.}
    library: [
        level: 'beginner 
        platform: none 
        type: 'one-liner 
        domain: 'GUI 
        tested-under: none 
        support: none 
        license: none 
        see-also: none
    ]
    Version: 1.0.0
    Author: "Anonymous"
]

view layout [image %bay.jpg]