JPEG to Clipboard

One of my tasks is to handle a "screenshot" like function in our app. We want to be able to copy our image and paste it into another app, like Photoshop, so the clipboard needs to be a system clipboard, and the format needs to be universal. I think we should be going for JPEGs, as they allow lots of colors and the code can be cross platform.
I am using a PixelGrabber to grab the pixels, handing those pixels off to a Toolbox.createImage method (which creates a Java Image), converting the Image to a BufferedImage, then using JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(aFileOutputStream) to encode the bufferedimage as a JPEG.
So far, this works okay. I can write the JPEG to t file and view it with another app. My problem comes with placing the image on the clipboard. I have tried to create a class for this:
class TransferableJPEG extends ByteArrayOutputStream implements Transferable{
     // converts Image into TransferableJPEG
Though I don't get any errors, I don't seem to be getting anything into the clipboard.
TransferableJPEG image = cif.createTransferableJPEG(pixels, width, height);
try {
     clipboard.setContents(image,this);
Anyone tried something like this? Am I wrong about the clipboard's requirement that all data to copy/paste must contained in a object that extends Transferable? If that is the case, how can I paste just the data portion of my JPEG, without any of the Object's wrappings?
ps. I am using a Maintosh for this, if that matters.

See the DragPictureDemo2 example in the section Adding Cut/Copy/Paste Support of the
How to Use Drag and Drop and Data Transfer online tutorial.

Similar Messages

  • Unable to grab jpeg from clipboard

    Hi
    I am trying to display a jpeg image from a clipboard in my application. However It keeps coming up with Data Flavor Unsupported exception. I have tried even creating a separate DataFlavor object of jpeg, but still its not working. Any help is appreciated.
    The code that I am using is :
    Graphics g = mainPanel.getGraphics();
            Image img = null;
            //DataFlavor jpegFlavor = new DataFlavor("image/jpeg","JPEG image");
            if (clipboardContents.isDataFlavorSupported(DataFlavor.imageFlavor))
            // get the system clipboard
            Clipboard systemClipboard =
                    Toolkit.getDefaultToolkit().getSystemClipboard();
            // get the contents on the clipboard in a
            // Transferable object
            Transferable clipboardContents =
                    systemClipboard.getContents(null);
            // check if contents are empty, if so, return null
            if (clipboardContents == null)
                img = null;
            } else
                try
                    // make sure content on clipboard is
                    // falls under a format supported by the
                    // imageFlavor Flavor
                    if (clipboardContents.isDataFlavorSupported(DataFlavor.imageFlavor))
                        // convert the Transferable object
                        // to an Image object
                        Image image =
                                (Image) clipboardContents.getTransferData(DataFlavor.imageFlavor);
                        img = image;
                } catch (UnsupportedFlavorException ufe)
                    ufe.printStackTrace();
                } catch (IOException ioe)
                    ioe.printStackTrace();
            g.drawImage(img, 0, 0, null);Regards.

    If I comment out the IF check, then the following exception is displayed.
    java.awt.datatransfer.UnsupportedFlavorException
    at sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTransferable.java:143)
    at clipboardtesting.ClipboardTestingView.GrabActionPerformed(ClipboardTestingView.java:247)
    at clipboardtesting.ClipboardTestingView.access$800(ClipboardTestingView.java:30)
    at clipboardtesting.ClipboardTestingView$4.actionPerformed(ClipboardTestingView.java:130)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • Since Mavericks Update, changing icons just displays generic thumbnail

    Since I updated to Mavericks, I can't change icons without the icon just changing to a generic PNG or JPEG thumbnail (see attached picture).
    Steps I'm following-
    CMD + I on the icon I want to change.
    Copy picture (PNG or JPEG) to clipboard
    Select icon in upper left-hand corner of info page and choose Paste or hit CMD + V
    Has anyone else experienced this?  Interestingly, any custom icons I created in Mountain Lion continue to work as they did.

    I am also using the latest version of Mavericks and funny thing, I was having this problem today installing a new Time Machine disk and I wanted to change the icon.  No matter what I tried, the icon image would only show (in the get info pane) as a "PNG" or TIFF or what ever format the picture came in.
    I do not know if it was dumb luck but I took the picture (Ironman Teseract) and opened the JPEG in Photoshop CS6.  I then cropped it the way I wanted and saved it to the desktop.  During the save, PS asked me if I wanted to save the embedded color profile or use Photoshops.  I choose Photoshops and saved it. 
    I grabbed the icon picture and dragged it onto the picture of the TM drive in it's "get info" pane.  It worked.

  • Hex String to Float

    I'm reading data from an instrument that
    sends the data in Hex (ASCII String)
    and I need to convert the data to Float.
    All labview Vi:s converts to integers and spoils all my attempts.
    Anyone have an idea?
    Example (Motorola format)
    "3F7851EC" convert to 0.97
    Pelle

    Thanks Mike
    that did the trick
    Pelle
    "Michael Ziegler" wrote:
    >This is a multi-part message in MIME format.>>------=_NextPart_000_000E_01C07A54.17E37CC0>Content-Type:
    multipart/alternative;> boundary="----=_NextPart_001_000F_01C07A54.17E37CC0">>>------=_NextPart_001_000F_01C07A54.17E37CC0>Content-Type:
    text/plain;> charset="iso-8859-1">Content-Transfer-Encoding: quoted-printable>>
    "Keith Fuller" schrieb im =>Newsbeitrag
    news:[email protected]...>> The VI below seems to do the trick
    although I would be the first to =>admit that it's not very elegant>>Ok,
    the Type Cast does it, but so its more elegant>>>Mike>>>------=_NextPart_001_000F_01C07A54.17E37CC0>Content-Type:
    text/html;> charset="iso-8859-1">Content-Transfer-Encoding: quoted-printable>>
    HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">>>content=3D"text/html; =>charset=3Diso-8859-1">>name=3DGENERATOR>>>>>>
    dir=3Dltr=20>style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =>BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">> "Keith
    Fuller" < =>href=3D"mailto:[email protected]">keith@audiotel-internati=>onal.com>=20>
    schrieb im Newsbeitrag =>href=3D"news:[email protected]">news:[email protected]<=>/A>...
    >
    �> size=3D2>The VI below seems to do the trick =>although I=20> would be the
    first to admit that it's not very=20>elegant
    >
    face=3DArial size=3D2>�>Ok,
    the Type Cast does it, but so its =>more=20>elegant:>
    face=3DArial size=3D2>�>
    src=3D"cid:[email protected]"
    =>align=3Dbaseline=20>border=3D0>>
    face=3DArial=20>size=3D2>Mike
    >
    �>>------=_NextPart_001_000F_01C07A54.17E37CC0-->>------=_NextPart_000_000E_01C07A54.17E37CC0>Content-Type:
    image/jpeg;> name="ClipBoard.jpg">Content-Transfer-Encoding: base64>Content-ID:
    <[email protected]>>>/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB>AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB>AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCACAARQDASIA>AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA>AAF9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w9uvjx4o+MHx++Ing/wAQfEHU>L7wB+0X/AMG2P/BUb4w/sGJp3jfTvh5pWl6r4J/Y+vPA+geNtH+MHw6tvhmH+Hfxr+JP7Uvxj8Ve>FU+PP7XPhvSbW0+Hfxk8C+BvgpwHhP4b/Aax+Evhn9nnxn8YP+Cj+rfBaL/gnBo3/BO/4iJ4B/4I>h/8ABST4cfFv4heC7D9ni2/Z7ktL3x7cfsreNPBN18H/AA5cz+Lf2hvg34I+Ifwh+J/x9+CH7Q/x>H+KC+B/2tYv2afit8V/2ZfHf9TtFAH5gf8E0tW8Y+MdU/bz+KXi7QfiBp3/C1f2v/h34j0fxL4//>AGaPjt+yN/wsr/hFf+Ccf7AHwk8b+P8AwV8Cv2kLC1+LXg74f3/xa+GvxF0Lw5Z+ItQ8VfZf+Eev>NMg8a+L/AOzpPEF/+n9FFABRRRQAUUUUAFFFFABRRRQB/9k=>>------=_NextPart_000_000E_01C07A54.17E37CC0-->

  • Need to save the image saved in the System Clipboard in using JDK 1.3.1

    Does anyone know how to use JDK 1.3.1 to take an image saved in the System clipboard and save it to a file using the JPG format?
    I know how it is done in JDK 1.4 using the following code. Unfortunately, the same code does not recognize the image in the clipboard in JDK 1.3.1
    I am using jai-1_1_2_01.
    package clipboard;
    import java.awt.datatransfer.Clipboard;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.image.RenderedImage;
    import java.awt.Toolkit;
    import java.awt.datatransfer.UnsupportedFlavorException;
    import java.io.IOException;
    import java.io.FileOutputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import javax.media.jai.JAI;
    import javax.media.jai.RenderedOp;
    public class clipboard
    {  private File tempFile = null;
    * @param args
    static int BUFFER_SIZE = 65536;
    public static void main(String[] args)
    {  clipboard clip = new clipboard();
    clip.writeImageFromClipboard();
    public void writeImageFromClipboard()
    {  Clipboard            clip = Toolkit.getDefaultToolkit().getSystemClipboard();
    Transferable transferable = clip.getContents(null);
    RenderedImage img = null;
    FileOutputStream fileOutStr = null;
    BufferedOutputStream bufOutStr = null;
    DataFlavor [] dataFlavors;
    File tempFile;
    int
    byteCount;
    String [] strArr;
    dataFlavors = transferable.getTransferDataFlavors();
    System.out.println("clip=" + clip.getName());
    System.out.println("Transferable=" + transferable);
    for (int i = 0; i < dataFlavors.length; i++)
    {  System.out.println("dataFlavours[" + i + "]=" + dataFlavors.toString());
    if (transferable.isDataFlavorSupported(new DataFlavor("image/x-java-image; class=java.awt.Image", "Image")))
    { try
    { img = (RenderedImage) transferable.getTransferData(new DataFlavor("image/x-java-image; class=java.awt.Image", "Image"));
    if (this.tempFile == null)
    { this.tempFile = File.createTempFile("__TMP_IMG__", ".jpg");
    System.out.println(this.tempFile.getCanonicalPath());
    fileOutStr = new FileOutputStream(this.tempFile);
    bufOutStr = new BufferedOutputStream(fileOutStr);
    // Encode the file as a JPG image.
    JAI.create("encode", img, bufOutStr, "JPEG", null);
    catch (UnsupportedFlavorException e)
    { e.printStackTrace();
    catch (IOException e)
    { e.printStackTrace();
    finally
    { if (bufOutStr != null)
    { try
    { bufOutStr.flush();
    bufOutStr.close();
    catch (IOException e)
    if (fileOutStr != null)
    { try
    { fileOutStr.flush();
    fileOutStr.close();
    catch (IOException e)
    else
    { System.out.println("Not an image!");

    The login  you connected to the server  and run the above statement does not have permissions to operate  on this path "C:\Users\ISLLCdba\Desktop\MAA
    PROFILE PICTURES\"
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How can I get the image data from Clipboard with LV

    Anybody knows How can get the image data after pressd "print screen button" with LV?
    I want to program a software which can save a image as a bmp or jpeg etc, and the image data is from pressed print screen button. 
    How to get it out from clipboard. I am trapping about. thanks in advance.
    Try to make everything Automatic

    You can have a look at Rolf Kalbermatter's post here (give him stars) or, if you're using scripting, you can use the Application class Get Clipboard Image method.
    Try to take over the world!

  • Why am I being told that a JPEG file that I made changes to in Photoshop 6 (CS6) can't be saved?  The message I get says that either the file is locked and I don't have permission to execute this or another program is using this file.

    i recently purchased a 21.5 iMac with Yosemite (10.10.1) and was disappointed to discover that my CS6 programs are not functioning correctly.  I am unable to use the "Save As" command  when making changes to a JPEG file in Photoshop.  The message I get says that either another program is using the file or it is locked and I don't have permission to execute that command.  I'm experiencing a similar problem in Bridge when trying to move an unwanted file to the Trash.  Again, I get a message telling me that i don't have permission to do this.  Lastly, I'm unable to open any Camera Raw files.  Any suggestions?  I had no problems with the Mavericks OS on my old iMac and although it's much slower, I'm tempted to go back to using my old iMac.  At this point, I feel as if I've just wasted $2300+ (tax included). 

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    resetp
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • How do I load a picture from the clipboard (either Windows clipboard or Labview clipboard) into image data that can then be processed in Labview?

    I want to load a picture from the Windows clipboard (and if not possible, then from the Labview clipboard) into actual numerical image data so that it can be processed in lab view. When I'm at the main screen where I can add controls, I see a section of controls called "Vision" in the tool bar where all the different controls can can be added from. When I go to the control called "Image" and put that on my form, and then look at the flowchart/blockdiagram programing window to see what inputs and outputs it has, I only see one output, and no inputs. And when I right click on it, I see NO way to load an image into the Image control. PLEASE help me.
    Message Edited by Ben321 on 11-09-2008 04:32 PM

    Hi Ben,
    National Instruments has an image processing software called Vision and although I am not completely sure, I think the controls that you found in the control pallet are used in conjunction with the software. Depending on what kind of image processing you want to conduct in LabVIEW, you might want to consider purchasing that product.
    If cost is an issue, there are functions in LabVIEW which allows you to take in image files and process them. However, please keep in mind that the capabilities are limited.
    Images should be loaded onto LabVIEW not via the clipboard but through loading it from folders or directories. (There might be a way to and so if you find a way please let me know! I would like to know myself =D) If you open the function pallet by right clicking on the block diagram, in the programming folder you should find a directory called "Graphic and Sound". There, you'll find functions in which allows you to process images.
     In the "Graphic Type" directory there should be a function called Read JPEG file.vi. There are also others which allows you to read png and bmp files. Please note that there are functions which write as well. Set a file path on the block diagram and inside the "Grahic and Sound" there is a "Picture Function" directory and inside there, there should be a function called "Draw Flattened Pixmap.vi" That changes the image into a format where you can process on LabVIEW. Inside the "Picture Function" directory there are several functions which allows you to process the specified image. Play around with it and see how it goes. And don't forget to Write the file in the end to save any changes.
    I hope this helps
    National Instruments Japan
    Applications Engineer Taiki Hoshi

  • How can I use a JPEG file as a background image for my vi in 8.5

    Im working on a vi that I plan on using as part of an alarm system.  I would like to use a JPEG file of my house as a background image for the vi, or possibly to just be displayed in a window on the control panel.  I have seen people use their own images before, but never looked at what this involved.
    Im trying to use the "read JPEG file" vi and the "draw flattened pixmap" vi to accomplish this.  The vi does run, but nothing shows on the front panel.  If I try to create an indicator from the "new picture" output of the "draw flattened pixmap" vi, I get an empty white window on the front panel.
    Any advice?
    Thanks
    Solved!
    Go to Solution.

    Guruthilak wrote:
    the earlier vi (using the JPEG) works fine. just increase the size of the picture control
    I figured this was the problem. And to the OP, I'm glad a bitmap worked, but no I didn't mean use any sort of LabVIEW programming at all. I meant open your image in Microsoft Paint, Press ctrl+A to select the whole thing. Then copy the image to the clipboard. Now select your front panel and press ctrl + v to paste it. No programming needed and the image is there. However, if you want to programmatically change it, you will need a picture control.
    CLA, LabVIEW Versions 2010-2013

  • Suddenly I am unable to create a new file from my clipboard

    For "years" after modifying graphics in Appleworks, I lasso it & copy to my clipboard. Then I open PS (CS5) and select "new", then paste from the clipboard to continue my editing.  Suddenly when I paste a clipboard item, all I get is PLAIN WHITE in the proper size.  I'm running on OSX 10.6.6, with my PS 12.0.2.
    Why has this happened.  I went to PS Help and couldn't find anything to help me.
    (My work around:  Open Graphic Converter, and save as a JPEG file.  Then I open THIS file with PS.)
    Any suggestions? 

    No.  To respond to Jeff_Coatsworth--yes, I have version control going on with my FM book under version control in Documentum, but the RH11 project I am creating is new.  I thought of this and tried to create the RH11 project on my hard drive in the My RoboHelp Projects > Adobe RoboHelp 11 folder.  RH11 is not creating the .xpj file.

  • PDF copy to clipboard is broken in Mavericks 10.9.5

    PDF copy is broken in Mavericks 10.9.5 on my MacBook Pro 17 (mid 2009). I cannot screen capture to the clipboard (ctrl-shift-cmnd-4) or between applications when the copy format is PDF. I can, however, save as a pdf file during screen capture (shoft-cmnd-4). Other formats (pict, jpeg etc) work fine. Only pdf is broken. The error shows up as an empty clipboard and as Preview being unable to create a new file from the clipboard. Have reinstalled OSX 10.9.5 (combo update). Have created a new user and logged in as the new user (no menu bar extensions,  etc) and the problem persists. Have booted up in safe mode and the problem persists.
    Is this a combination of an old MacBook Pro (17 inch, mid 2009) and Mavericks or have others experienced this problem with different configurations?
    Message was edited by: acarruthers

    Please report to Apple Feedback. This is not a forum for reporting bugs.

  • How do I save a chart as a jpeg?

    How do I save a chart as a jpeg. In excel I right click, "save as picture." Not seeing anything like that in Numbers.

    Here is a script dedicated to Numbers.
    You will find explanations in French and English at the beginning.
    CAUTION :
    it requires the installation of a Unix command file which gives us the ability to check if a modifier key is depressed.
    During my tests, only shift or fn keys were correctly detected.
    Maybe it was because I did my tests in the AppleScript Editor.
    I choose the fn key which, as far as I know, is not used to define the area to save.
    --{code}
    --[SCRIPT subset_of_numbers_doc_to_jpeg]
    Télécharger getModKey.zip depuis
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Décompacter puis déplacer le fichier getModKey dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:UnixBins:
    Il vous faudra peut-être créer le dossier UnixBins.
    Détails complémentaires dans :
    http://macscripter.net/viewtopic.php?id=33652
    Enregistrer le script en tant que Script : subset_of_numbers_doc_to_jpeg.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Ouvrir un document Numbers et afficher la feuille dont une portion doit être enregistrée dans un fichier jpeg.
    Aller au menu Scripts , choisir Numbers puis choisir “subset_of_numbers_doc_to_jpeg”
    Le script affiche la feuille au format PDF dans Aperçu.
    Sélectionnez la zone à enregistrer puis pressez la touche fn.
    Le script copie la sélection dans le Presse-papiers, ferme le PDF complet,
    crée un nouveau PDF à partir du Presse-papiers
    puis ouvre le dialogue Enregistrer au format jpeg.
    Il restera à définir le nom et la destination du fichier.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Download getModKey.zip from
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Expand it then move the getModKey file into the folder
    <startupVolume>:Users:<yourAccount>:UnixBins:
    Maybe you would have to create the folder UnixBins.
    Details available in :
    http://macscripter.net/viewtopic.php?id=33652
    Save the script as a Script: subset_of_numbers_doc_to_jpeg.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Open a Numbers document and display the sheet whose a subset must be saved in a jpeg file.
    Go to the Scripts Menu, choose Numbers, then choose “subset_of_numbers_doc_to_jpeg”
    The script display the sheet in a Preview's PDF window.
    Select the area to save then press the fn key.
    The script copy the selected area in the clipboard, close the full PDF,
    create a new PDF from the clipboard's contents
    then open a dialog to Save as jpeg.
    Define the name and the storage location.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/11/15
    --=====
    on run
              local nomFenetre, nbw
    Check that the Unix command file getModKey is available in the folder <startupVolume>:Users:<yourAccount>:UnixBins: *)
              set flPth to ("" & (path to home folder) & "UnixBins:")
              tell application "System Events" to set maybe to exists disk item (flPth & "getModKey")
              if not maybe then
                        if not my parleAnglais() then
                                  error "Please, install “getModKey” in the folder" & return & "“" & flPth & "” !"
                        else
                                  error "Veuillez installer « getModKey » dans le dossier « " & flPth & " » !"
                        end if
              end if
              set flPth to quoted form of POSIX path of (flPth & "getModKey")
              tell application "Numbers" to activate
              tell application "System Events" to tell application process "Numbers"
    Get the name of the frontmost standard window
    so that we will not 'speak' to an inspector or to the Find dialog *)
                        set nomFenetre to name of first window whose subrole is "AXStandardWindow"
      keystroke "p" using {command down}
    Wait the availability of the Print sheet *)
                        tell window nomFenetre
                                  repeat until exists sheet 1
                                            delay 0.2
                                  end repeat
                                  tell sheet 1
      click first menu button
      click first menu item of menu 1 of first menu button
                                  end tell -- sheet
                        end tell -- window
              end tell -- System Events
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
                        set nbw to count of every window
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Trigger the menu item Tools > Selection Tool *)
      keystroke "3" using {command down}
              end tell -- System Events
    Now, select the area which must be saved in a jpeg file *)
    Thanks to the command getModKey, loop until the fn key is depressed *)
              repeat
                        delay 0.2
                        if (do shell script flPth) = "131072" then exit repeat
              end repeat
    The fn key was depressed so we may copy the defined area to the clipboard *)
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
    Empty the clipboard. So we will be able to check that the copy task is achieved *)
      set the clipboard to ""
    Copy to clipboard *)
      keystroke "c" using {command down}
    Loop waiting for the achievement of the Copy task *)
                        repeat
                                  delay 0.2
                                  try
      the clipboard as «class PDF »
                                            exit repeat (* Exit when the task is achieved *)
                                  end try
                        end repeat
                        set nbw to count windows
    Close the PDF window *)
      keystroke "w" using {command down}
    Wait the achievement of the Close task *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
                        set nbw to count windows
    Create New PDF from the clipboard *)
      keystroke "n" using {command down}
    Wait the availability of the new PDF window *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Get the name of the new window *)
                        set nomFenetre to name of window 1 --(first window whose subrole is "AXStandardWindow")
      keystroke "s" using {command down}
    Wait the availability of the Save sheet *)
                        repeat until exists sheet 1 of window nomFenetre
                                  delay 0.2
                        end repeat
                        tell sheet 1 of window nomFenetre
      -- properties of every UI elements
                                  tell group 1
      click first pop up button
                                            delay 0.2
      -- properties of every menu item of menu 1 of first pop up button
      click menu item "JPEG" of menu 1 of first pop up button
                                            delay 0.2
                                  end tell -- group
      -- click button 1  (* Click in the Save button *)
                        end tell -- sheet
              end tell -- System Events
    end run
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    --{code}
    Of course, thanks to FastScripts, we may link a shortcut to the script.
    Yvan KOENIG (VALLAURIS, France)  mardi 15 janvier 2011 19:04:38
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Preview & File Size for jpegs problem.Bloating bug?

    When adding cover art to iTunes, I am checking the file sizes to be certain I have the smallest size possible to add to my new iPod 16G nano. When connected to the iTunes store and "Get Album Artwork" is selected, I have no way of knowing the size of the images that get installed, except for choosing a song, doing "Get Info/Artwork" then copying and pasting the image in the Artwork window into Preview. Often this Preview image will be identified as around 300+ K in the file size.
    So here's the weird part. When I find an image I want, say 240x240 20k file size, I copy it and paste it into Preview and Save As. the Inspector identifies it as 240x240 and 20K in size. In Finder, the file size is identified correctly as 20k. I use this to replace the iTunes artwork that was 350k, by deleting the old image, and using "Add Artwork" in Get Info. The new, smaller image is added. After clicking OK and to check that all is well, I select the song, Get Info, copy the artwork then go to Preview and use "New From Clipboard". Using Inspector, the image is 240x240, but the file size will be huge - 300+K. If I save this copied image and use Finder to check the file size it will be 300+K.
    What is going on?

    Hello Jody,
    Very probably, the final image is exported in the native format for Clipboard: which is, "pict." These pict files are invariably "huge" when compared to a jpeg of the same physical dimension but which is of 72 ppi resolution. In other words, pict files are like .tiff files: they normally are not compressed and consequently are much larger files.
    So when you do a "New From Clipboard" - the next step should be "Save As" and then select JPEG as the desired image file format.

  • HOW TO - Create new from clipboard and process multiple files - please help

    Need help - have new version of photoshop on trial only ATM...
    Want to know - HOW TO:
    1. Create new from clipbaord
    2. Process multiple files
    Please help.

    For clipboard copy, I start with File > New and the size will be set to what's in the clipboard. Then once the new file is opened, Edit > Paste will place the clipboard contents as a layer in the new document.
    You must remember to use the command Layer > Flatten Image of you want to save as jpeg or any other file format that doesn't support layers.
    For processing multiple files,
    File > Automate > Batch or
    File > Scripts > Image Processor...
    Check the User guide or google information for those commands if you have specific needs.
    Gene

  • Copy/Paste/Clipboard Problem; Pastes only as SVG Code

    I have Illustrator CC installed, as well as Illustrator CS6, running Windows 7 x64, latest patchlevel. When I try to copy and paste objects in Illustrator CC, I always get a SVG code. I draw a simple rectangular, copy it, paste it, it's not pasted as a rectangular, it's pasted as SVG code. Same with an embedded JPEG. Copy it. paste it. et voila, SVG code...
    In Illustrator CS6 everything works as i would expect it. Highlight object, cmd+c, cmd+v, ok.
    In CC, highlight object, cmd+c, cmd+v => svg code [<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In  --> etc. pp.] This always happens, no matter where (copy in illustrator cc, paste in the same illustrator document, word, photoshop, etc) or what (drawn object, jpeg, embedded, linked, gif).. I've tried different clipboard settings in Illustrator CC, it makes no difference.
    HELP!

    Of cause it is, but still I think it's a bug.
    I don't think it should work this way. First, Include SVG Code to me is not equal to Replace copied objects by SVG Code. When I copy an object from an Illustrator file and then try to paste it back into an Illustrator file, why should I get code instead? Second, that code was not pasted every time. Just about every second or third time. Sometimes it worked with a single object, sometimes to get that SVG code I had to copy/paste multiple objects, while pasting single objects worked as expected. So, to me it looks like a bug.
    And anyway, even if this function is supposed to replace objects with code, it should not be ON by default, not all of Illustrator users are developers. My estimate, most of us are not, actually.

Maybe you are looking for