org.marvinproject.image.steganography
Class Steganography

java.lang.Object
  extended by marvin.plugin.MarvinAbstractImagePlugin
      extended by org.marvinproject.image.steganography.Steganography
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, marvin.plugin.MarvinImagePlugin, marvin.plugin.MarvinPlugin

public class Steganography
extends marvin.plugin.MarvinAbstractImagePlugin
implements java.awt.event.ActionListener

Steganography plug-in


Constructor Summary
Steganography()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 org.marvinproject.image.steganography.Steganography.Action getAction()
           
 void getHEADER(marvin.image.MarvinImage a_image)
           
 org.marvinproject.image.steganography.Steganography.Type getType()
           
 boolean Gravar_Imagem(marvin.image.MarvinImage a_image, byte[] Put)
           
 void load()
           
 void process(marvin.image.MarvinImage a_imageIn, marvin.image.MarvinImage a_imageOut, marvin.util.MarvinAttributes a_attributesOut, marvin.image.MarvinImageMask a_mask, boolean a_previewMode)
           
 java.lang.String setHEADER(java.io.File fileOrigin)
           
 java.lang.String setHEADER(java.lang.String Message)
           
 void show()
           
 int truncate(int a)
          Sets the RGB between 0 and 255
 
Methods inherited from class marvin.plugin.MarvinAbstractImagePlugin
getAttribute, getAttributes, getImagePanel, setAttribute, setImagePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Steganography

public Steganography()
Method Detail

load

public void load()
Specified by:
load in interface marvin.plugin.MarvinImagePlugin

getAction

public org.marvinproject.image.steganography.Steganography.Action getAction()

getType

public org.marvinproject.image.steganography.Steganography.Type getType()

getHEADER

public void getHEADER(marvin.image.MarvinImage a_image)

setHEADER

public java.lang.String setHEADER(java.io.File fileOrigin)

setHEADER

public java.lang.String setHEADER(java.lang.String Message)

process

public void process(marvin.image.MarvinImage a_imageIn,
                    marvin.image.MarvinImage a_imageOut,
                    marvin.util.MarvinAttributes a_attributesOut,
                    marvin.image.MarvinImageMask a_mask,
                    boolean a_previewMode)
Specified by:
process in interface marvin.plugin.MarvinImagePlugin

show

public void show()
Specified by:
show in interface marvin.plugin.MarvinImagePlugin

Gravar_Imagem

public boolean Gravar_Imagem(marvin.image.MarvinImage a_image,
                             byte[] Put)

truncate

public int truncate(int a)
Sets the RGB between 0 and 255

Parameters:
a -
Returns:

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener