Saving an image as a Jpeg

Hi,
I am trying to save a photo from a stock photo website, but when i try to save it: File>Save As, the only option I get is to save it as a webarchive page. Can anybody tell me how to save it as a Jpeg or how I can convert it to a Jpeg??
Cheers
Chris

You're welcome. Glad I could help.
. Please consider marking this post "solved" to the far right of my name, next to the post "solving" your question.
Helpful for others looking for a solved solution to a similar question, also helpful for me.
Aloha from Big Island.

Similar Messages

  • In an AppleScript, can compression level high be used when saving an image as a JPEG?

    When using AppleScript to save a copy of an image file as a JPEG on OS X 10.6 Snow Leopard, can "compression level high" be used in the code, or can only "compression" be used?
    The part of the AppleScript dictionary for Image Events indicates that "compression level high", "compression level low", and "compression level medium" can be used, but when I type any of those three in the code and try to save the AppleScript file, the below error is displayed, and the word "level" is highlighted in the AppleScript Editor:
    Syntax Error
    Expected end of line, etc. but found identifier.
    -John

    you need to open the image in image events before you can save it as a different format.  you have to make a distinction between the image file (a file system object) and the image itself (the data that is the digital representation of the visual image).  what you want to do is open the image file in image events to extract the image data, then resave the image data in the new format.  looks something like this (changing just the last bit of your script):
    set theImage to choose file with prompt "Please select an image file:" of type "public.image"
    -- other stuff...
    tell application "Image Events"
              set theImageData to open theImage
      save theImageData in newPathToSave as JPEG with compression level high with icon
    end tell

  • Saving an Image

    Hi i have got a problem i'm writting a program that reads in a image, get the image pixels, alter the pixels and then write the image back out again. the problem is that when i write it back out the image goes from colour to gray scale and also when i save the image out without alter the image the image still changes slightly.
    to be more precise i save the image as a buffered image, get the pixels , edit the pixels and then save it back. i know that the editing of the pixels is not the problem becasue, when i run the code without editing the pixels and just save the image as a new image. it is still changed.
    try {
    fos = new FileOutputStream(newFilename+".JPG");
    } catch (FileNotFoundException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    try {
    ImageIO.write(newImage,"JPG",fos);
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }above is the code that i use to save an image.
    so if anybody can help me and point me in the right direction that would be great.

    well i found out that i was altering the pixels somewhere else which is why i had the problem.
    but now that i have fixed that and i want to alter only one pixel then all the pixels arround the one i want to alter will chage to a different colour.
    i know this becasue i have created a 5*5 image with all pixels being red then i try to alter the 5th across and 4th down. but the result is that from that point the pixels will also change.
    i have tried this saving the image as a JPEG, GIF and as PNG and i get the same result

  • Help! Saving an image to stream and recreating it on client over network

    Hi,
    I have an application that uses JDK 1.1.8. I am trying to capture the UI screens of this application over network to a client (another Java app running on a PC). The client uses JDK 1.3.0. As AWT image is not serializable, I got code that converts UI screens to int[] and persist to client socket as objectoutputstream.writeObject and read the data on client side using ObjectInputStream.readObject() api. Then I am converting the int[] to an Image. Then saving the image as JPEG file using JPEG encoder codec of JDK 1.3.0.
    I found the image in black and white even though the UI screens are in color. I have the code below. I am sure JPEG encoder part is not doing that. I am missing something when recreating an image. Could be colormodel or the way I create an image on the client side. I am testing this code on a Win XP box with both server and client running on the same machine. In real scenario, the UI runs on an embedded system with pSOS with pretty limited flash space. I am giving below my code.
    I appreciate any help or pointers.
    Thanks
    Puri
         public static String getImageDataHeader(Image img, String sImageName)
             final String HEADER = "{0} {1}x{2} {3}";
             String params[] = {sImageName,
                                String.valueOf(img.getWidth(null)),
                                String.valueOf(img.getHeight(null)),
                                System.getProperty("os.name")
             return MessageFormat.format(HEADER, params);
         public static int[] convertImageToIntArray(Image img)
             if (img == null)
                 return null;
            int imgResult[] = null;
            try
                int nImgWidth = img.getWidth(null);
                int nImgHeight = img.getHeight(null);
                if (nImgWidth < 0 || nImgHeight < 0)
                    Trace.traceError("Image is not ready");
                    return null;
                Trace.traceInfo("Image size: " + nImgWidth + "x" + nImgHeight);
                imgResult = new int[nImgWidth*nImgHeight];
                PixelGrabber grabber = new PixelGrabber(img, 0, 0, nImgWidth, nImgHeight, imgResult, 0, nImgWidth);
                grabber.grabPixels();
                ColorModel model = grabber.getColorModel();
                if (null != model)
                    Trace.traceInfo("Color model is " + model);
                    int nRMask, nGMask, nBMask, nAMask;
                    nRMask = model.getRed(0xFFFFFFFF);
                    nGMask = model.getRed(0xFFFFFFFF);
                    nBMask = model.getRed(0xFFFFFFFF);
                    nAMask = model.getRed(0xFFFFFFFF);
                    Trace.traceInfo("The Red mask: " + Integer.toHexString(nRMask) + ", Green mask: " +
                                    Integer.toHexString(nGMask) + ", Blue mask: " +
                                    Integer.toHexString(nBMask) + ", Alpha mask: " +
                                    Integer.toHexString(nAMask));
                if ((grabber.getStatus() & ImageObserver.ABORT) != 0)
                    Trace.traceError("Unable to grab pixels from the image");
                    imgResult = null;
            catch(Throwable error)
                error.printStackTrace();
            return imgResult;
         public static Image convertIntArrayToImage(Component comp, int imgData[], int nWidth, int nHeight)
             if (imgData == null || imgData.length <= 0 || nWidth <= 0 || nHeight <= 0)
                 return null;
            //ColorModel cm = new DirectColorModel(32, 0xFF0000, 0xFF00, 0xFF, 0xFF000000);
            ColorModel cm = ColorModel.getRGBdefault();
            MemoryImageSource imgSource = new MemoryImageSource(nWidth, nHeight, cm, imgData, 0, nWidth);
            //MemoryImageSource imgSource = new MemoryImageSource(nWidth, nHeight, imgData, 0, nWidth);
            Image imgDummy = Toolkit.getDefaultToolkit().createImage(imgSource);
            Image imgResult = comp.createImage(nWidth, nHeight);
            Graphics gc = imgResult.getGraphics();
            if (null != gc)
                gc.drawImage(imgDummy, 0, 0, nWidth, nHeight, null);       
                gc.dispose();
                gc = null;       
             return imgResult;
         public static boolean saveImageToStream(OutputStream out, Image img, String sImageName)
             boolean bResult = true;
             try
                 ObjectOutputStream objOut = new ObjectOutputStream(out);
                int imageData[] = convertImageToIntArray(img);
                if (null != imageData)
                    // Now that our image is ready, write it to server
                    String sHeader = getImageDataHeader(img, sImageName);
                    objOut.writeObject(sHeader);
                    objOut.writeObject(imageData);
                    imageData = null;
                 else
                     bResult = false;
                objOut.flush();                
             catch(IOException error)
                 error.printStackTrace();
                 bResult = false;
             return bResult;
         public static Image readImageFromStream(InputStream in, Component comp, StringBuffer sbImageName)
             Image imgResult = null;
             try
                 ObjectInputStream objIn = new ObjectInputStream(in);
                 Object objData;
                 objData = objIn.readObject();
                 String sImageName, sSource;
                 int nWidth, nHeight;
                 if (objData instanceof String)
                     String sData = (String) objData;
                     int nIndex = sData.indexOf(' ');
                     sImageName = sData.substring(0, nIndex);
                     sData = sData.substring(nIndex+1);
                     nIndex = sData.indexOf('x');
                     nWidth = Math.atoi(sData.substring(0, nIndex));
                     sData = sData.substring(nIndex+1);
                     nIndex = sData.indexOf(' ');
                     nHeight = Math.atoi(sData.substring(0, nIndex));
                     sSource = sData.substring(nIndex+1);
                     Trace.traceInfo("Name: " + sImageName + ", Width: " + nWidth + ", Height: " + nHeight + ", Source: " + sSource);
                     objData = objIn.readObject();
                     if (objData instanceof int[])
                         int imgData[] = (int[]) objData;
                         imgResult = convertIntArrayToImage(comp, imgData, nWidth, nHeight);
                         sbImageName.setLength(0);
                         sbImageName.append(sImageName);
            catch(Exception error)
                error.printStackTrace();
             return imgResult;
         }   

    While testing more, I found that the client side is generating color UI screens if I use JDK 1.3 JVM for running the server (i.e the side that generates the img) without changing single line of code. But if I use JDK 1.1.8 JVM for the server, the client side is generating black and white versions (aka gray toned) of UI screens. So I added code to save int array that I got from PixelGrabber to a text file with 8 ints for each line in hex format. Generated these files on server side with JVM 1.1.8 and JVM 1.3. What I found is that the 1.1.8 pixel grabber is setting R,G,B components to same value where as 1.3 version is setting them to different values thus resulting in colored UI screens. I don't know why.

  • How to see all image types when saving an image without selecting "all files"every time

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/951766]]</blockquote>
    Hallo, and thank you for reading this.
    I am a person who saves a lot of images online and renames them in different folders in different names like B - 34 or G - 56. I have been working with firefox 10 for quite some time and it had a pretty handy bug (I guess) where I could save an image and firefox would just save the image in it's original type (JPEG,PNG etc) while "save as type" was empty.
    It also always has shown all the image types in the folder where I save the images (except for GIF) and that helpes me quite a lot by saving me the trouble of selecting "all files" every time I save or going to the folder to rename every image.
    Now this seems to be lacking in the newest firefox versions and my question is if I can set firefox to always show me all the image file types when saving an image, instead of only showing JPEG's when I try to save a JPEG.
    Thank you for your time.

    I suspect this is a Windows problem. I am surmising the FilePicker uses the Operating System or Desktop facilities. Does Windows 7 offer any other file categories like ''images'' ?
    I do not normally use Windows 7, but may the option depend upon the directory being an indexed one, I ask after finding this thread ''Bring File types tab back'' [http://www.windows7taskforce.com/view/819]
    This question is a duplicate of [/questions/951764]
    Normally I would lock the duplicate question, but in this instance I will leave it open as it is unanswered and someone may give a better reply.

  • Why is it so difficult to convert a Raw image to a jpeg in Photoshop Elements?!  I have version 12. Once i realised to change the tickbox in Camera Raw to 8 instead of 16 i did. Having spent time working on my Raw images i save them as a jpeg and rename t

    Why is it so difficult to convert a Raw image to a jpeg in Photoshop Elements ?! I have version 12. Once i realized to change the tick box in Camera Raw to 8 bit instead of 16 bit and Flatten image ( sometimes can flatten image if the flatten option isn't greyed out) hey presto i thought i was up and running. However after saving the photograph as a jpeg and renaming it e, after the word edit. I switched off/on my computer only for all the images i had spent time working on to have disappeared. Feeling very upset as there is no Technical Help to telephone at adobe and i don't know what to do.

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Programatically convert Excel workbook sheet to an image (bmp or jpeg)

    My client has a requirement for me to convert an Excel workbook sheet to an image of any kind, bmp, jpeg, ect. This is a batch Java 1.5 application and I have generated a spreadsheet using JExcelApi. Now I need to email the spreadsheet as an inline image ... the client does not want an attachment. I'm using the Spring framework Mail api to actually email it. This api requires inline content be an image. Therefore, I need a way to programatically convert Excel to an image.
    I've done my homework and researched for many hours now, but have not come up with any solutions. I also looked at 3rd party tools googling thru pages and pages of converters, but they all seem to be GUI tools to manually do the conversion. Aspose.cells looked promising but it only supports .Net, for this functionality. Please suggest a 3rd party tool, or provide a code sample of how to do the conversion.
    Thanks!

    hi
    if u are using jdk u may try this for saving an Image img to an OutputStream out in jpg format
    import com.sun.image.codec.jpeg.*;
    JPEGImageEncoder imageEncoder = JPEGCodec.createJPEGEncoder(out);
    JPEGEncodeParam encodeParam = JPEGCodec.getDefaultJPEGEncodeParam(img);
    encodeParam.setQuality(.75f, true);
    imageEncoder.encode(img, encodeParam);
    Hope it helps !
    Gabi

  • Saving continuous images

    Hi all,
    I am using a camera through network devices in MAX (ethernet connection), and I can acquire an image from the camera and save one image. Of course I have looked up all the different examples set to record videos or continuous saving of images through IMAQ... but given my camera is not the right one (USB or NI one...), I haven't found anything that would help me on the discussion forums or else.
    So I have attached the VI I am currently using, and my aim would be to be able to continuously save images from my camera, so for example set a grab and save every other second, and it automatically saves the images one after the other assigning them new names every time under JPEG format. I am using a visa resource to acquire an image from my camera and am using drivers from the company that sold me the camera.
    I guess nobody will be able to see the subVI's such as "initialize" or others in my VI, but everything is working fine, now all I need is to be able to save severall images and into one folder. Maybe eventually ending up being able to save a video rather that just frames.
    I know this isn't much details on the VI, but if anybody has hints r question, they are more than welcome.
    Best regards
    Xavier Baines

    here is the attachment, sorry
    Attachments:
    For you ;).vi ‏38 KB

  • I cannot export my saved book to pdf or jpeg or blurb

    i cannot export my saved book to pdf or jpeg or blurb. Nothing works. If i start a new book , then it works but i would have to redo the entire layout.
    Anyone have the same problem or/and anyone could help?
    Thank you

    Yes i do use LR4.3 .Idid upgrade to L4 from L3 , only because the book feature,to switch from blurb to PDF. I do use mostly my own images or combination of photo montage, but sometimes color backgrounds or lightroom graphics.
    I just reinstalled all my backgrounds and it seems like to work now.No explaination of what went wron (or what is wrong) as i am used to lightroom .May the fact that i am tweeking the layout (using the print layout) or the padding feature quite a bit but that's what the software is supposed to do.

  • When I upload photos from my Canon Rebel 1000D to iphoto the images are labelled JPEG, yet I shoot in RAW.How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg.

    HI,
    When I upload photos from my Canon Rebel 1000D to iphoto the images are labelled JPEG, yet I shoot in RAW.How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg. I seem to have tried and read so much but just can't figure it out.  How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg. Or do a have to use a different system? I have Adobe Bridge. Or can I upload directly into photoshop?
    Also how do you install dmg's properly I am having problems installing them?
    I have a Mac OS X 13 inch Version 10.6.7
    Advice desperately needed
    Thanks
    Nlouis

    Do you have Aperture installed? I found your model on a compatibility list; however, there was a note that it requires Aperture 2 to be installed:
    http://www.apple.com/aperture/specs/raw.html
    According to this excerpt:
    To see a list of digital cameras with RAW-format support that are compatible with iPhoto, visit this Aperture webpage (any camera compatible with Aperture, Apple’s advanced photo editing and management program, is compatible with iPhoto as well)
    which is at the bottom of this page:
    http://docs.info.apple.com/article.html?path=iPhoto/9.0/en/pht41627265.html
    I may be wrong, but I interpret that info to mean you need Aperture 2 before iPhoto will work with RAW?

  • When saving an image in PS CS 6, and going back to Lightroom 5. The original image and the edited image are at the end of the line up.

    I'm using a Mac, Lightroom 5 and Photoshop CS 6. I've started having an issue with the line up in Lightroom 5 after saving an image from PS CS 6. For some reason when I save the edited image form CS 6 it's taking the edited image and the original image and putting it at the end of the line up in Lightroom. If I take the edited image and move it to the right of the original it will put both of them back in the line up where they should be. How do I fix this. I've been looking in the menu for some kind of setting  with no luck.

    Change the sort order. View->Sort

  • Trouble saving the image, save as button not working

    i'm having trouble in saving the image in PNG format, it seems that the "save as" button is not working properly, what should i do?

    Save from what program? On what system? In any case, ask in the product forum of whatever program you are referring to...
    Mylenium

  • File name used by plug-in for saving the image file.

    I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file.  When my users want to save that image the name of the image is a random name.  Is there any way to make the plug-in, Adobe, use the meta tag Title or any other infromation that my program can provide, as image (file)  name to be used for saving the image. (the initial suggested name)?  I really appreciate your help.

    One option is to rename the file after it's been exported using Windows File I/O API.

  • Image sequence of jpegs import into Premiere Pro CC 2014 out of sync!

    Ever since I left CS6 to CC 2014, image sequences as jpeg files do not properly import into Premiere in sync anymore.  I use Blender 3d to export render scenes as jpegs then convert them to h.264 mpeg4 video clips in Premiere.  What happens is that the images upload into Premiere's project tab out of order, even though they are correctly ordered in my hard drive.  Improper naming conventions are probably ruled out since their files extensions are _000 types, and I never had a problem importing sequences in CS6 anyways.  Still image default duration is set to 1 in the general preferences.  Does anyone know what is suggest?  Thanks.

    Good point, I am importing as separate jpegs each set to one frame, so it's not an image sequence as I thought.
    My indeterminate media timebase and sequence are the same (29.97fps), though I have to say that even if they were different I don't see why that would be a problem.
    Here is a screen shot of my images just after uploading them into the project tab, it is seen from first to last that file numbers appear out of order such as 066, 054, 072, 058...ect:
    Is there anything else I could try?

  • Saved an image as library and now all in iphoto images disappeared

    I was saving an image from email to iphoto, and somehow it was saved as my iphoto library. All of my photos are now gone, there were hundreds, and the one image I just saved is just there. Where are my photos??? Don't they get saved somewhere on my hard drive aside from being hosted iphoto. I have a MAC AIr and iPhoto '11.

    Rename it back.
    (110127)

Maybe you are looking for

  • Airport Time Capsule 3TB can't connect to modem via ethernet

    Hi all, Thanks in advance for any assistance on this issue ... I am having extreme difficulty in connecting my Airport TC to my modem via ethernet.  Ideally, I want to use it to extend the range of my wifi, as well as back up my machines. I can't get

  • Supress Column Heading - File Content Conversion in Sender Adapter

    Hi, Let me give a more clear picture about my scenario.  I need to convert CSV File to XML output:- My source file has column heading and values.  The sample data is mentioned hereunder:- PERNR;KID;PNALT;NACHN;NAME2;VORNA ;1200;1200;Angus I have crea

  • Monitor won't display after changing settings

    I changed the settings on my Mac Pro and apparently they are not correct for that monitor. The display is blank and now I can't get anything to display in order to reset display settings. How can I get it to display again?

  • MSS Webdynpro Applications

    Hello, I am on EP7.0 and want to know the technical names of the webdynpro applications for MSS relating to PCR Status Overview,Reporting, Employee General Information and Time Approval... Can any please help me with this.. Any help would be highly a

  • Longrunning query on multiprovider

    Hi All, In our Production system, there is one multiprovider for which the queries are taking too much time to complete and at the end they result result in "TIME_OUT" dumps. This multiprovider contains receipt level data and hence data volume is qui