Java Doc for ImageMerger.java in  » GIS » geonetwork » org » wfp » vam » intermap » kernel » map » images » 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 » GIS » geonetwork » org.wfp.vam.intermap.kernel.map.images 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.wfp.vam.intermap.kernel.map.images.ImageMerger

ImageMerger
public class ImageMerger (Code)


Field Summary
final public static  intGIF
    
final public static  intJPG
    
final public static  intPNG
    


Method Summary
public static  BufferedImagedealpha(BufferedImage bi)
     You cannot convert to JPEG an image with an alpha channel.
public static  BufferedImagedealpha(BufferedImage bi, Color background)
     You cannot convert to JPEG an image with an alpha channel.
public static synchronized  voidencodeGIF(OutputStream os, BufferedImage bi)
    
public static synchronized  voidencodeJPG(OutputStream os, BufferedImage bi)
    
public static synchronized  voidencodeJPG(OutputStream os, BufferedImage bi, float quality)
    
public static synchronized  voidencodePNG(OutputStream os, BufferedImage bi)
    
public static  voidmain(String args)
    
public static  BufferedImagemerge(List images, List<Float> transparency)
     Merges the image listed in images, each with the related transparency.
public static  BufferedImagemerge(String base, String over, int x, int y)
    
public static  BufferedImagemerge(String base, Image over, int x, int y)
    
public static  BufferedImagemerge(String base, Image over, int x, int y, float alpha)
    
public static  BufferedImagemerge(Image base, Image over, int x, int y)
    
public static  BufferedImagemerge(Image base, Image over, int x, int y, float alpha)
    
public static  voidmergeAndSave(List images, List<Float> transparency, String outputFile, int format)
     Merge several images into one.
public static  voidsaveImage(BufferedImage bi, String outputFile, int format)
    

Field Detail
GIF
final public static int GIF(Code)



JPG
final public static int JPG(Code)



PNG
final public static int PNG(Code)





Method Detail
dealpha
public static BufferedImage dealpha(BufferedImage bi)(Code)
You cannot convert to JPEG an image with an alpha channel.



dealpha
public static BufferedImage dealpha(BufferedImage bi, Color background)(Code)
You cannot convert to JPEG an image with an alpha channel.



encodeGIF
public static synchronized void encodeGIF(OutputStream os, BufferedImage bi) throws IOException(Code)



encodeJPG
public static synchronized void encodeJPG(OutputStream os, BufferedImage bi) throws Exception(Code)
Encodes the BufferedImage bi into the stream os as a JPG --- JAI implementation



encodeJPG
public static synchronized void encodeJPG(OutputStream os, BufferedImage bi, float quality) throws Exception(Code)



encodePNG
public static synchronized void encodePNG(OutputStream os, BufferedImage bi) throws IOException(Code)
Encodes the BufferedImage bi into the stram os --- JAI implementation



main
public static void main(String args)(Code)



merge
public static BufferedImage merge(List images, List<Float> transparency)(Code)
Merges the image listed in images, each with the related transparency. images items can be Images or String (representing the file path of the image). Images and Strings can also be mixed in the List. the higher in the image stack it will be printed.



merge
public static BufferedImage merge(String base, String over, int x, int y)(Code)



merge
public static BufferedImage merge(String base, Image over, int x, int y)(Code)



merge
public static BufferedImage merge(String base, Image over, int x, int y, float alpha)(Code)



merge
public static BufferedImage merge(Image base, Image over, int x, int y)(Code)



merge
public static BufferedImage merge(Image base, Image over, int x, int y, float alpha)(Code)



mergeAndSave
public static void mergeAndSave(List images, List<Float> transparency, String outputFile, int format)(Code)
Merge several images into one. The first file supplied will be put at top. The destination image has the same size as the first input file.
Parameters:
  images - is a List of Images or Strings denoting the full path of the input image
Parameters:
  outputFile - is a String denoting path+filename of the output image
Parameters:
  format - is JPG or PNG as defined in the public constants.



saveImage
public static void saveImage(BufferedImage bi, String outputFile, int format)(Code)



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)

w__ww_.___j__av___a__2__s__.___c___om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.