Reg: Upload an image from IBM File Net into SAP ZTABLE .

HI,
I have a requiremnt to Upload an image from IBM File into SAP ZTABLE .
or
can anyone give me an idea on
How to Upload an image from any image software into SAP ZTABLE .
Thnaks,
Arjun
Edited by: Arjun on Jan 22, 2010 2:24 PM

hI,
I've found the solution!!
My code was wrong, the correct way is:
DATA:  image type XSTRING,
            imagelength type i.
DATA: it_img TYPE w3mimetabtype.
CALL FUNCTION 'SSFC_BASE64_DECODE'
   EXPORTING
     b64data = output-CONVERT_FROM_URL_RESULT
   IMPORTING
     bindata = image
   EXCEPTIONS
     OTHERS  = 8.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
   EXPORTING
     buffer                = image
     "APPEND_TO_TABLE       = ' '
   IMPORTING
     OUTPUT_LENGTH         = imagelength
   tables
     binary_tab            = it_img.

Similar Messages

  • I am getting this message as I try to upload raw images from my file folders to my PSE

    I am getting this message as I try to upload raw image files from my file/folders into PSE what do I do to get PSE to accept the raw files?
    "Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types"  What do I do.  Just to let you guys know I am able to upload all JPEG files that are already in my files into PSE but not the raw photos.  Obviously I want to keep them raw in order to have more control over the outcome of the picture.

    The  camera I am using is the Canon Rebel T3I, the PSE version is elements 9, and I don't know what version of raw converter I may or may not be using.  Where do I find the version of raw converter?

  • I have my camera (Canon 5D MARK 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put ab

    I have my camera (Canon 5D Mark 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images.  Aperture put about 700 images in an untitled project folder, but all the images are the JPEGs.  What am I missing?
    Thanks,
    upsjdris

    Have you checked your "Import" settings for "Raw&Jpeg" pairs in the "Import" panel?
    You can set Aperture to import raw, jpeg, or raw&jpeg.
    If you imported Raw&Jpeg, but have set Aperture to use the Jpeg as original, you will see the imported image as Jpeg image, not as a raw image, even if the raw has also been imported. You can switch between Raw and Jpeg originals for selected images from the Photos menu:
    Photos > Use Raw as original.
    Regards
    Léonie

  • Problem loading image from jar file referenced by jar file

    First, I searched this one and no, I didn't find an answer. Loading images from jar files has been pretty much done to death but my problem is different. Please read on.
    I have my application, a straight up executable running from Eclipse. It uses a jar file, call it JarA. JarA launches a GUI that is located in another jar file. Call it JarB. To recap:
    My application calls JarA -> JarA loads classes from JarB -> JarB looks for images to place in a GUI it wants to show on the screen
    When JarB goes to load an image the following happens:
    java.lang.NullPointerException
         at sun.misc.URLClassPath$3.run(URLClassPath.java:316)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
         at sun.misc.URLClassPath.findResource(URLClassPath.java:141)
         at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
         at java.lang.ClassLoader.getResource(ClassLoader.java:977)
         at org.cubrc.gmshell.gui.MainWin.preInit(MainWin.java:152)
         at org.cubrc.gmshell.gui.MainWin.<init>(MainWin.java:135)
    The code from JarB that loads the image looks like this:
              URL[] oSearch = {Main.class.getResource("images/")};
              URLClassLoader oLoader = new URLClassLoader(oSearch);
              imgIcon = new ImageIcon(oLoader.getResource("icon.gif"));
              imgMatchRunning = new ImageIcon(oLoader.getResource("gears.gif"));
              imgMatchStill = new ImageIcon(oLoader.getResource("gears-still.gif"));
              imgMagnify = new ImageIcon(oLoader.getResource("magnify.gif"));This looks right to me and JarB certainly has an images directory with those files. But I'm in hell right now because I don't know where to place the images to make this work or if you can even attempt to load images with a dependency chain like this.
    Any help very appreciated!

    Have you tried to move your image-files out of the jar file and place them in the sam folder as the jar-file? I think that would help.
    When you try to load the image-file you get the NullPointerException because the program tries to read a file it can't find. Remember that a jar file IS a file and not a directory.
    If you want to read somthing inside the jar-file you need to encode it first.
    Have you tried to read the jar-file with winRar. It makes it easy to add and remove files in your jar-file.

  • How set Elements9 Organizer as default to upload raw images from card reader? Defaults to Lightroom

    How do I set Elements9 Organizer as my default to upload raw images from computer's  sd card reader?  It defaults to Lightroom.

    The two raw files you've uploaded to dropbox are corrupted so Lightroom and Photoshop are giving you the correct message.  At least with these two, the embedded JPG preview is there but the raw data is not correct so cannot be rendered.  Here is the error that Canon's own software gives when the files are attempted to be edited:
    You should reattempt to copy the images from the memory cards to your computer using a card reader and an operating-system function (Explorer or Finder) to do it rather than LR or a cable connected to the camera, then see if things work any better.  If you already used a card reader, then try a different one and see if the situation improves.
    If you cannot get a better set of images by retransferring them, then we can work through how to extract the embedded JPG previews en masse.

  • Getting an image from a file

    I am trying to get an image from a file
    is there a way to convert a BufferedImage into an Image?
    or otherwise get an Image directly from a file?
    my searches turn up nothing
    TIA

    okay, so here's the new code:
    //  image_tracer.java
    //  image tracer
    //  Created by Erik Schmidt on 8/21/06.
    //  Copyright (c) 2006 __MyCompanyName__. All rights reserved.
    import java.util.*;
    import javax.imageio.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.*;
    import java.io.*;
    import java.awt.image.*;
    import java.util.ArrayList;
    import java.awt.Graphics;
    import java.net.*;
    import java.applet.*;
    //FILE class, deals with File IO (note: does not possess the full method count of the java.io class File, this class only supports IO)
    class FILE {
         private static String fname=new String();
         //class constructor, takes a String as an argument, returns nothing
         public FILE(String fName){
              fname=fName;
         }//end constructor
         //gets filename, takes no argument, returns a String
         public static String getFilename(){ return fname; }
         //Reads in a file, takes no arguments, returns a String-either the contents of the file, or an error message
         public static String readFile() throws FileNotFoundException,IOException {
              String ret=new String();
              String tempstr=new String();
              File tFile=new File(fname);
              BufferedReader inFile=new BufferedReader(new FileReader(new File(fname)));
              if(tFile.exists()){
                   while((tempstr=inFile.readLine())!=null) ret+=tempstr+"\n";
                   ret=ret.substring(0,ret.length()-1);
              }else{
                   return null;
              }//end if
              return ret;
         }//end readFile
         //Writes to a file, takes a String as an argument, returns true for sucess; false for IOException
         public static boolean writeFile(String str) throws IOException{
              PrintWriter prnt=new PrintWriter(new FileWriter(fname,false),true);
              try{
                   prnt.println(str);
                   return true;
              }catch(Exception ioe){
                   return false;
              }//end try/catch
         }//end writeFile
         //Appends text to a file, returns true on completion; false on IOException
         public static boolean appendFile(String str) throws IOException{
              PrintWriter prnt=new PrintWriter(new FileWriter(fname,true),true);
              try{
                   prnt.println(str);
                   return true;
              }catch(Exception ioe){
                   return false;
              }//end try/catch
         }//end appendFile
         //Tells if file exists.  Takes no arguments, returns true if it exists, false if not
         public static boolean exists(){
              File tf=new File(fname);
              if(tf.exists()) return true;
              else return false;
         }//end exists
    }//end FILE class
    class MyPanel extends JPanel {
         Graphics save;
         Image blank;
         Image face;
         ArrayList x;
         ArrayList y;
         ImageObserver ob;
         private class MListen implements MouseMotionListener {
              public void mouseDragged(MouseEvent e){
                   x.add(new Integer(e.getX()));
                   y.add(new Integer(e.getY()));
                   repaint();
              public void mouseMoved(MouseEvent e){
                   //do nothing
         public MyPanel(Image f){
              x=new ArrayList();
              y=new ArrayList();
              blank=Toolkit.getDefaultToolkit().createImage("~/sites/blank.jpg");
              //save=createImage(500,500).getGraphics();
              face=f;
              addMouseMotionListener(new MListen());
              x.add(new Integer(-30));
              y.add(new Integer(-30));
         public void paintComponent(Graphics g){
              g.drawImage(face,0,0,ob);
              //save.drawImage(blank,0,0,ob);
              g.setColor(Color.black);
              //save.setColor(Color.black);
              for(int i=0;i<x.size();i++){
                   //save.fillOval(((Integer)x.get(i)).intValue(),((Integer)y.get(i)).intValue(),20,20);
                   g.fillOval(((Integer)x.get(i)).intValue(),((Integer)y.get(i)).intValue(),20,20);
    class WListen extends WindowAdapter {
         public void WindowClosed(WindowEvent e){
              System.exit(0);
    class MainFrame extends JFrame {
         MyPanel panel;
         JButton submit;
         JPanel main;
         public MainFrame(Image face){
              super("Image Tracer");
              setSize(750,750);
              panel=new MyPanel(face);
              submit=new JButton("Save");
              main=new JPanel(new BorderLayout());
              main.add(panel,BorderLayout.CENTER);
              main.add(submit,BorderLayout.SOUTH);
              setContentPane(main);
    class IMAGE {
         public Image run(String filename){
              return Toolkit.getDefaultToolkit().createImage(filename);
    public class image_tracer {
        public static void main (String args[]) {
              IMAGE image=new IMAGE();
              MainFrame frame=new MainFrame(image.run("~/sites/face.jpg"));
              frame.addWindowListener(new WListen());
              frame.show();
    }ignore the file stuff, that's for later
    why does MainFrame not display the MyPanel object?

  • How to upload a image or flash file as blob object in a table.

    How to upload a image or flash file as blob object in a table.
    What are all the possible ways we can do it.

    Searching the forum (or google) would be my first choice, as this question pops up every now and then.
    Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
    All I can say is that it's possible.
    Timo

  • How to use image from a file in signature appearance.

    Hi,
    I am creating a Plugin for acrobat 9, using PubSec using DocSign sample as basis. I have created the appearance using text objects and the logos data that came with the DocSign sample. But I want to use image from a file (like, jpg) in the signature appearance creation. So far the documentation doesnt tell how to achieve this.
    Can you please tell me in a  "How-to" kinda way to achieve this?
    Thanks in advance.

    Thanks for ur prompt reply.
    There are so many samples in the sdk. which one is the "sample for adding images."?

  • How to load images from css file in JavaFX 8

    I have this css file which loads images in JavaFX 8 application:
    #pill-left {
        -fx-padding: 5;
         -fx-border-image-source: url("/com/dx57dc/images/left-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
        -fx-border-image-repeat: stretch;
         -fx-background-color: null !important;
    #pill-left:selected { -fx-border-image-source: url("/com/dx57dc/images/left-btn-selected.png"); }
    #pill-left .label {
        -fx-text-fill: #d3d3d3;
        -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-left:selected .label {
        /* -fx-text-fill: black; */
        -fx-text-fill: white;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    #pill-center {
        -fx-padding: 5;
         -fx-border-image-source: url("/com/dx57dc/images/center-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
        -fx-border-image-repeat: stretch;
         -fx-background-color: null !important;
    #pill-center:selected { -fx-border-image-source: url("/com/dx57dc/images/center-btn-selected.png"); }
    #pill-center .label {
        -fx-text-fill: #d3d3d3;
         -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-center:selected .label {
        -fx-text-fill: black;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    #pill-right {
        -fx-padding: 5;
        -fx-border-image-source: url("/com/dx57dc/images/right-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
         -fx-border-image-repeat: stretch;
        -fx-background-color: null !important;
    #pill-right:selected { -fx-border-image-source: url("/com/dx57dc/images/right-btn-selected.png"); }
    #pill-right .label {
         -fx-text-fill: #d3d3d3;
        -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-right:selected .label {
        -fx-text-fill: black;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    The images are located at the Java package com.dx57dc.images
    In Java 7_25 this code works as expected but in JavaFX 8 b99 I get this error:
    ava.lang.NullPointerException
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
    at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
    at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
    at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
    at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
    at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
    at java.lang.Thread.run(Thread.java:724)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    What is the proper way to load images from css in Java 8?
    Ref
    How to load images from css file in JavaFX 8 - Stack Overflow

    There is nothing special to do - you execute the statement from your program just like any other SQL statement.  The only thing to be aware of are the privilege/permission issues:
    When loading from a file on a client computer:
    READ CLIENT FILE privilege is also required for the database user.
    Read privileges are required on the directory being read from.
    The allow_read_client_file database option must be enabled.
    The read_client_file secure feature must be enabled.
    Revoking these privileges is also the only way you can prevent a user from executing the statement.

  • How to upload an image from my computer using in-browser editing

    When I use in-browser editing to change an image on my Muse site, there is not an option to upload the image "from my computer" like it shows in the documentation.  How can my clients update an image on their Muse sites from their own computers?

    Hello Cheny,
    Please check if the suggestions made here helps resolve the issue: http://forums.adobe.com/message/5687159
    Cheers
    Parikshit

  • Copying a part of image from one file to another

    I am very new to InDesign, 2days old. I have to copy a small part of an image from one file and to paste on the other file. Is it possible? If yes, can you anybody explain me step by step?

    Welcome to the forum.
    Briefly, I would open the image in Photoshop. Crop the area you want. Size it to the finished size at (for printing) 300ppi, save it in the folder where you are going to save your InDesign document. Create a new InDesign document, choose Print for the intent, select the page size, margins, etc. save and name your document. You can place (command/control D) your image. Resizing it and positioning it to suit.
    By using a PSD file you can easily round trip back to Photoshop to make more changes.
    You should get some lessons, such as those on Lynda.com and Trainsimple.com and there are some excellent books available as well - Classroom in a Book and Visual Quickstart Guide.
    Derek

  • Editing Image From PDF File To Use in AI Document

    Hello,
    I am a beginner user of AI and am having trouble with editing certain images from PDF files on Illustrator. I'm not even sure what I'm trying to do can be done on Illustrator or requires Photoshop.
    A) Here is the first example (Note that this is only similar to the type of image I am talking about. It is not the exact one as I don't have access to it right now):
    So let's say here are the things I want to do. (1) Extract it from the PDF file, (2) transfer it to my AI document without blurriness, (3) change the white background of the image to another color (eg. grey), (4) and embolden the lines presently in the image. If you can advise what's the way to perform these tasks?
    I have used image trace at times but if the photo is too light, portions of it will vanish. The portions that do remain become way too bold. It would be great if there was a way I could make most if not each components of the image controllable/movable. Is it possible?
    Also, what if I want to erase some of the text on the image? I have tried using the eraser tool but it does not erase on images.
    B) How would I go about removing the background of a photo like this and replacing it with a color?
    Please keep in mind that I am a complete neophyte when it comes to using Illustrator, Photoshop etc so take this into consideration when explaining. Thanks in advance

    Trent,
    To make a clear and clean drawing like A), it is better to use the image as a locked template and recreate with the native tools; most things can be made with the Rectangle Tool and the Ellipse Tool, some with the Line Segment Tool or the Pen Tool; and you can use different Window>Pathfider operations.
    It is probably easier to get rid of the surroundings in B) using Photoshop where you can erase colours within a range; the grass seen through the windows may be treated by itself, and you may wish to keep the shadow.

  • Recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    importing pics from iphone to computer http://support.apple.com/kb/HT4083

  • Reading Images from JAR Files

    Hi,
    I am having a very difficult time being able to read images from a JAR file via my Applet. I have tried everything that I know about with no luck. The only way I can get this to work is to store the images individually in a sub directory of public_html on the websever. This works, but I would like the images to come down in a JAR file for performance reasons.
    I am using Internet Explorer 5.5 for my browser. I checked the options and everything seems to be in order, but......
    I would appreciate any feedback that anyone might have on this topic..........
    Thank You....

    once in a jar file i inserted a image
    the jar file on clicking starts an frame.
    so the image was for getting that image at the icon place at top and at minimized window
    i could not get that image from jar file by new imageicon().getimage();
    but i get the image if it is in the directory in which jar file is.....
    can one explain the reason

  • Extracting Images from PDF file

    Hello All,
                   I am reading PDF File.I need to extract images from PDF File programatically.But problem is that some images are stored inside PDF File using FlateDecode Filter and I need to first decode that file and then I can extract that image .I dont know the way to decode that image data.Is there any way or API to do that in C++.
    Thanks
    Aarti Nagpal

    I think you can do it through cos object in VC++ plugin..go through the PDEFilterSpec in
    Acrobat core api reference
    Be well..

Maybe you are looking for