Write to BMP or JPG file

Can anyone tell me if there is a VI available that will write a graph
display to a BMP if JPG file. This is to save having to [print screen] and
edit the picture all the time.
Yours sincerely, Chris McCrory Project Engineer
______________________________________________ SP Technology Limited E-mail:
[email protected] Website: www.sp-tech.com Tel: +44 (0) 1382-880088 Fax:
+44 (0) 1382-880099 The information in this e-mail is confidential and for
use by the addressee(s) only. If you are not the intended recipient or
responsible for delivery of the message to the intended recipient, please
notify us immediately on +44 (0) 1382 880088 and delete the message from
your computer; you may not copy or forward it, or use or disclose its
contents to any other person. As Internet communications are capable of data
corruption, SP Technology Ltd do not accept any responsibility for changes
made to this message after it was sent. For this reason it may be
inappropriate to rely on advice contained in an e-mail without obtaining
written confirmation of it. Please note that SP Technology Ltd does not
accept the liability or responsibility for viruses and it is your
responsibility to scan attachments, if any. Opinions and views expressed in
this e-mail are those of the sender and may not reflect the opinions of SP
Technology Ltd.

"Chris McCrory" wrote:
>Can anyone tell me if there is a VI available that will write a graph>display
to a BMP if JPG file.
snipp
Just use the VI-Property Node - you can choose to print the whole VI (description,
panel, diagramm and so on and delete the unnecessary stuff.
Peter

Similar Messages

  • How do I put one logo (saved as bmp or jpg file) on the form

    Hi !
    I have developed some forms and I want to put on the top of each
    form one logo, which is available both as bmp as well as jpg
    file.
    How do I do it ? Meaning which type of field do I need to store
    that logo and where all do I need to declare/define it ?
    Any help will be welcome...
    Shobhit
    null

    In the layout editor
    from the File menu import image
    select your file it will be added to the canvas
    no coding is required
    null

  • Send .bmp or .jpg File over Mail Adapter

    Hi All,
    I need assistance on the scenario: .jpeg or .bmp File -> XI -> SapInbox
    The contents of a file will be only the image and nothing else.

    Hi All,
    I have configured my Sender as File Adapter and Receiver Mail Adapter.
    I have my source File (.jpg) on my PC.
    I have the following problems in RWB when I check my Adapters :
    File = Sender Adapter v2727 for Party '',Service 
              MyServiceName': Configured at 2006-10-11
                                           09:40:39 GMT
             History:
               - 2006-10-11 10:16:50 GMT: Error: No suitable
               sender agreement found
    Mail = I get Status Green MyServicName:MyCommunicationChannel  running: started
    I cannot create a Sender Agreement as my interface is only going to get the File and send it out to Mail.
    What is it that I am missing.

  • Scan on my PSC2210 all in ones does not become a pdf file (only jpg tif bmp or png files)

    I try to scan a document and store it as a pdf file
    on my windows XP I could scan a document as pdf and send it by email
    now i use windows7 with my psc2210 and the only profile i can choose is BMP TIF JPG or PNG
    is there an other possibility?
    Henk

    Hi - I'd recommend running the print diagnostic utility for starters.  It should help isolate the problem and hopefully resolve it automatically.  At the very least, it is a good starting point.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • I write both JPG and DNG files in the camera.   Camera is a Leica Monochrom.   Photo, unlike iPhoto, seems to ignore DNG files and only imports JPG files.   What am I missing here?

    I write both JPG and DNG files in the camera.   Camera is a Leica Monochrom.   Photo, unlike iPhoto, seems to ignore DNG files and only imports JPG files when both are present on the SD card.  JPGs are used for quick proofing on an iPad.    DNG RAW files are edited on a Mac Pro (2013).    Other than deleting the JPGs before importing images from the SD card,  is there any way to force Photo to select and import only the DNG images?

    Thanks Larry,
    I did see the J stacked in the lower left of the thumbnails but couldn't figure out how to get to whatever is below it.   How do you select R?  
    I use an iPad to do quick proofs of my images.   A JPG is good enough for a proof ( dust on the lens,  composition, blown out image, etc. ).   The iPad is JPG friendly and can load the images quickly.    Serious editing takes place on my Mac Pro with the DNG files.   I use the same workflow with the the Leica M 240.   iPhoto has been a quick and easy importer to the Mac capturing all of the metadata in the EXIF sidecar file ( location, date, time,  camera settings, lens type).  A quick scan in iPhoto for the "keepers" let's me export those worth editing to Lightroom/Bridge/Photoshop.  I typically shoot 50 images from three locations in a normal day.  If I'm lucky I'll get 1 worth real work to add to the portfolio.  

  • Frame7.1 wont import Photoshop CS5.1 .jpg file

    I am (reluctantly) in the process of migrating from Windows XP +
    Photoshop CS V8.0 to Windows 7/64bit + Photoshop CS5.1.
    Framemaker 7.1 works well in both XP and W7/64, including generating
    PDFs. I can import .jpg files written by Photoshop CS. Etc.
    ... except...
    If I open a known-good (already imported) .jpg file using Photoshop
    CS5.1 and, without making any changes, save it, Framemaker can no
    longer import it, neither directly or by reference:
       "The filter encountered an error and could not complete the
        translation".
    It appears the Photoshop CS5.1 writes a different .jpg file format
    than Photoshop CS (rhetorical: how can it be acceptable for CS5.1 to
    change the format of a basic .jpg file? but I digress...).
    Examining the original .jpg file vs. the CS5 .jpg file I find:
    - The new file is smaller (79KB vs. 82KB) - note both are small!
    - The contents (examined using a binary editor) are quite different.
    - Both versions display identically, in both CS and CS5.1 and in
       various viewers.
    I have tried various experiments trying to understand this and have
    had no luck. I can open the CS5 .jpg file in Photoshop CS and save it
    again but Framemaker will not open this version either, same error.
    This is not a RAM size issue (8GB), swap space issue, or anything else
    related to the computer hardware. All SW updates are current, etc.
    I have tried importing into a new, default template file, etc.
    So, I tried saving as .bmp and the first time I tried to import it
    Framemaker died immediately: no stack trace, no error messages, the
    Frame process was just gone. After restarting, the 2nd attempt I got a
    black rectangle of the correct size, but all black = not usable.
    Photoshop CS + Framemaker has worked well for many years, so I know
    this is a CS5 issue.
    Anyone have any ideas on how to make CS5.1 generate a "standard" .jpg
    file?
    Anyone have any ideas on how to import CS5.1 images using
    Framemaker 7.1?
    Please don't advocate upgrading Framemaker to V10... Adobe provides zero
    information on migration (from any version) and the last time we did
    this cost us many man-months of work to "fix" 14K+ pages in 50+
    manuals. We will stay with XP/CS and "eat" the new W7/CS5 system
    before we move to FM10.
    Thanks
    Previously (everything works)
      Windows XP/SP3
      Photoshop CS V8.0
      Framemaker 7.1P116, non-structured
    Today:
      Windows 7/64bit SP1
      Photoshop CS5.1
      Framemaker 7.1P116, non-structured

    AG: IIRC, the FM7.1 JPG filter only reads the older JFIF header format JPG files, while the CS5 Photoshop and many other applications write EXIF headers in the JPG (yes , the standard evolved).
    We also had a problem with JPEG 5 (legacy) vs. JPEG 2000 (newer) encoding, not in FM, but in the rendered PDFs at our print shop. The Xerox engine needed an update to fix that.
    Using JPEGs in FM has various considerations, some already mentioned in this thread. But the biggest concern, in my view, is cascading compression damage. JPEG compression is always "lossy", and the artifacts at higher compression, or after successive compressions, are often visually distracting (and may be aggravated if sharpening is also applied). Even at NO compression, there are losses due to the transforms
    Unless you are shooting .RAW, your camera is compressing from frame buffer to JPEG. When you re-save from your photo editor, regardless of edits, it gets re-compressed if saved to JPEG. When you render to PDF, it may get both down-samped and re-compressed again depending on PDF settings. If you post-process (optimize or reduce file size) in Acrobat, it can get down-sampled and re-compressed again.
    So I shoot JPEG with as little compression as possible (RAW has other considerations). I edit in PhotoShop and save as EPS, which is a very inefficient format space-wise, but is UNcompressed*, and is a very efficient format both performance- and stability-wise in FM. I save the EPS at the resolution desired in the PDF (usually 200 dpi). Yes, it does get (and needs to be) re-compressed during Distill, but we've skipped one needless re-comp, and avoided another down-sample. We don't further optimize in Acrobat post because the images are already optimal.
    EPS also supports both RGB and CMYK models, whereas JPEG is strictly RGB (or, beware: indexed color). And EPS is generally unmolested by Mr.Bill's GDI, which is crucial for color-managed CMYK.
    * TIFF can also be uncompressed, and CMYK, but can be a performance issue in FM.
    The Wiki page for JPEG, btw, is presently vandalized:
    "The name "JPEG" stands for Joint Photosaic Experts Group, the name of the committee that created the JPEG standard and also other standards. It was discovered by <likely name of vandal redacted> of the Philippines."

  • How to create a jpg file for a desired  part of the canvas

    i hav to create a jpg file from the canvas which contains basic shapes which are drawn using methods like drawOval(),drawRectangle(). i need only a part of the canvas to be saved as a jpg file i.e for example from xpos 50-100 & ypos 200-250.i need all the portions of the shapes already drawn in that area as a jpg file..
    can anyone help me?

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    public class CanvasClip extends Canvas implements ActionListener
        Rectangle clip;
        boolean showClip;
        public CanvasClip()
            clip = new Rectangle(50, 50, 150, 150);
            showClip = false;
        public void paint(Graphics g)
            super.paint(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int dia = Math.min(w,h)/4;
            g2.setPaint(getBackground());
            g2.fillRect(0,0,w,h);
            g2.setPaint(Color.blue);
            g2.drawRect(w/16, h/16, w*7/8, h*7/8);
            g2.setPaint(Color.red);
            g2.fillOval(w/8, h/12, w*3/4, h*5/6);
            g2.setPaint(Color.green.darker());
            g2.fillOval(w/2-dia/2, h/2-dia/2, dia, dia);
            g2.setPaint(Color.orange);
            g2.drawLine(w/16+1, h/16+1, w*15/16-1, h*15/16-1);
            if(showClip)
                g2.setPaint(Color.magenta);
                g2.draw(clip);
        public void actionPerformed(ActionEvent e)
            Button button = (Button)e.getSource();
            String ac = button.getActionCommand();
            if(ac.equals("show"))
                showClip = !showClip;
                repaint();
            if(ac.equals("save"))
                save();
        private void save()
            int w = clip.width;
            int h = clip.height;
            BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
            Graphics2D g2 = img.createGraphics();
            g2.translate(-clip.x, -clip.y);
            paint(g2);
            g2.dispose();
            String ext = "jpg";  // or "png"; "bmp" okay in j2se 1.5
            try
                ImageIO.write(img, "jpg", new File("canvasClip.jpg"));
            catch(IOException ioe)
                System.err.println("write error: " + ioe.getMessage());
        private Panel getUIPanel()
            Button show = new Button("show clip");
            Button save = new Button("save");
            show.setActionCommand("show");
            save.setActionCommand("save");
            show.addActionListener(this);
            save.addActionListener(this);
            Panel panel = new Panel();
            panel.add(show);
            panel.add(save);
            return panel;
        public static void main(String[] args)
            CanvasClip cc = new CanvasClip();
            Frame f = new Frame();
            f.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
            f.add(cc);
            f.add(cc.getUIPanel(), "South");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • Memory error converting large jpg file

    Hi
    I am trying to convert a large bmp file (160mb) into a jpg file.
    However I'm getting outOfMemory errors. This is very strange since I have 1.5gb of Ram and I have set the java heap to 1g.
    In any case does anyone know a conversion method that maybe doesn't have to have the whole file in memory at once.
    Heres my code :
    private void convert2jpg(int imageNum)
              String inputFile = "..//images//temp"+imageNum+".bmp";
              RenderedOp src = JAI.create("fileload", inputFile);
              String outputFile = "..//images//plate_3x3in_"+ imageNum+".jpg";
              JAI.create("filestore", src, outputFile, "jpeg",(ImageEncodeParam)null);     
    Thanks
    Aharon

    Why not use ImageIO instead? Something like ImageIO.read(File) which returns a BufferedImage and then use that to write to the desired format using ImageIO.write()??

  • Copy .jpg files to a Windows CD

    Hello,
    I have some .jpg image files from a family gathering that I'd like to share. Unfortunately, everyone else, but me has a PC the CDs I made on my Mac can not be read byt them. Is there some reasonble priced software I could get or a trick to creating a CD with .jpg files that can be read on either a Mac or PC. I saw a thread about creating an .iso file, but am unsure how to do that. Are there instructions somewhere? Thanks so much. Margie

    I think burning the CD from the Finder window would do. Just click the burn symbol that will appear on the Finder to make a Mac/PC compatible CD. Sometimes that a file is projected on a PC as a .DAT file - not recognised - write the extension (.jpeg, .bmp, whatever) manually.

  • Convert an *.jpg - File

    Hey,
    how can i convert a *.jpg file to another graphicformat for e.g to *.gif or *.bmp.
    Is this difficult?
    thx for any answer, CADO

    You can try http://www.geocities.com/marcoschmidt.geo/java-image-coding.html#pixel
    There's a list of Java libraries that read or write pixel (raster, bitmap) image files. You can look for JPEG in the list.
    Never tried any of these packages, just suggesting.
    Kurta

  • How can I remove the leading zeros on jpg files?

    I'm looking for a way to remove the leading zeros on over 1000 jpg files, without changing the remaining digits in the file name. Is there some automated "batch" script?
    i.e going from 003405607.jpg  to  3405607.jpg

    You could write an AppleScript. but it will be easier to get and use a third-party file renaming utility. I use the freeware NameChanger which works quite well.
    https://www.macupdate.com/app/mac/21516/namechanger
    Regards.

  • Is it possible to ignore and not import JPG files when a JPG and raw file of the same name exist?

    Is it possible to ignore JPG files on import? I shoot raw + JPG and see no reason to keep the JPGs; I shoot JPG primarily as a backup (I back all the JPGs up online to my smugmug account then delete them before importing the raw files), but they're also occasionally handy if one wants to get a quick print in the field. I know that one can set a preference to "Treat JPEG Files Next to Raw Files As Separate Photos", but even then they still are imported.
    As an example, say I have this scenario (not on DSLRS, but on pNs cameras, sometimes a JPG but not raw is captured - I suspect this has to do with how the buffer is filling) with these files on a memory card:
    IMG_0001.JPG
    IMG_0001.CR2
    IMG_0002.JPG
    IMG_0003.JPG
    IMG_0003.CR2
    When I import pictures from this folder, I'd like 2 CR2 files and 1 JPG to be imported. I'm even willing to copy the relevant files and drag and drop them onto LR's Library module. But even if I do that, all five files get imported. Thanks!
                         Dilip

    jim01403 wrote:
    trshaner wrote:
    For this typical example 98% of the image files are transferred while LR is building previews, which is exactly what I was suggesting be avoided.
    No, I don't believe that's correct. As I said in my previous post, Lightroom's Import is a two-stage process.....first copy the files from the card, then when that is finished, render whatever previews have been requested.
    AFAIK there is nothing unusual about my system, Lightroom has always imported in this two-stage way as far back as I can remember. Based on this I see no 'safety' benefit from copying files first outside Lightroom, then using an ADD import process. On the contrary, as this takes away the possibility of using the "Second Copy on Import" option, as well as having to manually setup import folders, I see nothing but downside from that approach.
    Mea culpa, Jim is correct! I checked my Windows 7 system with LR4.2 and I monitored the 'Destination folder' during an import direct from memory card to hard drive. 'Copy and import' showed in the progress bar until all image files were visible using Windows Explorer in the 'Destination folder.' Only after all files had transferred did the progress bar change to ‘Render 1:1 Previews.’ I started using LR1.0 on a Pentium 3 single-core system with Windows XP 32 bit, which I think is when I made this observation. Regardless, it is clear that LR4.2 is using a two-step import process. Thanks Jim for being persistent!
    It still begs the question why some people are experiencing very slow imports, damaged image files, and other related import problems from memory cards? My guess (and it's only a guess) is that they have 1) 'Rename Files,' 2) 'Automatically write changes into XMP,' or 3) 'Include Develop settings in metadata inside JPEG, TIFF and PSD files' checked in LR preferences. It would be a good idea for anyone experiencing import issues to try an import with these three (3) options unselected.
    My apologies to the OP DBarman for going off topic. Hopefully the extra information and observations are helpful.

  • Is it possible when saving the psd file to have an automatic jpg file saved at the same time?

    My work involves preparing images for printing lightboxes and window installations.  My clients require to pre-approve the photos before printing.
    I usually save my files as psd but since the files are very large in this format I usually save another copy as a jpg file that has a much smaller file size.  This makes it possible for me to add these to a presentation and and send them to my client.
    Is it possible when saving the psd file to have an automatic jpg file saved at the same time?  Or do I still have to do this manually?

    If you save the document manually as a PSD file in Phtoshop not from within an Action, Script, Plugin or Droplette.  You may be able to write a Photoshop that would do as save as Jpeg,  And you should be able trigger its execution by setting up a Script Save event using the Script event manager.  When You do a manual save  the script should be triggered.  I wrote may be able to for I have never tried to write that script or set up a Script Manager Save event.  I have only use open events.

  • Creation of JPG file

    Hi,
    I have a jsp page that display's data from the database in html table format.Now i have a button called "image" at the bottom.I want that when the user clicks on the image button a jpg file should be reandered to the user that would contain the table data (from the database) that is displayed in the jsp.
    I am fairly new to image creation in java.I know that i need to use the
    response.setContentType("image/jpeg"); to render the jpg back to the user but don't know how to write the data that is displayed in the table in the jsp to this jpg file and generate this file and show back to the user.
    I also know that i need to use a byte [] but dont know how to do this.
    Is there any way to achieve this?Thanks in advance.
    Regards,
    Aditya

    import javax.imageio.*;
    import javax.imageio.IIOImage.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import java.util.*;
    public class h
      public static void main( String a[] ) throws Exception
        doit( new FileOutputStream( a[ 0 ] ) );
      static void doit( OutputStream os ) throws Exception
        int                 width0 = 800;
        int                 height0 = 600;
        BufferedImage       sm0 = new BufferedImage( width0, height0, BufferedImage.TYPE_INT_BGR );
        Graphics2D          g0 = sm0.createGraphics();
        ImageIO.write( sm0, "jpg", os );
    }

  • How to save info in a meta-data of a jpg file?

    hi, i need to know how to save info in a meta-data of a jpg file:
    this is my code (doesn't work):
    i get an exception,
    javax.imageio.metadata.IIOInvalidTreeException: JPEGvariety and markerSequence nodes must be present
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeNativeTree(JPEGMetadata.java:1088)
    at com.sun.imageio.plugins.jpeg.JPEGMetadata.mergeTree(JPEGMetadata.java:1061)
    at playaround.IIOMetaDataWriter.run(IIOMetaDataWriter.java:59)
    at playaround.Main.main(Main.java:14)
    package playaround;
    import java.io.*;
    import java.util.Iterator;
    import java.util.Locale;
    import javax.imageio.*;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.metadata.IIOMetadataNode;
    import javax.imageio.plugins.jpeg.JPEGImageWriteParam;
    import javax.imageio.stream.*;
    import org.w3c.dom.*;
    public class IIOMetaDataWriter {
    public static void run(String[] args) throws IOException{
    try {
    File f = new File("C:/images.jpg");
    ImageInputStream ios = ImageIO.createImageInputStream(f);
    Iterator readers = ImageIO.getImageReaders(ios);
    ImageReader reader = (ImageReader) readers.next();
    reader.setInput(ImageIO.createImageInputStream(f));
    ImageWriter writer = ImageIO.getImageWriter(reader);
    writer.setOutput(ImageIO.createImageOutputStream(f));
    JPEGImageWriteParam param = new JPEGImageWriteParam(Locale.getDefault());
    IIOMetadata metaData = writer.getDefaultStreamMetadata(param);
    String MetadataFormatName = metaData.getNativeMetadataFormatName();
    IIOMetadataNode root = (IIOMetadataNode)metaData.getAsTree(MetadataFormatName);
    IIOMetadataNode markerSequence = getChildNode(root, "markerSequence");
    if (markerSequence == null) {
    markerSequence = new IIOMetadataNode("JPEGvariety");
    root.appendChild(markerSequence);
    IIOMetadataNode jv = getChildNode(root, "JPEGvariety");
    if (jv == null) {
    jv = new IIOMetadataNode("JPEGvariety");
    root.appendChild(jv);
    IIOMetadataNode child = getChildNode(jv, "myNode");
    if (child == null) {
    child = new IIOMetadataNode("myNode");
    jv.appendChild(child);
    child.setAttribute("myAttName", "myAttValue");
    metaData.mergeTree(MetadataFormatName, root);
    catch (Throwable t){
    t.printStackTrace();
    protected static IIOMetadataNode getChildNode(Node n, String name) {
    NodeList nodes = n.getChildNodes();
    for (int i = 0; i < nodes.getLength(); i++) {
    Node child = nodes.item(i);
    if (name.equals(child.getNodeName())) {
    return (IIOMetadataNode)child;
    return null;
    static void displayMetadata(Node node, int level) {
    indent(level); // emit open tag
    System.out.print("<" + node.getNodeName());
    NamedNodeMap map = node.getAttributes();
    if (map != null) { // print attribute values
    int length = map.getLength();
    for (int i = 0; i < length; i++) {
    Node attr = map.item(i);
    System.out.print(" " + attr.getNodeName() +
    "=\"" + attr.getNodeValue() + "\"");
    Node child = node.getFirstChild();
    if (child != null) {
    System.out.println(">"); // close current tag
    while (child != null) { // emit child tags recursively
    displayMetadata(child, level + 1);
    child = child.getNextSibling();
    indent(level); // emit close tag
    System.out.println("</" + node.getNodeName() + ">");
    } else {
    System.out.println("/>");
    static void indent(int level) {
    for (int i = 0; i < level; i++) {
    System.out.print(" ");
    }

    Hi,
    Yes, you need store data to table, and fetch it when page is opened.
    Simple way is create table with few columns and e.g. with CLOB column and then create form based on that table.
    Then modify item types as you like, e.g. use HTML editor for CLOB column
    Regards,
    Jari

Maybe you are looking for

  • Error when using WETextArea and WESubmitButton

    <p>Hi again,</p><p> </p><p>I think I may have found a issue.</p><p> </p><p>if you have a form that has only a WETextArea and a WESubmitbutton that is submitting back to the same report  ( with or with out database connection) I get a error message wh

  • SCSI HD and OS9

    I installed X, but not 9, on my new HD. Now it won't recognize my external SCSI HD. The external SCSI HD worked w/my old HD, which had 9 AND X. Must I do a clean install of 9, then X? Or? A clean install of 9 and X is much work, w/saving files to a Z

  • RSS feed for AMP missing Video 03?

    First off, thanks for a great, and free, service! However, is it just me or is the RSS feed missing Video 03, Creating a Flex Builder workspace and project? I can of course view this in the regular online player but would love to have it with the res

  • Does Z97 XPOWER AC support windows

    I am being very serious when I ask this question because I need to know if I have to rma this board or not. The reason I ask is because 1) all USB ports recognized/usable in BIOS 2) all USB ports recognized/usable in Linux 3) no USB ports recognized/

  • Clickable buttons within mc

    Hello, I'm working on a project and am having difficulty with a mc inside my swf. The movie clip is stopped at frame 1, showing only a small box with arrows in the top left corner of my swf. When MOUSE_OVER this box the mc plays and stops at frame(25