Ignore:
Timestamp:
08/07/19 14:14:42 (5 years ago)
Author:
bln4
Message:

New piping and functionality implementation to support the encrypting of images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/swing/SwingImageManager.java

    r1097 r1427  
    117117        }
    118118       
     119        @Override
     120        public org.expeditee.core.Image createImage(byte[] rawImageData) {
     121                // Get the image from the given file
     122                java.awt.Image swingImage = Toolkit.getDefaultToolkit().createImage(rawImageData);
     123                if (swingImage == null) return null;
     124               
     125                // Register and return the handle
     126                return register(swingImage, true);
     127        }
     128       
    119129        /**
    120130         * Registers the given swing image with the Expeditee image system. Not available from the abstract interface.
Note: See TracChangeset for help on using the changeset viewer.