Saving image files - TIFF file extension wasn't acceptable

Hello! 
When I save an image on my iMac the default situation appears to be that the file has a TIFF file extension.
Please review the post I recently made here:     http://www.wilderssecurity.com/threads/why-are-tagged-image-file-format-tiff-fil es-unacceptable-here.370185/#post-2426799
I should be grateful if someone can shed some light on my conundrum/confusion.  It should be self-explanatory!
Any help will be gratefully received!
David B.

Hello again   So sorry for the delay in replying to folk for the helpful responses.
If one re-visits my original link one can view a response - in essence, look here:-   https://answers.yahoo.com/question/index?qid=20090125135844AAwqjkB
After some reflection, I decided to do nothing at all!  However, today I looked under 'Grab' preferences and found that there is no way to change the image format of a screen capture. BUT ..... I then looked under 'Grab Help' and found this ....
Save screenshots:  After taking a screenshot, choose File > Save, enter a name, add a tag (optional), then choose a folder. Screenshots are saved as TIFF files.
Convert a screenshot to another format:  Open your screenshot in the Preview app. Choose File > Export, click the Format pop-up menu and choose a format, then click Save. For more information, see Convert graphics file types.
So I now know what to do if/when I need to switch to another format! 
Many thanks to rkaufmann87  and Frank Miller2 - your guidance is much appreciated,
David B.

Similar Messages

  • Question: Saving Image Files In The Repository

    Good Morning all,
    (Running CR2008)
    I have a few image files that I have saved in the Crystal Repository. It works nicely and I've tested it pretty thoroughly to make sure that connected images update across the board. It's a convenient little feature.
    Here's my question ... when you save an image file to the repository, it automatically converts the image file to a Bitmap file type. Bitmaps greatly increase the size of whatever .rpt file uses the iimage. My standard .rpt files go from about 240K to 3.4 megs. This isn't really the biggest deal in the world, but I was wondering if there is a setting that I can check that will have the repository files automatically save in JPEG format, or just keep thier original format (JPEG in this case).
    Any thoughts? Or are we stuck with the Bitmap format? If so, this might be a good subject for a 'feature request' post.
    Thanx in advance for any help.
    -TS
    Edited to add: Sorry about the double-post. I have no idea why that keeps happening. -TS
    Edited by: Tom Salvato on Jan 19, 2010 2:45 PM

    Stuck with BMP

  • Black background of saved image file.

    Hello All,
    My code is set up to create an image then save the image into a file in JPEG format. Everything works well except the background of the saved image is balck. How can I get a white background on the saved file?
    I have posted my code below. I have allocated 10 duke dollars for the person solves who this? Thank You!!!!
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import com.sun.image.codec.jpeg.*;
    import java.io.*;
    import java.awt.image.BufferedImage;
    public class Test2 extends JApplet {
    public void init() {
    //Initialize drawing colors
    setBackground(Color.white);
    setForeground(Color.black);
    public void paint(Graphics g) {
    Graphics2D g2 = (Graphics2D) g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    Dimension d = getSize();
    int gridWidth = d.width / 6;
    int gridHeight = d.height / 2;
    // fill Rectangle2D.Double (red)
    g2.setPaint(Color.red);
    g2.fill(new Rectangle2D.Double(100, 100, 100, 100));
    g2.setPaint(Color.black);
    g2.drawString("My Rectangle", 125, 85);
    public static void main(String s[]) {
    JFrame f = new JFrame("Test2");
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}
    JApplet applet = new Test2();
    f.getContentPane().add("Center", applet);
    applet.init();
    f.pack();
    f.setSize(new Dimension(400,300));
    f.show();
    saveAsJPEG(applet, 1.0F, "myJPEG.jpg");
         public static void saveAsJPEG(Component component, float quality, String filename)     {
              try          {
                   Dimension d = component.getSize();
                   BufferedImage bimage = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_RGB);
                   component.paint(bimage.createGraphics());
                   Graphics2D g = (Graphics2D)bimage.getGraphics();
                   g.setPaint(Color.white);
                   if(!filename.endsWith(".jpg"))
                        filename += ".jpg";
                   OutputStream out = new FileOutputStream(filename);
                   JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
                   // Create JPEG encoder
                   JPEGEncodeParam jpegParams = encoder.getDefaultJPEGEncodeParam(bimage);
                   jpegParams.setQuality(quality, false);
                   // Set quality to (quality*100)% for JPEG
                   encoder.setJPEGEncodeParam(jpegParams);
                   encoder.encode(bimage);
                   // Encode image to JPEG and send to browser
                   out.close();
              catch (Exception e)          {
                   System.out.println(e);
    }

    I've added 2 lines to your paint, it works now.
    public void paint(Graphics g) {
    Graphics2D g2 = (Graphics2D) g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    Dimension d = getSize();
    int gridWidth = d.width / 6;
    int gridHeight = d.height / 2;
    // make a white background
    g2.setPaint(Color.white);
    g2.fill(new Rectangle2D.Double(0, 0, d.width, d.height));
    // fill Rectangle2D.Double (red)
    g2.setPaint(Color.red);
    g2.fill(new Rectangle2D.Double(100, 100, 100, 100));
    g2.setPaint(Color.black);
    g2.drawString("My Rectangle", 125, 85);
    }

  • Saving Image Files on Disk after drawing lines on the Image

    Hi guys,
    I am presently working on a swing project in which I need to draw lines on a image and then store the modified image in .gif, .jpg or .bmp file format.
    I can't seem to find an documentation dealing with this situation.
    Any help will be highly appreciated
    Abhi

    Ive just been looking for the same. Theres an article (and a class) on javaworld on subject of saving bitmap-files, and in another thread in this forum, a guy described how to make jpg. with the jdk1.4 .... Like this:
    int w = comp.getWidth();
    int h = comp.getHeight();
    BufferedImage im = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = im.createGraphics();
    comp.paint(g2);
    g2.dispose();
    ImageIO.write(im, "jpeg", new File("foo.jpeg"));
    im.flush();
    Im just referring, havent tried it yet. Good luck.
    Stig.

  • Saving/publishing site fails - Error in saving image files

    A friend has created a simple portfolio site for his artwork (about 80 jpegs) but when he goes to save (or publish) iWeb says it can't save some of the images and shows a list of the ones it can't save and stops. I believe that the problem is related to image file name length. Is there a restriction on file length? If not has anyone seen error this before?
    If it is file length the he will have to rename the files he moved in iWeb from iPhoto. I understand that it's impossible to change file names in iPhoto. Is this true?
    Thanks
    He is running iPhoto 6 on an iMac PPC 20" 10.5.4

    Hi Rob,
    Coming to your error, it’s really strange. You can able to access/use your WCF service for a while and after sometime you get error. Few things which I would recheck are as follows:
    Make sure it’s not due to your active directory. I would check if there are any issue with AD after an elapsed period of time to valid my app pool credentials.
    In your Application-pool, under process model, try by increasing the “Idle Time-out (minutes)”. This time decides the amount of time worker process will remain idle before its shutdown.
    I personally never required to change it from default value-20 mins, but looking at your issue, it’s worth trying this.
    In your Application-pool, under CPU, Check the setting “Limit Action” to “KillW3WP”. Default is “NoAction”. “KillW3WP” setting potential could have impact like yours. If so change it to
    “NoAction”.
     When you create a WCF service using wizard, I expect to have default values; check any setting at IIS level is having an impact.
    Few things I would try:
    Create a separate App pool for this WCF service and check the impact
    Reapply the credentials of you app pool. Just simply go to the “Identity” section and reapply the same valid credentials. This could clear any cache related things to do
    with the credentials/AD validation.
    I understand you’re overwriting the service/virtual directory while creating the SCF service in Wizard. Try manually deleting the virtual directory folder and create the
    WCF server as fresh using Wizard, without using the overwrite checkbox.
    Hope the above suggest helps.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Why upper or lower case choices for image file extensions?

    Thanks ahead of time for any help.
    I'm wondering why you would want the file extension in lower or upper case.   Is there a reason to choose one or the other in various situations?  This choice is an option in the import dialog window box under File Renaming> Extensions with choices of Leave as-is, Lowercase & Uppercase.

    JG_Coleman wrote:
    clvrmnky wrote:
    Modern Macs are case-preserving and case-aware but not case-sensitive.
    The option is just to provide more control for specific workflows.
    Really..."to provide more control for specific workflows"???  I've gotta say... if I'm wrong about UNIX systems and case-sensitive file extensions... it truly would seem senseless that there would be a setting for controlling the case of file extensions.  So far as I know, almost every major application omits such a feature.  For what type of workflow would you ever need to specify the file extension case, if not for a file system that uses case-sensitive file extensions?  I'm just curious, myself, actually...  Is there something I'm missing?
    What about writing to legacy network storage where extensions are not accepted unless in a specific case.  I believe Netware used to enforce upper-case extensions at some point.  If you had a collection of legacy data or datastore and had some service or scripts that operating on them, and could not be easily changed, you might really want to control exactly how those filenames are created.
    There are any number of paths one can go down where you can end up cursing an application because it cannot do a simple action, like write out a filename in the right case. Think of all the complaints found in these forums where someone has cited some odd use-case no one else could ever have imagined and then stated that it is obvious that Lr should accommodate this because it is so simple to fix (e.g., to do something like provide an option whereby extensions are made all upper- or lower-case.)
    You do know that even Windows and OS X are case-preserving, right?  So, the actual case used to create the file is in the file metadata, regardless of what the Finder or Explorer or shell may decide to show you. How this metadata is used by various APIs is open-ended.

  • Problem Saving Image to TIFF

    I'm trying to convert a scanned image to TIFF format. When I try to encode the image to TIFF I get the following errors:
    ava.lang.Error: Int or float buffers require 32-bit data.
         at com.sun.media.jai.codecimpl.TIFFImageEncoder.encode(TIFFImageEncoder.java:206)
         at com.sun.media.jai.codecimpl.TIFFImageEncoder.encode(TIFFImageEncoder.java:153)
         at DocScan.save(DocScan.java:171)
         at DocScan$TwainSaveRunnable.run(DocScan.java:100)
         at java.lang.Thread.run(Thread.java:484)
    Some of the code I am using is as follows:
    public void scan()
    Twain twain=new Twain();
    twain.setVisible(false);
    twain.setPixelType(Twain.BW);
    twain.setCurrentUnits(Twain.INCHES);
    twain.setXResolution(100);
    twain.setYResolution(100);
    twain.setFrame(0,0,8.5,11);
    twain.setBrightness(900);
    twain.setXScaling(.5);
    twain.setYScaling(.5);
    image = Toolkit.getDefaultToolkit().createImage(new TwainImage(twain));
    setSize(width=image.getWidth(DocScan.this),image.getHeight(DocScan.this));
    repaint();
    public void save()
    { fd = new FileDialog(this, "Save a file", FileDialog.SAVE);
              fd.setVisible(true);
              fileName = fd.getFile();
    File f=new File(fileName);
    try
    PlanarImage PImage = JAI.create("awtImage",image);
    FileOutputStream out = new FileOutputStream(f);
    TIFFEncodeParam param = new TIFFEncodeParam();
    ImageEncoder encoder = ImageCodec.createImageEncoder("TIFF", out, param);
    encoder.encode(PImage);
    out.close();
    catch (Exception ex)
    { ex.printStackTrace();
    I would greatly appreciate any help.
    Thanks

    Hello All,
    The below code allows you to read TIFF images. You must have Java Advanced Imaging installed on your system for this to work
        RenderedImage ri = JAI.create("fileload", filename);However the problem I am facing is that, when I save the image back to another TIFF file, the image is getting saved in negative colours, i.e, black in the final image, where originally white is there.
    I hope I am clear about the problem and also hope that the code works for you.
    best wishes
    Issac

  • Files with raster image file extension ".THM": is it needed on Macs?

    I've offloaded AVI videos files from a Canon digital camera. With each AVI file is a THM file. Does it serve any purpose when playing the AVI file in Quicktime on Macs or PCs?

    Not really.
    The .THM file is a thumbnail image. It acts like an icon preview of the .avi.

  • Saving image file as binary into database + pulling it out + displaying

    Hi guys, this is exactly I have to do, and have no ideal how to do.
    It will be greatly appreciated if you can offer help on this.
    I don't have a problem putting it into and pulling it out fo the database, it is really the jpg-> binary, and binary->display part that I need help on.
    Btw, I am currently using "draw Flatten PixMap.VI" to display a picture in labview, from a jpg file. Can I still use this VI to achieve what I intend to do?

    Have you tried this:
    Saving a binary file to a database with the Database Connectivity Toolset
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Renaming image files - LR doesn't accept preceding zeros

    I have finished editing in the develop modules & deleted some additional photos in the shoot during the editing process. I do review & delete most of my unwanted images in advance, so please don't lecture me on this!
    Anyway, I went to the library module, selected all, & hit F2 to batch rename all selected images (DNG) in sequence. My problem is this - LR won't accept preceding zeros in the Start Number box. I would like for the first image to have 3 digits - that is: 001. LR eliminates the zeros, resulting in a single digit "1" instead.
    Is there a workaround for this?
    I can rename the images using another program I have, but I'm afraid that the editing adjustments performed in LR may get jumbled.

    Thanks, Dharma Sam!
    I never bothered to go into the edit > custom settings!    DUH!
    That enabled me to get the results I wanted.

  • When I try to open a saved image with the "htm" file extension all I get is a page of gibberish text.

    I have the new Snow Leopard system on my iMac. I saved several images from an art site. The file extension on each image is "htm". when I try to open each image all I get is gibberish tpye text.
    Can convert these "images" to jpeg files so I can view and edit them?
    thanks

    If the images have a .htm(l) file extension then you need to rename the files and give them an image file extension like .jpg<br />
    That should be sufficient to make programs recognize them as images.

  • Browse image files only - OS X problem

    Hello,
    Adobe documentation says this should work:
    var fileRef = new FileReference();
    fileRef.browse([{description: "Image files", extension: "*.jpg;*.gif;*.png", macType: "JPEG;jp2_;GIFF"}])
    It does work under Windows, I see only the image files. But it doesn't work under Mac OS X 10.6 (Snow Leopard). Tested on two Mac's, Firefox and Safari but I do not see any files at all, neither image files. Flash is created in CS3, AS2, exported for FP9. Does anybody know how to fix this? It is driving me crazy. :-/
    Thanks!

    Hey uziel200,
    I apologize, I'm a bit unclear exactly what you are seeing, and in what circumstances. If you are talking about what is also referred to as image persistent or ghosting, you may find the information and steps outlined in the following article helpful:
    Avoiding image persistence on Apple displays - Apple Support
    Cheers,
    - Brenden

  • How to convert a Image to an image file...

    Hi,
    I load an image file in my application and I am trying to run it through a filter and save it without modification.
    So this leaves me with an Image object, which I would generally assume is easy to convert to a saved image file... But its not. It seems I need a RenderedImage to do this so I created this function
    public static RenderedImage convertToRenderedImage(Image img,
                  int wid, int ht, int type){
    BufferedImage bi = new BufferedImage(wid, ht, type);
    Graphics2D g2d = bi.createGraphics();
    g2d.drawImage(img, 0,0,wid, ht, null);
    return bi;
    }which actually leaves me with an image without content... it appears to be all background color, and no foreground text.
    any ideas on how to make an Image into a saved Image file?

    ImageIO.write?

  • Saving image to a folder not working on azure

    I am saving image
    files to a folder in my application and saving its path in database . Image uploads working fine when I am running locally
    and its path is also storing.When I deployed it on azure it
    gives an error that " An error occurred while processing your request ". I have two tables in my database . First one where text is saved is working fine on azure but image upload thrown this error.
    I am using this code
    to upload
    image and its works fine when I am running locally. Need help ?

    Hi,
    Have you made any progress ?
    May I ask what application is it that you are running ? You mentioned that it works locally but not when deploying to Azure. Have you checked the connections strings?
    If you are still having any difficulty in understanding the code, perhaps you could post it on the below blog.
    http://blogs.msdn.com/b/onecode/archive/2014/08/28/sample-of-aug-28-how-to-store-the-images-in-sql-azure.aspx
    Regards,
    Mekh.

  • Saving images from Muse gallery.

    Hi,
    My client has recently addressed an inquiry to me. He was trying to download images from any gallery-page on the website that i designed from him: http://www.andreyisakov.com
    It is a simple gallery created with a lightbox slideshow widget.
    However, it is only possible to save the entire webpage, i.e. the gallery as a whole. There seems to be no way to save a single image (tried in Safari and Chrome both on Win and Mac).
    Does anybody know the solution to the problem or a workaround making it possible to save images from Muse gallery?
    Many thanks in advance!

    Hi
    Users can save the image displayed on page with a right click action > save image.
    Are you looking for some specific function for saving image files on page ?
    Thanks,
    Sanjit

Maybe you are looking for