GIF to JPEG

I made a GIF for a website and it doesn't seem to be able to be turned into a JPEG. I tried turning it into a PSD file first and that didn't work. What am I missing about GIFs?
Thank you,
Tracy

Well, there seems to be certain editing capabilities that are hampered. I can't seem to be able to use a paintbrush (Although the bucket works).
And the cloning tool doesn't function normally. Can't smudge and I guess I haven't gotten to the chapter that talks about RGB color mode. Maybe I'm getting ahead of myself.
Eraser works though.
I thought that a GIF was basically a way to utilize multilayer files online, am I wrong?
Tracy

Similar Messages

  • How do I convert file to gif, jpg, jpeg, png, bmp, or swf

    I mad a page in COMIC LIFE. I saved it, then when i went on photobucket.com, it gave me a message saying
    The file "" does not have a valid image extension.
    Valid image extensions are: gif, jpg, jpeg, png, bmp, swf.
    HOW DO I CHANGE IT?
    Thanks

    I have never used Comic Life, so I can't tell you how to do it from there. But you could open it in Preview. Control-click the page in the Finder and choose Open with... set it to Preview. Once in Preview, do a Save As and change the Format there.

  • Converting Tif file to GIF or JPEG

    Could you provide me with an example to convert a TIF file to GIF or JPEG with the JIMI or tell me of a good link where I can learn how to do this?. I downloaded the JIMI library but I cannot find documentation or a clear example to carry out this conversion.

    Do you know how the JIMI converts multi-paged TIF files into several JPEG or GIG files? The Jimireader could read only the first page of a TIF file. But I could not get the other pages of the TIF file. The code that I wrote to extract the first page was:
    try {
    JimiReader reader= Jimi.createJimiReader"C:/MRFleSto/4.tif");
    i = reader.getNumberOfImages();
    java.awt.Image img = reader.getImage();
    .... more code to put the image in a call to convert it
    reader.close();
    } catch(Exception e){}
    It turns out that i (the number of images) returns -1; never the total number of pages in the file. Also the getNextImage method of the JimiReader is "protected" (that is, removed from the class) and cannot be used.

  • Creating GIF or JPEG files

    Is it possible to render a graphic object into a GIF or JPEG file and save it in a Java application?
    Thanks.
    Pradeep Gupta
    518-383-1167
    [email protected]

    For JPEG:
    1) Try JAI (http://java.sun.com/products/java-media/jai/) or the Java Image I/O from JDK 1.4.
    2) Try PJA (www.eteks.com)
    There is a pitfall if you want to do imaging in a Unix/Linux machine and the Java program can not access a X Server (maybe the machine is not running X). In this case you must install a "fake X Server", or use PJA.
    For GIF:
    Due to LZW patent problems with GIF compression the packages that generate GIF files have(had) to get a Unisys license.

  • How can i write the image in gif or jpeg format??

    how can i write the image in gif or jpeg format??

    thx someone else help me in another topic

  • How to save in GIF or JPEG format?

    I make a drawing using Graphics objects and now i want to save it to a GIF or JPEG or BMP file.
    How to go about it?
    TIA
    Naveen

    Hi,
    Here is some code that may help.
    NOTES: pixels were recieved from a PixelGrabber proccess.
    transColor was picked from an image (you can supply your own code its just an int).
    blnTrans is a boolean flag indicating that a transparaent color was picked.
    dim is the dimensions of the image (any image will do).
    import javax.swing.*;
    import javax.media.jai.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import com.sun.image.codec.jpeg.*;
    import com.sun.media.jai.codec.ImageCodec;
    import com.sun.media.jai.codec.ImageEncoder;
    import com.sun.media.jai.codec.PNGEncodeParam;
    import com.sun.media.jai.codec.BMPEncodeParam;
    import com.sun.media.jai.codec.TIFFEncodeParam;
    import java.awt.image.*;
    import java.awt.color.*;
    import Acme.JPM.Encoders.*;
    //Some more Code
    int fileType = 0;
    File file = null;
    if (pixels != null)
    //create a file save dialog.
    //create a File Chooser.
    fc = new JFileChooser(););
    int returnValue = fc.showSaveDialog(this);
    //detemine the choose.
    if (returnValue == JFileChooser.APPROVE_OPTION)
    file = fc.getSelectedFile();
    //get the file ext and translate for switch.
    Utils ut = new Utils();
    String ext = ut.getExtension(file);
    if (ext.equals("gif"))
    fileType = 0;
    else if (ext.equals("jpg"))
    fileType = 1;
    else if (ext.equals("png"))
    fileType = 2;
    else if (ext.equals("tif"))
    fileType = 3;
    else if (ext.equals("bmp"))
    fileType = 4;
    switch (fileType)
    case 0:
    if (blnTrans)
    NewImageProducer img = new NewImageProducer(pixels, TransColor, dim);
    try
    FileOutputStream fos1 = new FileOutputStream(file);
    Acme.JPM.Encoders.ImageEncoder e = new GifEncoder(img, fos1);
    e.encode();
    fos1.close();
    catch (java.io.IOException e) {}
    else
    BufferedImage imb = new BufferedImage((int)dim.getWidth(), (int)dim.getHeight(), BufferedImage.TYPE_INT_RGB);
    imb.setRGB(0, 0, (int)dim.getWidth(), (int)dim.getHeight(), pixels, 0, (int)dim.getWidth());
    try
    FileOutputStream fos2 = new FileOutputStream(file);
    Acme.JPM.Encoders.ImageEncoder e = new GifEncoder(imb, fos2);
    e.encode();
    fos2.close();
    catch (java.io.IOException e) {}
    catch (Exception er) {}
    break;
    case 1:
    try
    BufferedImage bimg = new java.awt.image.BufferedImage((int)dim.getWidth(), (int)dim.getHeight(), BufferedImage.TYPE_INT_RGB);
    bimg.setRGB(0, 0, (int)dim.getWidth(), (int)dim.getHeight(), pixels, 0, (int)dim.getWidth());
    //Encode as a JPEG
    FileOutputStream fos3 = new FileOutputStream(file);
    JPEGImageEncoder jpeg = JPEGCodec.createJPEGEncoder(fos3);
    jpeg.encode(bimg);
    fos3.close();
    catch (java.io.IOException e) {}
    break;
    case 2:
    try
    BufferedImage bimg = new java.awt.image.BufferedImage((int)dim.getWidth(), (int)dim.getHeight(), BufferedImage.TYPE_INT_RGB);
    bimg.setRGB(0, 0, (int)dim.getWidth(), (int)dim.getHeight(), pixels, 0, (int)dim.getWidth());
    //Encode as a PNG
    FileOutputStream fos3 = new FileOutputStream(file);
    PNGEncodeParam pp = PNGEncodeParam.getDefaultEncodeParam(bimg);
    ImageEncoder png = ImageCodec.createImageEncoder("PNG", fos3, pp);
    png.encode(bimg);
    fos3.close();
    catch (java.io.IOException e) {}
    break;
    case 3:
    try
    BufferedImage bimg = new java.awt.image.BufferedImage((int)dim.getWidth(), (int)dim.getHeight(), BufferedImage.TYPE_4BYTE_ABGR);
    bimg.setRGB(0, 0, (int)dim.getWidth(), (int)dim.getHeight(), pixels, 0, (int)dim.getWidth());
    //Encode as a TIF
    FileOutputStream fos3 = new FileOutputStream(file);
    TIFFEncodeParam tp = new TIFFEncodeParam();
    ImageEncoder tif = ImageCodec.createImageEncoder("TIFF", fos3, tp);
    tif.encode(bimg);
    fos3.close();
    catch (java.io.IOException e) {}
    break;
    case 4:
    try
    BufferedImage bimg = new java.awt.image.BufferedImage((int)dim.getWidth(), (int)dim.getHeight(), BufferedImage.TYPE_3BYTE_BGR);
    bimg.setRGB(0, 0, (int)dim.getWidth(), (int)dim.getHeight(), pixels, 0, (int)dim.getWidth());
    //Encode as a BMP
    FileOutputStream fos3 = new FileOutputStream(file);
    BMPEncodeParam bp = new BMPEncodeParam();
    ImageEncoder png = ImageCodec.createImageEncoder("BMP", fos3, bp);
    png.encode(bimg);
    fos3.close();
    catch (java.io.IOException e) {}
    break;
    } //end of switch.
    } //end of file option.
    //Here is NewImageProducer
    import java.awt.image.*;
    import java.util.*;
    import java.awt.*;
    import java.applet.*;
    import java.awt.color.*;
    class NewImageProducer implements ImageProducer{
    private Vector vector = null;
    int[] pixels;
    int alpha;
    Dimension dim;
    public NewImageProducer(int[] pixels, int alpha, Dimension dim){
    vector = new Vector();
    this.pixels = pixels;
    this.alpha = alpha;
    this.dim = dim;
    public void addConsumer(ImageConsumer ic){
    if (isConsumer(ic) == false)
    vector.addElement(ic);
    public void removeConsumer(ImageConsumer ic){
    if (isConsumer(ic) == true)
    vector.removeElement(ic);
    public boolean isConsumer(ImageConsumer ic){
    return vector.indexOf(ic) > -1;
    public void startProduction(ImageConsumer ic){
    addConsumer(ic);
    int x = (int)dim.getWidth();
    int y = (int)dim.getHeight();
    Hashtable ht = new Hashtable();
    byte[] r = new byte[pixels.length];
    byte[] g = new byte[pixels.length];
    byte[] b = new byte[pixels.length];
    byte[] a = new byte[pixels.length];
    for (int i=0; i<pixels.length; i++)
    if (pixels[i] == alpha)
    a[i] = (byte)0;
    else
    a[i] = (byte)255;
    for (int i=0; i<pixels.length; i++)
    r[i] = (byte)((pixels[i] & 0xFF0000) >> 16);
    g[i] = (byte)((pixels[i] & 0x00FF00) >> 8);
    b[i] = (byte)(pixels[i] & 0x0000FF);
    ColorModel cm=null;
    try{
    cm = new IndexColorModel(8, pixels.length, r, g, b, a);
    catch (Exception e){e.printStackTrace();}
    Vector v = (Vector)vector.clone();
    Enumeration e = v.elements();
    while (e.hasMoreElements()){
    ic = (ImageConsumer)e.nextElement();
    ic.setColorModel(cm);
    ic.setDimensions(x, y);
    ic.setProperties(ht);
    ic.setHints(ImageConsumer.RANDOMPIXELORDER);
    int[] p = new int[pixels.length];
    for (int i=0; i<pixels.length; i++)
    p[i] = i;
    ic.setPixels(0, 0, x, y, cm, p, 0, x);
    ic.imageComplete(ImageConsumer.STATICIMAGEDONE);
    public void requestTopDownLeftRightResend(
    ImageConsumer ic){;
    //Here is Utils
    import java.io.File;
    public class Utils {
    public final static String jpeg = "jpeg";
    public final static String jpg = "jpg";
    public final static String gif = "gif";
    public final static String tiff = "tiff";
    public final static String tif = "tif";
    public final static String png = "png";
    public final static String bmp = "bmp";
    * Get the extension of a file.
    public static String getExtension(File f) {
    String ext = null;
    String s = f.getName();
    int i = s.lastIndexOf('.');
    if (i > 0 && i < s.length() - 1) {
    ext = s.substring(i+1).toLowerCase();
    return ext;
    Get the Acme class at:
    http://www.acme.com/java/software/Package-Acme.JPM.html

  • Single item having content type property set for both GIF and JPEGs

    Is it possible to have a single blob column in the database that stores either jpegs or gif files and then the ability to display either type through a hyperdrill on a Discoverer item? If so, how can the content type property on an blob item be set to two options?
    regards
    Paul P

    Hi,
    Discoverer will use the content_type property to set the MIME type used when opening the blob. So if your blob contains more than one type of file and you want to use different programs to view the files then there are 2 options you can use:
    Option 1: Create a EUL item for each content type. For example, you create a item called gif_content, set the content type to gif, and use decode(type, 'GIF', blob) to populate the item only if the content is gif. Then the user will see multiple hyperlink columns, but only one of the columns will contain a link in each row.
    Option 2: Create a mod_plsql procedure to download the blob. Rather than include the blob in your EUL, instead include a URL that runs your mod_plsql procedure to download the blob. Set the content type for the URL to be FILE and in the procedure set the MIME type using OWA_UTIL.mime_header and download the blob using WPG_DOCLOAD.download_file. Then the user will see one URL hyperlink that will download all file types.
    Hope that helps,
    Rod West

  • JAI - Colour problem converting GIF to JPEG

    Hi
    I'm using JAI to load a GIF, and then save it as a JPEG. When I save it (using the "filestore" operation in JAI.create(...) the resulting JPEG seems to be monochrome. However if I save the same image as a BMP, it's fine.
    I think this has something to do with ColorModels, but I'm a bit lost and confused really. Please could someone point me in the right direction?
    NB, because I can't get ImageIO installed on my machine (it refuses to believe I have the right JDK installed...) I'm restricted to methods available in JAI
    Thanks

    Thanks for the reply. Here's the complete solution for anyone whose interested (mostly copied from another post). I tested it and it works a treat for my app at least
    (image is a RenderedOp)
    BufferedImage realImage = image.getAsBufferedImage();
    try{
    BufferedImage rawImage = realImage;
        realImage = new BufferedImage(rawImage.getWidth(), rawImage.getHeight(), BufferedImage.TYPE_INT_RGB); //CHANGE THIS TO TYPE YOU NEED
        ColorConvertOp xformOp = new ColorConvertOp(null);
        xformOp.filter(rawImage, realImage);
    }catch(Exception e){
        e.printStackTrace();
    }

  • PSE 7 - Save for Web - Now Defaults to GIF - Prefer JPEG - Can I change it?

    When using PSE 7.0 File > Save for Web, I generally want the files to be JPEGs. In previous versions, the file format on this menu would stay at JPEG once you set it there. Now, each time I open the menu it returns to GIF. Is there a way to have it default or hold as a JPEG in that field?
    Thank you!
    Beverly

    Is there a competing program that is as good as PSE that I could try? I am having a few annoying problems with this program and I think it is time to try something else. I was really excited to use the Photoshop family of photos, but these three problems are getting me down:
    1) I hate that the save for web function defaults to .gif. It is really annoying. The fact that they have a tool to fix it yet that doesn't even work makes me even more bummed out.
    2) When I try to go from the organizer to the editor, it literally takes about 20 seconds for the photo to load. That is a big waste of time.
    3) Sometimes, when I am in the quick edit mode, the zoom feature doesn't work. Other times, the cropping feature doesn't work. I click it back to the full edit, and those functions work. It is odd.
    It isn't like I am trying to split the atom here. I am relatively computer savvy, and all I want to do is edit photos. I have had many problems like this with the previous version as well as the latest one.

  • Image file formats gif, png, jpeg, tiff

    Hi guys,
    I've read a little bit about this, so I know the some basics:
    gifs: lossless, transparency/animation, 256 colors
    jpeg: lossy, no transparency, 16 million colors, etc.
    png: lossless, 16 million colors (?), newer/better compression and transparency than gif
    But I want to hear it from the designers (web and/or print, cause I do both). What format do you guys use for editing/printing photos? I've always archived and printed my photos as TIFFs, they're huge, but this way I just avoid any hassle of quality loss.
    I've been reading that I should keep my photos as PNGs and then print final versions as JPEGs...is that true? How do you guys utilize the various file types?
    Thanks!!!

    For print I use .tiff's ( just like you ).  I limt .png files to the internet.  I would not convert the .png to a .jpg for print.  If anything, I'd copy the original .png and convert it to a CMYK .tiff or .psd file.

  • Converting From GIF To JPEG...

    Alright gang, I've got a pic in .gif format and want to convert it to .jpeg. iPhoto tells me to change it with another application, but doesn't tell me what? Any ideas?
    Normally, in the world of PC's, I'd just convert it using MS's Paint program.
    Anyone?
    Bob

    HI Bobby,
    In your Applications folder there is a program called Preview. If you double click on an image file, Preview is usually the default application that will open it.
    Once opened by Preview, do a "save as" and choose jpg as the format.

  • Convert GIF to JPEG

    Can anyone recommend a free software program that will convert some GIF photos to JPEG's? Thanks for your help.
    iMac G5   Mac OS X (10.4.3)  

    Open each GIF in Preview, which is located in the Applications folder, choose Save As from the File menu, choose JPEG as the format, and click Save.
    (21183)

  • Mail is converting gifs to jpegs

    All of the sudden my Mail program is converting all of my gifs I attach to jpegs. Can someone tell me how to prevent that?

    I was dragging them and also using the Attach button in mail.
    I have figured out however the problem is in the bottom right hand corner of the composing screen where it says image size. Somehow along the way it got set to medium instead of actual size hence reducing my gif animation to a jpeg. Thanks for your reply

  • Transferring gif and jpeg files to FCP

    I was wondering why even though I have really high resolution files, pics, etc, when imported to fcp the files look pixelated and low quality. Ideas?

    Several reasons including Not rendered ( full or preview ) or not viewing on an external broadcast monitor, instead your laptop screen. add a drop shadow to it and it'll pop. Gif are usually a lower rez to begin with, stick with jpegs or psd files.
    HTH
    Larry
    editing on FCP since version 1.1

  • How can i convert .gif/.bmp/.jpeg file to labview code(vi)?

    Hi,
    I am having a .gif file which consists of vi code. I want to convert that .gif file into vi & complile it. I am using LV 6.1 & 7 express. Is is possible?
    Reverse is surely possible like we can convert the vi diagram into .gif/.bmp file? But above i dont know?
    Your help will really appreciated.
    Best Regards,
    Nirmal

    If I understand your desire, it's to be able to convert a graphical image (bit map or screen photo, for example) into a functional block of LabView code, with all of the wire work done, etc. This is a task approximately equivalent to performing optical character recognition.
    In the case of a non-system subvi, unless that subvi is loaded, so that it's graphical representation can be recognized by comparing the bit-map image for the subvi on the photo with the available vi's.
    Another difficult problem to solve is when the bit-map has been scaled up or down, such that there's a pixel count mismatch between the VI iconic bitmap and the photographic bitmap you wish to import into your code diagram.
    And if you try to do recognition on objects that have h
    ad their RGB color representations changed, as can happen when JPG compression or other compression forms are used that reduce to total number of colors saved, that challenges the object recognition further.
    Also, what you're interested in having is only of value to Labview programmers, so there's not a very large market for such a tool to be sold to - unlike bitmaps of scanned text to ASCII or wordprocessor applications - traditional OCR software.
    All this ins't to say it can't be done, but that it's difficult, and for the person or company that undertakes it, the sales potential is limited.
    Regards,
    Bob Donnell

Maybe you are looking for

  • Welcome to the Service Providers General discussion

    Welcome to the Cisco Networking Professionals Connection Service Providers Forum. This topic will provide you the opportunity to discuss issues surrounding General Service Provider solutions. We encourage everyone to share their knowledge and start c

  • How to support 30+ clients using weblogic5.1 with hpux11.0

    Hi,all I am using weblogic 5.1 in hp ux 11.0, and we are doing stress test , with little numbers (<20)clients, it can work properly,but when the client number increase to nearly 30, the speed is very slow,and then weblogic server hangs. we are using

  • Apple display occasionally don't wake from sleep

    Hey guys, I recently bought a macmini (2011) and a apple Thunderbolt Display. All works fine but a couple of times my display won't wake from macmini sleep when i click the mouse or keybord! I power-cycling the monitor (unplugging power, waiting a fe

  • Case statement problem for a column in BMM layer

    Hi friends. In physical layer I've a "cardio" column whose data type is INT, and two values comes here either 0 or 1. I need to replace 1 by 'YES' and 0 by "NO'. For that I changed the datatype of "Cardio" column to CHAR. and in BMM layer I'm using t

  • In cactus, it has problem to generate report

    Error Message: XSL-1000: (Fatal Error) Error while parsing XSL file (null). How to solve this problem, thank you~