Tabnine Logo
Image.makeMask
Code IndexAdd Tabnine to your IDE (free)

How to use
makeMask
method
in
com.itextpdf.text.Image

Best Java code snippets using com.itextpdf.text.Image.makeMask (Showing top 7 results out of 315)

origin: stackoverflow.com

 BarcodeQRCode qrcode = new BarcodeQRCode("sample message on qr", 100, 100, null);
Image image = qrcode.getImage();
Image mask = qrcode.getImage();
mask.makeMask();
image.setImageMask(mask);
document.add(image);
origin: com.itextpdf/itextpdf

msk.makeMask();
msk.setInverted(true);
image.setImageMask(msk);
origin: com.itextpdf/itextpdf

Image sm = Image.getInstance(w, h, 1, 8, smask);
try {
  sm.makeMask();
  img.setImageMask(sm);
} catch (DocumentException de) {
origin: com.itextpdf/itextpdf

mzip.close();
Image mimg = Image.getInstance(w, h, 1, bitsPerSample, mstream.toByteArray());
mimg.makeMask();
mimg.setDeflated(true);
img.setImageMask(mimg);
origin: com.itextpdf/itextg

mzip.close();
Image mimg = Image.getInstance(w, h, 1, bitsPerSample, mstream.toByteArray());
mimg.makeMask();
mimg.setDeflated(true);
img.setImageMask(mimg);
origin: com.itextpdf/itextpdf

if (palShades) {
  Image im2 = Image.getInstance(width, height, 1, 8, smask);
  im2.makeMask();
  img.setImageMask(im2);
  im2.makeMask();
  img.setImageMask(im2);
origin: com.itextpdf/itextg

if (palShades) {
  Image im2 = Image.getInstance(width, height, 1, 8, smask);
  im2.makeMask();
  img.setImageMask(im2);
  im2.makeMask();
  img.setImageMask(im2);
com.itextpdf.textImagemakeMask

Javadoc

Make this Image a mask.

Popular methods of Image

  • getInstance
    gets an instance of an Image
  • getHeight
  • getWidth
  • scaleAbsolute
    Scale the image to the dimensions of the rectangle
  • setAbsolutePosition
    Sets the absolute position of the Image.
  • getScaledHeight
    Gets the scaled height of the image.
  • getScaledWidth
    Gets the scaled width of the image.
  • scaleToFit
    Scales the images to the dimensions of the rectangle.
  • scalePercent
    Scale the width and height of an image to a certain percentage.
  • getICCProfile
    Gets the images ICC profile.
  • matrix
    Returns the transformation matrix of the image.
  • setImageMask
    Sets the explicit masking.
  • matrix,
  • setImageMask,
  • setRotation,
  • getAbsoluteX,
  • getAbsoluteY,
  • getAccessibleAttribute,
  • getAccessibleAttributes,
  • getAdditional,
  • getAlignment

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • getSystemService (Context)
  • runOnUiThread (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now