1. Writing a GIF file in Java stackoverflow.comSo I have this GIF file on my desktop (it's a 52 card deck of poker cards). I have been working on a program that cuts it up into little acm.graphics.GImages ... |
2. Make gif from multiple PNG files stackoverflow.comI'm trying to combine about 45 png files to make a gif, or to make a video, or some type of movie or animated image. Please provide ideas for how I can ... |
3. problems with gif coderanch.com |
4. urgent!! io classes and gif files coderanch.com |
5. reading & writing gif files coderanch.com |
6. How do i save an image object in any format (gif,jpg)....urgent coderanch.comThe gif encoding algorithm is copy-righted so I don't think you will find the required code. In the standard java packages there are a bunch of unsupported com.sun.* packages, one of which is com.sun.image.codec.jpeg.* This package has the classes required for the conversion you need. I'm not aware of any other packages. Dave. |
7. Reading .gif Images from a file coderanch.com |
8. save a GIF to byte , not work coderanch.comHi, all , I am trying to read a gif file to byte, and then save back to another gif file. But the new one is corrupted. Very simple, but I do not know why. Here is the coding Thanks. Edward ------------- import java.io.*; public class GifToByte { public static void main(String[] aa) throws Exception{ byte[] a; String tem; FileInputStream fr ... |
9. J2SE 1.5 Image I/O unable to write gif files? coderanch.com |
10. how can i read .GIF file coderanch.com |
11. Regarding Extraction of data in .gif file coderanch.comHi, I have one Zip file,in that there are .gif files. what i need to do is i read i.e extract the information that .gif file and convert them to .doc file ?? For this i analysed in this way: 1)to unZip that file i used InflaterInputStream,after that i used FileOutputStream like this: import java.io.*; import java.util.zip.*; public class ReadGif{ public ... |
12. How can i put gif data into doc file,after reading the gif info coderanch.comHI EVERY ONE, Here i read the read data from gif by using the code below: import java.awt.*; import java.io.*; import java.awt.event.*; import java.awt.image.*; import java.awt.geom.*; import java.awt.font.*; import javax.swing.*; import javax.imageio.*; public class ReadGGif{ public static void main(String s[]) throws Exception { File f=new File("D:/Myapps/read/4843a349.gif"); BufferedImage bufferedImage=ImageIO.read(f); } } Now my intention is how can i put this data into ... |
13. how can i display the information that is read from the .gif file- urgently Required coderanch.comHI EVERYONE, here is my code: import java.awt.image.*; import java.awt.*; import java.awt.Toolkit; import java.io.*; public class ReadGif{ public static void main(String args[])throws Exception{ PixelGrabber pg; Image mapI; Image nowI; int[] mapx = new int[300*500]; mapI = Toolkit.getDefaultToolkit().createImage("D:/Myapps/read/4843a349.gif"); // load the image pg = new PixelGrabber(mapI,0,0,500,300,mapx,0,500); try { boolean b=pg.grabPixels(); int h=pg.getHeight(); int w=pg.getWidth(); int s=pg.getStatus(); System.out.println("the height of the image is"+s); ... |
14. How can i know the data that is read from the .gif file coderanch.comHI ALL, My project is image(.gif) file to DoC conversion to read .gif file,imported and used Thirdparty package com.gif4j. inorder to know the data that is read from the gif file i have used below two lines of code: GifImage gifImage = GifDecoder.decode(file); int j= gifImage.getNumberOfFrames(); String s=gifImage.getComment(j); but it is throwing an exception saying that 'Exception in thread main' what ... |
15. Compress the .gif or .jpg files according required dimension coderanch.com |
16. where to put the gif file coderanch.com |
17. How to access gif files from servelets coderanch.comHi, I need my servelet to use a GIF file. I have tried placing he gif file in the following locations: c:\Tomcat 4.0\ c:\Tomcat 4.0\webapps c:\Tomcat 4.0\webapps\myapp\ c:\Tomcat 4.0\webapps\myapp\classes And I have tried refering to the gif in the following manner: out.println(" | "); out.println(""); out.println(""); out.println(""); Do I have to specify the exact path? Thanks Ben
18. How change *.gif files into hexa files coderanch.com |
19. Decoding Base64-encoded GIF coderanch.comI'm receiving a base64 string representation of GIF in SOAP response from a web service. I'm then trying to decode the string, using the org.apache.axis.encode.Base64 (I've also tried the Base64 class in Apache Commons Codec), and write it to a file to save the GIF, but the image is coming out garbled. My code is included below; can anyone see what ... |
20. how to import downloaded .gif files into the software. java-forums.orgHi guys, for this project I am to nest different images that I downloaded into my program so that when I run it it will show the pictures. I downloaded couple pictures but the program seems to not detect the images (I don't get the images I want where I want them, instead get blanks). Where should I be placing the ... |
21. Using of PixelGrabber to retrieve the pixel value of GIF file forums.oracle.comInitially, I try to read the gif file as txt file by using string. but of course it doesn't work and make no sense. Then I found permadi website and my idea is PixelGrabber is my correct focus to extract the information from the gif file. And it is my first step before I proceed to do gif modification. From the ... |
22. importing gif file to ImageIcon forums.oracle.com/*The following switch statement looks at random number generated by the Random *object and assigns an image to a JLabel according to the int returned.*/ switch (randNum) { case 1: JLabel temp = new JLabel(this.redX); return temp; case 2: JLabel temp1 = new JLabel(this.blueCirc); return temp1; default: JLabel temp2 = new JLabel(); return temp2; } |
23. Saving file, but jpg and gif comes out garbled forums.oracle.com |
24. Reading encrypted gif file. forums.oracle.com |
25. setting a color to transparent in GIF file forums.oracle.comDoes anyone know how to set a color to be transparent in a GIF file using pure Java code (or is this even possible). I am using ImageIO to write a buffered image to file in GIF format and would like to be able to tell it a certain color to show as transparent (since GIF has only 1bit alpha). and ... |
26. Resizing GIF files forums.oracle.comHello, I am programming a batch application, that resize images, e.g. jpg, png and gif format. On internet there are bunch of "working" examples for jpg and png. I have modified them so I can use it for my intention. Unfortunately I could not find any java snippet for resizing GIF files. Can somebody give me a hint, code snippet, link, ... |
27. how to read a gif file into the java file? forums.oracle.com |
28. how to read a gif file into the java file? forums.oracle.com |
29. how to find out image size (in pixels) of jpg and gif files forums.oracle.com |
30. conver gif or jpg to wmf file forums.oracle.comRead the API doc for ImageIO and you will find out what formats you can save (read convert to) using the standard JDK. If wmf is not one of them (and it is not) then you will need to (as has already been said) Google. Google for an API that will do it (if there is one). But, it will probably ... |
31. How do I draw an animated gif file using Graphics(2D)? forums.oracle.com |