How to read the stored images
hi
i have images in my table img,
i want to know how toretreive that stored image
i have images in my table img
> i want to know how toretreive that stored image
How to retrieve it depends on how it is stored? What is the data type? Is it perhaps a blob (large object in binary format)? If so check out the package dbms_lob and read Application Developer's Guide - Large Objects. If not connect to your database using sql plus to publish the data type for the image column from the command "describe img".
Similar Messages
-
ECC5 How to read the stored value from Team Viewer
Hi,
How can I pick up the stored value from the team viewer from within ECC5?
I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE' to read mem id MSS01 but this doesn't exist in ECC5.
All help appreciated.
RobHi,
How can I pick up the stored value from the team viewer from within ECC5?
I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE' to read mem id MSS01 but this doesn't exist in ECC5.
All help appreciated.
Rob -
How to read the and Write the PDF file give me the solution
Hi all,
How to read the and Write the PDF file give me the solution
My coding is
import java.io.File;
import com.asprise.util.pdf.PDFImageWriter;
import com.asprise.util.pdf.PDFReader;
import java.io.*;
import java.io.FileOutputStream;
public class example {
// public example() {
public static void main(String a[])
try
PDFReader reader = new PDFReader(new File("C:\\AsprisePDF-DevGuide.pdf"));
reader.open(); // open the file.
int pages = reader.getNumberOfPages();
for(int i=0; i < pages; i++) {
String text = reader.extractTextFromPage(i);
System.out.println("Page " + i + ": " + text);
// perform other operations on pages.
PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("c:\\new11.pdf"));
writer.open();
writer.addImage("C:\\sam.doc");
writer.close();
System.out.println("DONE.");
reader.close();
catch(Exception e){System.out.println("error:"+e);
e.printStackTrace();
I get the pdf content then it returns the string value but ther is no option to write the string to PDF, and we only add a image file to PDF,but i want to know how to wrote the string value to PDF file,
Please give response immtly
i am waiting for your reply.
thanks,
Suresh.GI have some question flow
How library to use this code.
I try runing but have not libary.
Please send me it'library
Thank you very much! -
How to read the whole name of a music title while scrolling down a list of titles? The old software-app had the function to click for a longer time on a titles beginning letters until a black box revealed the entire name. I miss this function especially for my classical music, because lots of pieces start with similar words. E.g.:
"Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 1"
"Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 2"
Scrolling in a list of title, I can't distinguish the titles, because just the first words are shown followed by: "...".
That's horrible!Or you could include a width to your body style:
body {
background-image: url(Logo/sky1.jpg);
background-position: center center;
background-attachment: fixed;
width: 75%;}
It might work or not depending on your other color scheme. -
How to get the full image directory when i upload the image to web page???
hai, how to get the full image directory when i upload the image to web page???
here is the example:
<form action="uploadfile.jsp" method="post">
image<input type="file" name="image" />
<input type="submit" value="submit"/>
<%
String s=request.getParameter("image");
%>
<%=s%>
</form>
i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html -
How to read the selected row value of a table node
hi
i have a node of table type, displaying few records & with each record a NEXT button is there.
now i want to read the values of the selected row of the table & want to process next with NEXT button.
pls tell me how to read the values of the selected row only.
reds.data : lo_nd type ref to if_wd_context_node,
lo_nd1 type ref to if_wd_context_node,
lt_temp type wdr_context_element_set,
wa_temp type ref to if_wd_context_element,
ls_node1 type sflight,
lt_node1 type STANDARD TABLE OF sflight.
lo_nd = wd_context->get_child_node('CN_MAIN').
CALL METHOD lo_nd->get_selected_elements
RECEIVING
set = lt_temp.
loop at lt_temp INTO wa_temp.
CALL METHOD wa_temp->get_static_attributes
IMPORTING
static_attributes = ls_node1.
APPEND ls_node1 TO lt_node1.
CLEAR ls_node1.
ENDLOOP.
'CN_MAIN' is the node whose selected values are to be picked and stored in internal table lt_node1.
Other option by Thomas :
DATA lo_nd_cn_main TYPE REF TO if_wd_context_node.
DATA lt_temp TYPE wdr_context_element_set.
FIELD-SYMBOLS <wa_temp> LIKE LINE OF lt_temp.
DATA lt_node1 TYPE wd_this->elements_cn_main.
FIELD-SYMBOLS <ls_node1> LIKE LINE OF lt_node1.
lo_nd_cn_main = wd_context->get_child_node( name = wd_this->wdctx_cn_main ).
lt_temp = lo_nd_cn_main->get_selected_elements( ).
LOOP AT lt_temp ASSIGNING <wa_temp>.
APPEND INITIAL LINE TO lt_node1 ASSIGNING <ls_node1>.
<wa_temp>->get_static_attributes( IMPORTING STATIC_ATTRIBUTES = <ls_node1> ).
ENDLOOP. -
How to read the 'Input help with fixed values' of domain .
How to read the 'Input help with fixed values' of domain .
The domain has a Value range i want to read those values .
Are these values stored in any table ?
Plz help me i need it ver badly...
Thanks in Advance...Hi Chandra Shekhar,
To read the 'Input help with fixed values' of domain , you can use the function module : HR_P_GET_FIXED_VALUE_TEXT.
iIf you enter the domain name, you will find the fixed values entered in the domain.
These values are stored in a table DD07L(DD zero 7 L). Here the values are stored based on domain name.
See if it works for you.
Award points if its helpful.
Regards,
Bhanu -
How to read the BOL of confirmed BP on IC?
Hi Experts,
Could you tell me (or send me a piece of code) how to read the business partner number and address of the confirmed BP on Interaction Center?
What is the right BOL object? Where is this data stored? How can I gain this information in runtime?
Thank you for your reply!
Best regards,
Leventehi levente,
here my piece of code
data:
lv_number TYPE BU_PARTNER,
lo_gdc TYPE REF TO IF_CRM_UI_DATA_CONTEXT,
lo_customer TYPE REF TO if_bol_bo_property_access.
* get GDC
lo_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
check lo_gdc is bound.
* get confirmed customer of GDC
TRY.
lo_customer = mo_gdc->get_entity( if_iccmp_global_data_cont_con=>gdc_currentcustomer ).
lv_number = lo_customer->get_property_as_string( 'BP_NUMBER' ).
CATCH cx_root.
ENDTRY.
best wishes,
hakan -
I want to read the raw image file , i have the basic labview 8.0 version
That is a broad question... I'll make some asumptions.
I think you have a file with some raw image format. This can be quite a few formats. Every camera firm has it's own proprietry format. Often, when talking about a raw image, it is simply a 2d array of colors. So you'll have a file with numbers that are U8's that represent R G B, alpha R G B, B G R, etc., or a U32 that represent the same, combined in one U32...
The data can be stored binary or ASCII. Both formats are handled differently.
The ASCII format can be one large array of data, or seperated with enters for each scan line.
In both cases, you might need to remove information, like height and width, from the data before parsing the image data.
You can use the "Spreadsheet String To Array" to convert the a ASCII string to a LabVIEW 1D or 2D array. Or use "Read From Spreadsheet File.vi" to read the file directly as an array. Use Reshape Array to convert a 1D array to a 2D array.
The binary file is a bit different. Use "Read Binary File". It will get you a string. This string is a converted array of U8, the string doesn't need to be ASCII. convert this string to an array of U8's, with "String To Byte Array". Convert the 1D array just like before.
Now you have a 2D array. You can convert it into a pixmap with "Flatten Pixmap.vi". You can then display it in a picture control with "Draw Flattened Pixmap.vi".
Regards,
Wiebe. -
PC Users cannot read the JPG images attached to my emails
Several users of PC's, running Vista or Win 7, have difficulties to read the JPG images attached to my emails. All they see is an endless list of numbers and signs (in fact the binary data of the image).
The problem can only be solved by zipping the images.
is this due to a setup option in MAIL, or do you know how to solve this issue?
PatrickIf I had to guess, I would bet that your images do not have a ".jpg" or ".jpeg" extension on the end. This is how PCs identify the file - and Macs, too, these days, unfortunately. You also should make sure that Edit -> Attachments -> Always Send Windows-Friendly Attachments is checked.
-
I was using photoshop CC as normal, when suddenly it started going haywire. It has corrupted all the open PSD files by distorting the images and colour. They are now completely unrecognisable and unusable. Does anyone know how to recover the original images as I was saving them as I went along but the files are now corrupt?
What version of Photoshop are you running?
I've seen a couple of instances over the last week or two where Photoshop has added masks, strange colours and also merged content from two separate PSD files that were open at the same time.
This has occurred on two different iMacs, (both 10.10.x) running Photoshop CC 2014.2.2 (20141204.r.310 x64).
see image below for example: -
How to read the AFP file in hex format
hi,
I am reading a AFP file in hexstring format.But it is out put is not perfect means it is showing output close to the real one.
How to read the file so taht i can get exact output in hex format.
try{
File inputFile = new File( "C:\\ACode\\afpfile.afp" ) ;
File outputFilehex = new File ( "C:\\ACode\\Hex.txt" ) ;
FileInputStream inputStream = new FileInputStream( inputFile );
Reader in = new InputStreamReader(inputStream,"Cp1252");
BufferedReader readableFile = new BufferedReader( in ) ;
FileOutputStream outputStreamhex = new FileOutputStream( outputFilehex );
Writer outhex = new OutputStreamWriter(outputStreamhex);
BufferedWriter writableFilehex = new BufferedWriter( outhex ) ;
int line;
String hext=new String();
while ((line= (readableFile.read()))!=-1)
writableFilehex.write(Integer.toHexString(line).toUpperCase());
} writableFilehex.close() ;
readableFile.close() ;
catch( IOException e ) {
System.out.println( e.getMessage() ) ;
while reading i am getting most of hex charters are same except some places like instead of taking 00 its writing 0 and instead of f8 its writing fff.
AFP is a IBM format for printing. Somehow i will be able to read that but how to covert it back to that format and store to that file.
by trying is just storing data in hex format only
Writer outhex = new OutputStreamWriter(outputStreamhex,"Cp1252");
is there anyother way to store it back to this format -
How to read the content in one node of XML in Java? Pls help
My dear brothers,
I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
1. Create a GUI form which gives the ability for user to choose a XML file (ok)
2. Load XML and return the file (ok)
3. Read the file from node to node to create the node in Tree View (?!)
Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
Hoang Yen BinhI hope this one helps you.
<ABC Type="ProductBased" ProdName="One" Location="India">
<CEO>Raj</CEO>
<Finance>Vikram</Finance>
<HR>Karthik</HR>
<Technical>Satish</Technical>
</ABC>
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Attr;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import java.io.File;
import java.io.IOException;
public class XmlReading {
Document doc;
Element element;
public static void main(String[] args) throws Exception{
XmlReading xr = new XmlReading();
xr.getXmlParser(args);
public void getXmlParser(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
if(args.length != 1) {
System.err.println("Argument Required");
try {
DocumentBuilder builder = factory.newDocumentBuilder();
doc = builder.parse(new File(args[0]));
}catch(ParserConfigurationException e1) {
}catch(SAXException e2) {
}catch(IOException e3) {
getAttributes();
public void getAttributes() {
// Retrive the entire Document from the Dom Tree
element = doc.getDocumentElement();
// System.out.println(element);
NamedNodeMap attrs = element.getAttributes();
// Get number of attributes in the element
int numAttrs = attrs.getLength();
// Process each attribute
for (int i=0; i<numAttrs; i++) {
Node node = attrs.item(i);
// Get attribute name and value
String attrName = node.getNodeName();
String attrValue = node.getNodeValue();
System.out.println(attrName + ": " + attrValue);
String s1 = element.getTagName();
System.out.println(s1);
// To get all the elements in a DOM Tree
NodeList nl1 = element.getElementsByTagName("*");
int i2 = nl1.getLength();
System.out.println(i2);
for(int i=0; i<i2; i++) {
System.out.println(nl1.item(i) + "\n");
} -
How to read the data in excel sheet
Dear sir,
How to read the data in excel sheet when i recieve a data serial communication... ie i have store a data in excel such that
Cell A Cell B
A Apple
B Ball
C Cat
D Doll
when i recieve A from serial communication i have to display Apple, and when i recieve B i have to display Ball and so on..Hi,
I would recommend you to have a look at the VI attached. It makes use of a VI named 'Read from Spreadsheet' to read the row and column data from the tab delimited excel file. The read data is then searched for the Alphabet specified and finally returns you the corresponding string. The test file used to validate the operation of the VI is also attached.
Trust this would help you solve the issue.
Regards,
Sagar G Yadav | Application Engineer | National Instruments
Attachments:
read_from_excel.vi 10 KB
Book1.txt 1 KB -
How to read the file from a folder.
Hi All,
How to read the file from a folder or directory from the non sap server / remote server.
Regards
Sathisopen dataset filename for input in text mode
encoding default.
filename is character type variable with the destination filename.
Edited by: Jino Augustine on Apr 19, 2010 1:31 PM
Maybe you are looking for
-
Customer Outstanding line item reversal
Hi Experts... As per Clients requirement we developed a report for customer Outstanding Payments. Which will displays the customers bills sequential. When ever they receive money post the transactions as per Outstanding bill wise. Now my problem is
-
In HR ABAP WHAT IS DYNAMIC ACTIONS? GIVE ME ONE EXAMPLE?
DEAR EXPERTS in HR ABAP WHAT IS DYNAMIC ACTIONS? GIVE ME ONE EXAMPLE?
-
Trial version of PS5 Extended w/ PS5 standard already installed?
Greetings - I've recently discovered some photo edting features using smart objects that - if they work as well as demonstrated - would be enough to get me to upgrade from the standard version of CS5 to the Extended version. Problem is that both vers
-
All my sent mail is marked as junk for some reason. I've reset the junk mail filters, etc., but it is still marked. Any ideas?
-
My iPhone5 is stuck after having installed ios8
Hi! I've installed ios8, iTunes said me my iPhone was good to... it was installed in my iPhone at the end of the process the white screen with the apple has come and it has never left in the last hour. I tried to reinitialize it clicking on/off butto