Java Doc for PDImage.java in  » PDF » jPod » de » intarsys » pdf » pd » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » jPod » de.intarsys.pdf.pd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.cos.COSBasedObject
      de.intarsys.pdf.pd.PDObject
         de.intarsys.pdf.pd.PDXObject
            de.intarsys.pdf.pd.PDImage

PDImage
public class PDImage extends PDXObject (Code)
The representation of an image.

Inner Class :public static class MetaClass extends PDXObject.MetaClass

Field Summary
final public static  COSNameCN_Subtype_Image
    
final public static  StringC_RENDERING_VALID1
    
final public static  StringC_RENDERING_VALID2
    
final public static  StringC_RENDERING_VALID3
    
final public static  StringC_RENDERING_VALID4
    
final public static  COSNameDK_Alternates
    
final public static  COSNameDK_BPC
    
final public static  COSNameDK_BitsPerComponent
    
final public static  COSNameDK_CS
    
final public static  COSNameDK_ColorSpace
    
final public static  COSNameDK_D
    
final public static  COSNameDK_DP
    
final public static  COSNameDK_Decode
    
final public static  COSNameDK_DecodeParms
    
final public static  COSNameDK_H
    
final public static  COSNameDK_Height
    
final public static  COSNameDK_I
    
final public static  COSNameDK_ID
    
final public static  COSNameDK_IM
    
final public static  COSNameDK_ImageMask
    
final public static  COSNameDK_Intent
    
final public static  COSNameDK_Interpolate
    
final public static  COSNameDK_Mask
    
final public static  COSNameDK_Metadata
    
final public static  COSNameDK_Name
    
final public static  COSNameDK_OC
    
final public static  COSNameDK_OPI
    
final public static  COSNameDK_SMask
    
final public static  COSNameDK_SMaskInData
    
final public static  COSNameDK_StructParent
    
final public static  COSNameDK_W
    
final public static  COSNameDK_Width
    
final public static  MetaClassMETA
    

Constructor Summary
protected  PDImage(COSObject object)
     Create the receiver class from an already defined COSStream .

Method Summary
public  COSStreamcosExtractJPEGStream()
    
public  COSObjectcosGetColorSpace()
    
protected  COSNamecosGetExpectedSubtype()
    
public  COSObjectcosGetMask()
    
public  COSArraycosSetColorSpace(COSArray colorspace)
    
public  COSNamecosSetColorSpace(COSName colorspace)
    
public  intgetBitsPerComponent()
     The number of bits per component.
public  byte[][]getColorKeyMask(int colors)
    
public  PDColorSpacegetColorSpace()
     The color space used by the image.
public  int[]getDecode()
    
public  intgetHeight()
    
public  PDImagegetMaskImage()
    
public  PDXObjectgetSMask()
    
public  intgetWidth()
    
public  booleanhasTransparency()
    
public  voidinvalidateCaches()
    
public  booleanisImage()
    
public  booleanisImageMask()
    
public  booleanisInterpolate()
    
public  voidsetBitsPerComponent(int bits)
    
public  voidsetColorSpace(PDColorSpace paramCachedColorSpace)
     In inline images the color space may reference the resource dictionary.
public  voidsetDecode(int[] decode)
    
public  voidsetHeight(int height)
    
public  voidsetImageMask(boolean flag)
    
public  voidsetMask(PDXObject object)
    
public  voidsetSMask(PDXObject object)
    
public  voidsetWidth(int width)
    

Field Detail
CN_Subtype_Image
final public static COSName CN_Subtype_Image(Code)



C_RENDERING_VALID1
final public static String C_RENDERING_VALID1(Code)
the valid rendering intents *



C_RENDERING_VALID2
final public static String C_RENDERING_VALID2(Code)



C_RENDERING_VALID3
final public static String C_RENDERING_VALID3(Code)



C_RENDERING_VALID4
final public static String C_RENDERING_VALID4(Code)



DK_Alternates
final public static COSName DK_Alternates(Code)



DK_BPC
final public static COSName DK_BPC(Code)



DK_BitsPerComponent
final public static COSName DK_BitsPerComponent(Code)



DK_CS
final public static COSName DK_CS(Code)



DK_ColorSpace
final public static COSName DK_ColorSpace(Code)



DK_D
final public static COSName DK_D(Code)



DK_DP
final public static COSName DK_DP(Code)



DK_Decode
final public static COSName DK_Decode(Code)



DK_DecodeParms
final public static COSName DK_DecodeParms(Code)



DK_H
final public static COSName DK_H(Code)



DK_Height
final public static COSName DK_Height(Code)



DK_I
final public static COSName DK_I(Code)



DK_ID
final public static COSName DK_ID(Code)



DK_IM
final public static COSName DK_IM(Code)



DK_ImageMask
final public static COSName DK_ImageMask(Code)



DK_Intent
final public static COSName DK_Intent(Code)



DK_Interpolate
final public static COSName DK_Interpolate(Code)



DK_Mask
final public static COSName DK_Mask(Code)



DK_Metadata
final public static COSName DK_Metadata(Code)



DK_Name
final public static COSName DK_Name(Code)



DK_OC
final public static COSName DK_OC(Code)



DK_OPI
final public static COSName DK_OPI(Code)



DK_SMask
final public static COSName DK_SMask(Code)



DK_SMaskInData
final public static COSName DK_SMaskInData(Code)



DK_StructParent
final public static COSName DK_StructParent(Code)



DK_W
final public static COSName DK_W(Code)



DK_Width
final public static COSName DK_Width(Code)



META
final public static MetaClass META(Code)
The meta class instance




Constructor Detail
PDImage
protected PDImage(COSObject object)(Code)
Create the receiver class from an already defined COSStream . NEVER use the constructor directly.
Parameters:
  object - the PDDocument containing the new object




Method Detail
cosExtractJPEGStream
public COSStream cosExtractJPEGStream() throws IOException(Code)



cosGetColorSpace
public COSObject cosGetColorSpace()(Code)



cosGetExpectedSubtype
protected COSName cosGetExpectedSubtype()(Code)



cosGetMask
public COSObject cosGetMask()(Code)



cosSetColorSpace
public COSArray cosSetColorSpace(COSArray colorspace)(Code)



cosSetColorSpace
public COSName cosSetColorSpace(COSName colorspace)(Code)



getBitsPerComponent
public int getBitsPerComponent()(Code)
The number of bits per component.

This information is stored in different attributes depending if the image is inlined or explicit.

The number of bits per component.



getColorKeyMask
public byte[][] getColorKeyMask(int colors)(Code)



getColorSpace
public PDColorSpace getColorSpace()(Code)
The color space used by the image.

Color space information is stored in different attributes in inlined and explicit images.

The color space used by the image.



getDecode
public int[] getDecode()(Code)



getHeight
public int getHeight()(Code)
get the height of the raster image the height



getMaskImage
public PDImage getMaskImage()(Code)



getSMask
public PDXObject getSMask()(Code)



getWidth
public int getWidth()(Code)
get the width of the raster image the width



hasTransparency
public boolean hasTransparency()(Code)



invalidateCaches
public void invalidateCaches()(Code)



isImage
public boolean isImage()(Code)



isImageMask
public boolean isImageMask()(Code)



isInterpolate
public boolean isInterpolate()(Code)
interpolation flag (used if a image is scaled)



setBitsPerComponent
public void setBitsPerComponent(int bits)(Code)



setColorSpace
public void setColorSpace(PDColorSpace paramCachedColorSpace)(Code)
In inline images the color space may reference the resource dictionary. In this case the color space is resolved and assigned externaly.
Parameters:
  paramCachedColorSpace - The color space to use.



setDecode
public void setDecode(int[] decode)(Code)



setHeight
public void setHeight(int height)(Code)
set the height of the raster image
Parameters:
  height - the height of the raster image



setImageMask
public void setImageMask(boolean flag)(Code)



setMask
public void setMask(PDXObject object)(Code)



setSMask
public void setSMask(PDXObject object)(Code)



setWidth
public void setWidth(int width)(Code)
set the width of the raster image
Parameters:
  width - the width of the raster image



Fields inherited from de.intarsys.pdf.pd.PDXObject
final public static COSName CN_Type_XObject(Code)(Java Doc)
final public static COSName DK_Resources(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDXObject
public COSDictionary cosGetDict()(Code)(Java Doc)
protected COSName cosGetExpectedType()(Code)(Java Doc)
public byte[] getBytes()(Code)(Java Doc)
public boolean isForm()(Code)(Java Doc)
public boolean isImage()(Code)(Java Doc)
public boolean isPostscript()(Code)(Java Doc)
public void setBytes(byte[] bytes)(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.pd.PDObject
final public static COSName DK_Subtype(Code)(Java Doc)
final public static COSName DK_Type(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.pd.PDObject
protected COSName cosGetExpectedSubtype()(Code)(Java Doc)
protected COSName cosGetExpectedType()(Code)(Java Doc)
public COSObject cosGetFieldDescendant(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosGetFieldInherited(COSName name)(Code)(Java Doc)
final public COSName cosGetSubtype()(Code)(Java Doc)
final public COSName cosGetType()(Code)(Java Doc)
public COSObject cosRemoveFieldInheritable(COSName name)(Code)(Java Doc)
public COSObject cosSetFieldInheritable(COSName name, COSObject cosObj)(Code)(Java Doc)
final public COSName cosSetSubtype(COSName newType)(Code)(Java Doc)
final public COSName cosSetType(COSName newType)(Code)(Java Doc)
public PDDocument getDoc()(Code)(Java Doc)
public List getGenericChildren()(Code)(Java Doc)
public PDObject getGenericParent()(Code)(Java Doc)
protected List getPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void setGenericParent(PDObject parent)(Code)(Java Doc)
protected void setPDObjects(COSName key, List list)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from de.intarsys.pdf.cos.COSBasedObject
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.cos.COSBasedObject
public void changed(COSObject pObject, Object slot, Object oldValue, Object newValue)(Code)(Java Doc)
public COSArray cosGetArray()(Code)(Java Doc)
public COSDictionary cosGetDict()(Code)(Java Doc)
public COSDocument cosGetDoc()(Code)(Java Doc)
public COSObject cosGetField(COSName name)(Code)(Java Doc)
public COSObject cosGetObject()(Code)(Java Doc)
public COSStream cosGetStream()(Code)(Java Doc)
public boolean cosHasField(COSName name)(Code)(Java Doc)
public COSObject cosRemoveField(COSName name)(Code)(Java Doc)
public COSObject cosSetField(COSName name, COSObject cosObj)(Code)(Java Doc)
public Object getAttribute(Object key)(Code)(Java Doc)
public boolean getFieldBoolean(COSName name, boolean defaultValue)(Code)(Java Doc)
public CDSDate getFieldDate(COSName name, CDSDate defaultValue)(Code)(Java Doc)
public float getFieldFixed(COSName name, float defaultValue)(Code)(Java Doc)
public float[] getFieldFixedArray(COSName name, float[] defaultValue)(Code)(Java Doc)
public int getFieldInt(COSName name, int defaultValue)(Code)(Java Doc)
public String getFieldMLString(COSName name, String defaultValue)(Code)(Java Doc)
public String getFieldString(COSName name, String defaultValue)(Code)(Java Doc)
protected void initializeFromCos()(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void invalidateCaches()(Code)(Java Doc)
public Object removeAttribute(Object key)(Code)(Java Doc)
public Object setAttribute(Object key, Object value)(Code)(Java Doc)
public void setFieldBoolean(COSName name, boolean value)(Code)(Java Doc)
public void setFieldFixed(COSName name, float value)(Code)(Java Doc)
protected void setFieldFixedArray(COSName key, float[] array)(Code)(Java Doc)
public void setFieldInt(COSName name, int value)(Code)(Java Doc)
public void setFieldMLString(COSName name, String value)(Code)(Java Doc)
public void setFieldName(COSName name, String value)(Code)(Java Doc)
public void setFieldObject(COSName name, COSBasedObject value)(Code)(Java Doc)
public void setFieldString(COSName name, String value)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.