Class WmfImageData
java.lang.Object
com.itextpdf.io.image.ImageData
com.itextpdf.kernel.pdf.canvas.wmf.WmfImageData
Image implementation for WMF, Windows Metafile.
-
Field Summary
Fields inherited from class ImageData
bpc, colorEncodingComponentsNumber, colorTransform, data, decode, decodeParms, deflated, dpiX, dpiY, filter, height, imageAttributes, imageMask, imageSize, interpolation, inverted, mask, mySerialId, originalType, profile, rotation, transparency, url, width, XYRatio -
Constructor Summary
ConstructorsConstructorDescriptionWmfImageData(byte[] bytes) Creates a WmfImage from a byte[].WmfImageData(String fileName) Creates a WmfImage from a file.WmfImageData(URL url) Creates a WmfImage from a URL. -
Method Summary
Methods inherited from class ImageData
canBeMask, canImageBeInline, getBpc, getColorEncodingComponentsNumber, getColorTransform, getData, getDecode, getDecodeParms, getDpiX, getDpiY, getFilter, getHeight, getImageAttributes, getImageMask, getOriginalType, getProfile, getRotation, getTransparency, getUrl, getWidth, getXYRatio, isDeflated, isInterpolation, isInverted, isMask, isRawImage, isSoftMask, makeMask, setBpc, setColorEncodingComponentsNumber, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
-
Constructor Details
-
WmfImageData
Creates a WmfImage from a file.- Parameters:
fileName- pah to the file- Throws:
MalformedURLException- aMalformedURLException
-
WmfImageData
-
WmfImageData
public WmfImageData(byte[] bytes) Creates a WmfImage from a byte[].- Parameters:
bytes- the image bytes
-