Java Doc for TIFFImageReadParam.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » com » sun » media » imageio » plugins » tiff » 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 » 6.0 JDK Modules » Java Advanced Imaging » com.sun.media.imageio.plugins.tiff 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.imageio.ImageReadParam
   com.sun.media.imageio.plugins.tiff.TIFFImageReadParam

TIFFImageReadParam
public class TIFFImageReadParam extends ImageReadParam (Code)
A subclass of ImageReadParam allowing control over the TIFF reading process.

Because TIFF is an extensible format, the reader requires information about any tags used by TIFF extensions in order to emit meaningful metadata. Also, TIFF extensions may define new compression types. Both types of information about extensions may be provided by this interface.

Additional TIFF tags must be organized into TIFFTagSets. A TIFFTagSet may be provided to the reader by means of the addAllowedTagSet method. By default, the tag sets BaselineTIFFTagSet, FaxTIFFTagSet, EXIFParentTIFFTagSet, and GeoTIFFTagSet are included.

New TIFF decompressors are handled in a simple fashion. If a non-null TIFFDecompressor is provided by means of the setTIFFDecompressor method, it will override the reader's usual choice of decompressor. Thus, to read an image with a non-standard compression type, the application should first attempt to read the image's metadata and extract the compression type. The application may then use its own logic to choose a suitable TIFFDecompressor, instantiate it, and pass it to the ImageReadParam being used. The reader's read method may be called with the ImageReadParam set.



Field Summary
 ListallowedTagSets
    
 TIFFColorConvertercolorConverter
    
 TIFFDecompressordecompressor
    

Constructor Summary
public  TIFFImageReadParam()
     Constructs a TIFFImageReadParam.

Method Summary
public  voidaddAllowedTagSet(TIFFTagSet tagSet)
     Adds a TIFFTagSet object to the list of allowed tag sets.
public  ListgetAllowedTagSets()
     Returns a List containing the allowed TIFFTagSet objects.
public  TIFFColorConvertergetColorConverter()
     Returns the currently set TIFFColorConverter object, or null if none is set.
public  TIFFDecompressorgetTIFFDecompressor()
     Returns the TIFFDecompressor that is currently set to be used by the ImageReader to decode each image strip or tile, or null if none has been set.
public  voidremoveAllowedTagSet(TIFFTagSet tagSet)
     Removes a TIFFTagSet object from the list of allowed tag sets.
public  voidsetColorConverter(TIFFColorConverter colorConverter)
     Sets the TIFFColorConverter object for the pixel data being read.
public  voidsetTIFFDecompressor(TIFFDecompressor decompressor)
     Sets the TIFFDecompressor object to be used by the ImageReader to decode each image strip or tile.

Field Detail
allowedTagSets
List allowedTagSets(Code)



colorConverter
TIFFColorConverter colorConverter(Code)



decompressor
TIFFDecompressor decompressor(Code)




Constructor Detail
TIFFImageReadParam
public TIFFImageReadParam()(Code)
Constructs a TIFFImageReadParam. Tags defined by the TIFFTagSets BaselineTIFFTagSet, FaxTIFFTagSet, EXIFParentTIFFTagSet, and GeoTIFFTagSet will be supported.
See Also:   BaselineTIFFTagSet
See Also:   FaxTIFFTagSet
See Also:   EXIFParentTIFFTagSet
See Also:   GeoTIFFTagSet




Method Detail
addAllowedTagSet
public void addAllowedTagSet(TIFFTagSet tagSet)(Code)
Adds a TIFFTagSet object to the list of allowed tag sets.
Parameters:
  tagSet - a TIFFTagSet.
throws:
  IllegalArgumentException - if tagSet isnull.



getAllowedTagSets
public List getAllowedTagSets()(Code)
Returns a List containing the allowed TIFFTagSet objects. a List of TIFFTagSets.



getColorConverter
public TIFFColorConverter getColorConverter()(Code)
Returns the currently set TIFFColorConverter object, or null if none is set. the current TIFFColorConverter object.
See Also:   TIFFImageReadParam.setColorConverter(TIFFColorConverter)



getTIFFDecompressor
public TIFFDecompressor getTIFFDecompressor()(Code)
Returns the TIFFDecompressor that is currently set to be used by the ImageReader to decode each image strip or tile, or null if none has been set. decompressor the TIFFDecompressor to beused for decoding, or null if none has been set(allowing the reader to choose its own).
See Also:   TIFFImageReadParam.setTIFFDecompressor(TIFFDecompressor)



removeAllowedTagSet
public void removeAllowedTagSet(TIFFTagSet tagSet)(Code)
Removes a TIFFTagSet object from the list of allowed tag sets. Removal is based on the equals method of the TIFFTagSet, which is normally defined as reference equality.
Parameters:
  tagSet - a TIFFTagSet.
throws:
  IllegalArgumentException - if tagSet isnull.



setColorConverter
public void setColorConverter(TIFFColorConverter colorConverter)(Code)
Sets the TIFFColorConverter object for the pixel data being read. The data will be converted from the given color space to a standard RGB space as it is being read. A value of null disables conversion.
Parameters:
  colorConverter - a TIFFColorConverter objectto be used for final color conversion, or null.
See Also:   TIFFImageReadParam.getColorConverter



setTIFFDecompressor
public void setTIFFDecompressor(TIFFDecompressor decompressor)(Code)
Sets the TIFFDecompressor object to be used by the ImageReader to decode each image strip or tile. A value of null allows the reader to choose its own TIFFDecompressor.
Parameters:
  decompressor - the TIFFDecompressor to beused for decoding, or null to allow the reader tochoose its own.
See Also:   TIFFImageReadParam.getTIFFDecompressor



Fields inherited from javax.imageio.ImageReadParam
protected boolean canSetSourceRenderSize(Code)(Java Doc)
protected BufferedImage destination(Code)(Java Doc)
protected int[] destinationBands(Code)(Java Doc)
protected int minProgressivePass(Code)(Java Doc)
protected int numProgressivePasses(Code)(Java Doc)
protected Dimension sourceRenderSize(Code)(Java Doc)

Methods inherited from javax.imageio.ImageReadParam
public boolean canSetSourceRenderSize()(Code)(Java Doc)
public BufferedImage getDestination()(Code)(Java Doc)
public int[] getDestinationBands()(Code)(Java Doc)
public int getSourceMaxProgressivePass()(Code)(Java Doc)
public int getSourceMinProgressivePass()(Code)(Java Doc)
public int getSourceNumProgressivePasses()(Code)(Java Doc)
public Dimension getSourceRenderSize()(Code)(Java Doc)
public void setDestination(BufferedImage destination)(Code)(Java Doc)
public void setDestinationBands(int[] destinationBands)(Code)(Java Doc)
public void setDestinationType(ImageTypeSpecifier destinationType)(Code)(Java Doc)
public void setSourceProgressivePasses(int minPass, int numPasses)(Code)(Java Doc)
public void setSourceRenderSize(Dimension size) throws UnsupportedOperationException(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.