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/ImageManager.java

    r1426 r1427  
    4040                return createImage(size.width, size.height, hintUseAcceleratedMemory);
    4141        }
    42        
    43         /**
    44          * Creates an image of the given width and height in either main or video RAM.
    45          *
    46          * @param hintUseAcceleratedMemory
    47          *                      True to use video RAM, false for main memory.
    48          */
    49         public abstract Image createImage(int width, int height, boolean hintUseAcceleratedMemory);
    5042
    5143        /** Creates an image in main memory with the given size. */
     
    5648
    5749        /** Creates an image in main memory with the given width and height. */
    58         public Image createImage(int width, int height)
    59         {
     50        public Image createImage(int width, int height) {
    6051                return createImage(width, height, false);
    6152        }
     53               
     54        /**
     55         * Creates an image of the given width and height in either main or video RAM.
     56         *
     57         * @param hintUseAcceleratedMemory
     58         *                      True to use video RAM, false for main memory.
     59         */
     60        public abstract Image createImage(int width, int height, boolean hintUseAcceleratedMemory);
    6261       
    6362        /** Creates an image from packed 32-bit ARGB data in an array. */
     
    6665        /** Creates an image of a PDF page. */
    6766        public abstract Image createImage(int width, int height, PDFPage page);
     67       
     68        /** Creates an image from the raw byte data read from a file.  Must be in a format recognised by the implementing Ecosystem. **/
     69        public abstract Image createImage(byte[] rawImageData);
    6870       
    6971        /** Creates a new image which is a cropped section of another image. */
     
    7577        /** Gets image data from a file. */
    7678        public abstract Image getImage(String filename);
     79       
     80        //public abstract Image getItem(byte[] imageData);
    7781       
    7882        /** Gets an image that is just noise */
Note: See TracChangeset for help on using the changeset viewer.