How to convert to JPEG?

I've worked on an image and I stored it in My photos but I can't open it.  What am I doing wrong?

Is the image in the Organizer?
If not open the Organizer and click File >>Get Photos >>From Files & Folders
Then navigate to your folder, select the image and hit get media.

Similar Messages

  • How to convert a jpeg file into a 1-bit bmp file (2 colors image)

    Hi. I�m having serious problems to convert a jpeg file into a 1-bit bmp file (2 colors image).
    I�m using FileSaver.saveAsBmp(String t) but what i get is a bmp image, but with 16M colors, but what i want is a 2 colors bmp file. A black and white image.
    Does anybody know how to do this? I�m really getting crazy with ths problem.
    Thanks in advance

    Hi opalo,
    this code may help you...
    import java.awt.*;
    import java.io.*;
    import java.awt.image.*;
    import javax.imageio.ImageIO;
    class Write1 extends Component {
    //--- Private constants
    private final static int BITMAPFILEHEADER_SIZE = 14;
    private final static int BITMAPINFOHEADER_SIZE = 40;
    //--- Private variable declaration
    //--- Bitmap file header
    private byte bitmapFileHeader [] = new byte [14];
    private byte bfType [] = {'B', 'M'};
    private int bfSize = 0;
    private int bfReserved1 = 0;
    private int bfReserved2 = 0;
    private int bfOffBits = BITMAPFILEHEADER_SIZE + BITMAPINFOHEADER_SIZE;
    //--- Bitmap info header
    private byte bitmapInfoHeader [] = new byte [40];
    private int biSize = BITMAPINFOHEADER_SIZE;
    private int biWidth = 50;
    private int biHeight = 70;
    private int biPlanes = 1;
    //private int biBitCount = 24;
    private int biBitCount = 1;
    private int biCompression = 0;
    private int biSizeImage = 0x030000;
    private int biXPelsPerMeter = 0x0;
    private int biYPelsPerMeter = 0x0;
    private int biClrUsed = 0;
    private int biClrImportant = 0;
    //--- Bitmap raw data
    private int bitmap [];
    //--- File section
    private FileOutputStream fo;
    //--- Default constructor
    public Write1() {
    public void saveBitmap (String parFilename, Image parImage, int
    parWidth, int parHeight) {
    try {
    fo = new FileOutputStream (parFilename);
    save (parImage, parWidth, parHeight);
    fo.close ();
    catch (Exception saveEx) {
    saveEx.printStackTrace ();
    * The saveMethod is the main method of the process. This method
    * will call the convertImage method to convert the memory image to
    * a byte array; method writeBitmapFileHeader creates and writes
    * the bitmap file header; writeBitmapInfoHeader creates the
    * information header; and writeBitmap writes the image.
    private void save (Image parImage, int parWidth, int parHeight) {
    try {
    convertImage (parImage, parWidth, parHeight);
    writeBitmapFileHeader ();
    writeBitmapInfoHeader ();
    writeBitmap ();
    catch (Exception saveEx) {
    saveEx.printStackTrace ();
    * convertImage converts the memory image to the bitmap format (BRG).
    * It also computes some information for the bitmap info header.
    private boolean convertImage (Image parImage, int parWidth, int parHeight) {
    int pad;
    bitmap = new int [parWidth * parHeight];
    PixelGrabber pg = new PixelGrabber (parImage, 0, 0, parWidth, parHeight,
    bitmap, 0, parWidth);
    try {
    pg.grabPixels ();
    catch (InterruptedException e) {
    e.printStackTrace ();
    return (false);
    pad = (4 - ((parWidth * 3) % 4)) * parHeight;
    biSizeImage = ((parWidth * parHeight) * 3) + pad;
    bfSize = biSizeImage + BITMAPFILEHEADER_SIZE +
    BITMAPINFOHEADER_SIZE;
    biWidth = parWidth;
    biHeight = parHeight;
    return (true);
    * writeBitmap converts the image returned from the pixel grabber to
    * the format required. Remember: scan lines are inverted in
    * a bitmap file!
    * Each scan line must be padded to an even 4-byte boundary.
    private void writeBitmap () {
    int size;
    int value;
    int j;
    int i;
    int rowCount;
    int rowIndex;
    int lastRowIndex;
    int pad;
    int padCount;
    byte rgb [] = new byte [3];
    size = (biWidth * biHeight) - 1;
    pad = 4 - ((biWidth * 3) % 4);
    if (pad == 4) // <==== Bug correction
    pad = 0; // <==== Bug correction
    rowCount = 1;
    padCount = 0;
    rowIndex = size - biWidth;
    lastRowIndex = rowIndex;
    try {
    for (j = 0; j < size; j++) {
    value = bitmap [rowIndex];
    rgb [0] = (byte) (value & 0xFF);
    rgb [1] = (byte) ((value >> 8) & 0xFF);
    rgb [2] = (byte) ((value >> 16) & 0xFF);
    fo.write (rgb);
    if (rowCount == biWidth) {
    padCount += pad;
    for (i = 1; i <= pad; i++) {
    fo.write (0x00);
    int b = 1200;
    fo.write(b);
    rowCount = 1;
    rowIndex = lastRowIndex - biWidth;
    lastRowIndex = rowIndex;
    else
    rowCount++;
    rowIndex++;
    //--- Update the size of the file
    bfSize += padCount - pad;
    biSizeImage += padCount - pad;
    catch (Exception wb) {
    wb.printStackTrace ();
    * writeBitmapFileHeader writes the bitmap file header to the file.
    private void writeBitmapFileHeader () {
    try {
    fo.write (bfType);
    fo.write (intToDWord (bfSize));
    fo.write (intToWord (bfReserved1));
    fo.write (intToWord (bfReserved2));
    fo.write (intToDWord (bfOffBits));
    catch (Exception wbfh) {
    wbfh.printStackTrace ();
    * writeBitmapInfoHeader writes the bitmap information header
    * to the file.
    private void writeBitmapInfoHeader () {
    try {
    fo.write (intToDWord (biSize));
    fo.write (intToDWord (biWidth));
    fo.write (intToDWord (biHeight));
    fo.write (intToWord (biPlanes));
    fo.write (intToWord (biBitCount));
    fo.write (intToDWord (biCompression));
    fo.write (intToDWord (biSizeImage));
    fo.write (intToDWord (biXPelsPerMeter));
    fo.write (intToDWord (biYPelsPerMeter));
    fo.write (intToDWord (biClrUsed));
    fo.write (intToDWord (biClrImportant));
    // DataOutputStream temp = new DataOutputStream(fo);
    // int m = 32;
    // temp.writeInt(m);
    catch (Exception wbih) {
    wbih.printStackTrace ();
    * intToWord converts an int to a word, where the return
    * value is stored in a 2-byte array.
    private byte [] intToWord (int parValue) {
    byte retValue [] = new byte [2];
    retValue [0] = (byte) (parValue & 0x00FF);
    retValue [1] = (byte) ((parValue >> 8) & 0x00FF);
    return (retValue);
    * intToDWord converts an int to a double word, where the return
    * value is stored in a 4-byte array.
    private byte [] intToDWord (int parValue) {
    byte retValue [] = new byte [4];
    retValue [0] = (byte) (parValue & 0x00FF);
    retValue [1] = (byte) ((parValue >> 8) & 0x000000FF);
    retValue [2] = (byte) ((parValue >> 16) & 0x000000FF);
    retValue [3] = (byte) ((parValue >> 24) & 0x000000FF);
    return (retValue);
    class Writebmp
         public static void main(String args[])
              //Image img = Toolkit.getDefaultToolkit().getImage("jatin.bmp");
              try
              File filename = new File("jatin_test.bmp");
              BufferedImage image = ImageIO.read(filename);
              Graphics graphics = image.getGraphics();
              graphics.drawString("&#2313;&#2332;&#2327;&#2352;",10,30);
              Write1 w = new Write1();
              Image img = Toolkit.getDefaultToolkit().getImage("jatin_test.bmp");
              w.saveBitmap("jatin_test.bmp",img,200,200);
              catch (IOException e)
    System.err.println ("Unable to write to file");
    System.exit(-1);
    }

  • How to convert a jpeg to a PDF

    Converting a jpeg to a PDF

    Hi Sean,
    Welcome!
    Try this 'getting started' guide and let us know how things go!
    Kind regards, Stacy

  • How to convert a jpeg to pdf?

    I saved images in imovie, dragged them to iphoto. Now how do I convert the iphoto jpegs to pdfs so that I can submit them to a journal?

    Open the jpeg with Preview and from File select Save As.  Then from the Format drop down menu select PDF.

  • Convert BMP, JPEG, GIF to WBMP

    I've searched the forum abt this topic but i could not find concrete answers. Pls do tell me how to convert bmp, jpeg and gif to wbmp format. Sample codes would be very helpful. Thanks a lot!!

    what the hell is WBMP....i have actually converted a Image File into a Base64 format but never hears of WBMP format
    Cheers,
    Manja

  • How can I keep my RAW photo files from converting to JPEG???

    How can I keep my RAW photo files from converting to JPEG???

    Hello briggiebunny
    If iTunes can read the movie files, then you will need to create an iPad version by going to the drop down menu File > Create New Version > Create iPad or Apple TV Version and then syncing that newly created file.
    iTunes: Videos may be unable to sync to iPhone, iPad, or iPod
    http://support.apple.com/kb/ts1497
    Regards,
    -Norm G.

  • How to convert jpeg files into word

    How to convert jpeg files into Word

    Hi Eugene,
    I don't think you can convert an image to a Word document, but you could place the JPEG into a Word document using the Insert > Object command in Word.
    For other questions relating to Word, you will probably have more luck getting an answer if you post on the Microsoft forums (we can help if you're using Acrobat, or another Adobe product, but you'll find the Word experts on the Microsoft forums.)
    Best,
    Sara

  • How do I convert a jpeg file into a pdf file?

    I would like to be able to convert a jpeg file, both in Photoshop and outside of Photoshop, into a pdf file.  How do I go about doing that?

    If you don't have Acrobat, you'll need to do it in Photoshop. File>Save as>Photoshop PDF. If it is a cmyk file, you'll need to convert it to rgb first.

  • How do you convert a jpeg file into word document so i can edit it?

    How do you convert a jpeg file into word document so i can edit it?

    http://office.microsoft.com/en-us/mac-word-help/training-edit-pictures-in-office -for-mac-2011-RZ103709558.aspx

  • How do I convert a Jpeg file to a PDF file

    How do I convert a jpeg file to a pdf file?

    Hi Rick
    With a paid subscription to Adobe CreatePDF you can covert a jpeg to PDF
    See https://www.acrobat.com/createpdf/en/home.html for further information and pricing plans

  • How do i create a PDF, or convert a jpeg to PDF for export?

    How do i create a PDF, or convert a jpeg to PDF for export?

    Oped the .jpg image in Preview    HD > Applications > Preview
    Then from the Preview menu bar click > File > Export
    Select PDF from the Format pop up menu then click Save.

  • How can i convert a jpeg doc to pdf on macbook

    how can i convert a jpeg doc into a pdf doc?

    Open it in Preview and choose Export from the File menu.
    (112944)

  • How to convert a Powerpoint slide in jpeg!

    I can't imagine Java has been passed by ColdFusion! We can do this in ColdFusion but I would like to do it in using Java only. Here is what I want to do.
    I want to read a Powerpoint document (.ppt), select a slide, convert in .jpeg files and display this image in a web page. Each slide of the Powerpoint document will be converted like mentionned before and will be add table.
    Any help? Is it possible to do that? It can be a nice feature if this does not exist....
    Thanx anyone for the help... Yannick.

    It shouldn't be that hard,
    1. Get documentation on the .ppt format.
    2. Check how images are stored, and in which format.
    3. Find out if this format can be transfered to .jpeg easily using Java image functions.
    4. If not find third-party software that does.
    5. Find out how to display a .jpeg image in Java using built-in image functions.
    6. Write the display application.

  • How to convert JPEG/RTP Buffer to non-RTP (RAW) format ?

    Hi everybody !
    Could somebody tell me how to convert JPEG/RTP Buffer to non-RTP (RAW) format ? Thanks !

    Hi
       The way is you have to split the data several and concatenate after that.
    Regards,
    kumar

  • How to convert jpeg images into video file of any ext using JMF

    I want to convert the Jpeg files into video clip with the help of JMF
    any one can help me?
    Plz reply me at [email protected]
    or [email protected]

    I'm not sure of his/her reasoning behind this, but I have yet to find a way to record video with mmapi on j2me. So with that restriction, I can see how one could make it so that it just records a lot of jpegs, and then makes it a movie.
    I would be interested finding a workaround for this too. Either if someone would explain how to record video with mmapi or how to make recorded images into a video. Thanks!

Maybe you are looking for

  • Difference between general DB and Data Warehouse DB

    Hi, We have a server on which Oracle Database was already installed. We want to use it as a data wareshouse. I had a question that if this database would be sufficient for a data warehouse or i would have to create a new database for data warehouse.

  • How do I get an Authorization Code for CS2?

    I just did a clean install of Windows 7 Professional from XP. Went to install Creative Suite 2 Premium, all 4 disks install fine, but no way to register it... and it will run for 30 days without and Authorization Code. I chated with Adobe and they se

  • Video conference with Messages and FaceTime

    I would like to show two other people a Keynote. - I know it´s really simple with iChat and I think it hasn´t changed with Messages. But one of the two other people has only an iPad (2). So, is a combination with Facetime and iChat/Messages possible?

  • Transferring pics from Macbook to desktop wirelessly

    Is there an app or a way to do this that I can't seem to find ? I use my Macbook Pro for editing and my older desktop to store and interface with my Apple TV.

  • How can we share session information between browser and WebView

    Hi I have a web application which launches a instance of JavaFX web view on a click of a button. My issue is that when i launch this web view it creates a  new session of its own ,how can you transfer the session information of the parent (browser) t