text « Media File « Java I/O Q&A





1. How do I use Apache POI to read a .DOC file in Java to separate images from text?    stackoverflow.com

I need to read a Word .doc file from Java that has text and images. I need to recognize the images & text and separate them into 2 files. I've recently heard ...

2. How to use Apache HWPF to extract text and images out of a DOC file    stackoverflow.com

I downloaded the Apache HWPF. I want to use it to read a doc file and write its text into a plain text file. I don't know the HWPF ...

3. Read text from image file in Java    stackoverflow.com

What is the best open source Java library that I can use to extract text from an image (JPEG, PNG) files?

4. How to read bold or colored text or fonts from a DOC file using java?    stackoverflow.com

i want to read bold or colored fonts from a .doc file using java. Can any body help me? Thanks in advance. Ambrose Dev

5. How to extract chapter number in .doc file with text?    stackoverflow.com

I use Apache POI HWPF to extract .doc file, I found that the extracted text has no Chapter number? Can POI extract the chapter number with the text?

public void readDocFile() {
 ...

6. how to display the contents of a text file in powerpoint using a macro    stackoverflow.com

i'm trying to make a powerpoint, and I have lots of text that I want to be displayed, is there a way to use a macro to read a document into ...

7. How to get text in png file using Java    stackoverflow.com

I want to check if particular string is present in the image. Is that possible? Is pngj can do that? My file will contain a graph and some legends. ...

8. Convert Text to audio file like .wav or .au in java    stackoverflow.com

i want to create audio file using text. in this case i tried AudioOutputStream and AudioSystem.write() methods this way audio file created but problem in running. so if any idea that ...

9. What libraries are available for analyzing audio files for spoken keywords and/or speech to text?    stackoverflow.com

I'm a super-hero in my off-time and I'm trying to build an application that analyzes audio for spoken keywords. (Think emergency/911 calls) If a keyword is "robbery", and that word ...





10. How to read a text from image file :java    stackoverflow.com

Possible Duplicate:
Java OCR package
Hello,How to read particular text from an image file(png/jpg/etc)

11. Speech to text from wav file    stackoverflow.com

Is it possible to input a wav file to the Java Speech API?

12. Speech to text from wav file Java    stackoverflow.com

is it possible to recognize wav file from java is it possible with cloudgarden java speech api their is a sample code from cloudgarden example, any change is need for our ...

13. Does iText create image-based or text-based PDF files?    stackoverflow.com

I currently use iText for PDF generation and I am having difficulty determining if the PDF files generated with iText are text-based or image-based once generated. Is there an easy ...

14. How to write large amount of text using POI hwpfdocument in a .doc file in java    stackoverflow.com

I am new to POI API and therefore, whenever I am using the HWPFDocument class to write down text in a .doc file created by the HWPF Document, the resulting doc ...

15. Unable to change Font Color of text while writing to excel file using Java    stackoverflow.com

I have a requirement to take the test data from Excel sheet and write test result as Pass/Fail in another Excel sheet. I am using SeleniumRC+Java+Eclipse+Junit. How can i change font color of ...

16. Sending image as text in java    stackoverflow.com

Is it possible to read image as text and send it over network? Is yes, then how can we do this?





17. Java Scanning of Text Copied From .doc file to .txt or .rtf file Throws "java.util.NoSuchElementException: No line found" Exception    stackoverflow.com

Basically, what I do is copy text from a Word document (97-2003 Word Doc) to a text file or rich text file, and the Java scanning utility doesn't like it for ...

18. How do I save an image, or text file for later use?    stackoverflow.com

How do I save an image, or text file for later use?(writing and creating a file)

19. Steganography (writing text into a png file) doesn't work?    stackoverflow.com

I have a program for writing a text file to a png file, but it doesn't work - the image, when I decode it, returns the incorrect characters and sometimes the ...

20. is it possible to convert jpg to text file in java    bytes.com

Are you saying, you have a jpeg showing text which you want to read and then save as a word file? If so, that's going to take some heavy coding. Text ...

21. Text to Image to file    coderanch.com

Sorry guys if I am posting it in the wrong forum. I am trying to convert a text value (String) to an image (.jpg). My program seems to be working somewhat. It's creating a blank (whiite background) .jpg file, without my string value "Saidul Islam". I can open the file in any image editor. it just doesn't have the string I ...

22. how to read in text and images and write them out?    coderanch.com

I don't know if this is possible.I need some help. Let say I have a class 'Employee'.It contains fields like name, id etc. The problem is with the field 'picture'. I know how to read in the regular text and write them out. But how do I read in each image of the employee so that when the ID is typed, ...

23. Images and Text Files    coderanch.com

I don't understand how a JApplet can access images on the server it is in using a ClassLoader, but when it comes to accessing a simple text file, it can't easily be done. Is there any easy way to read a simple text file on a server without using signed applets or policy files? Thanks for any help, its much appreciated ...

24. How to parse a combination file that contains text and image?    coderanch.com

Thanks William. I tried to think how to organize my question. O.K. the file that I need to crack as follows: I read them in bytes. And only extract the ascii so far. I don't know how to due with the binary byte that has value in hex. Any of your input is very valuable to me. Thank you very much. ...

25. how to handle the text which is copied from doc file    coderanch.com

hi, here is a strange problem with special characters which are copied from the microsoft document file to a textarea . yes, there is a difference in copying from word file and direclty typing the text into the text area for example if we copy single quote and double quote from a word file into text area and if we insert ...

26. Text File to JPG file conversion using Java    coderanch.com

Can any body tell me how can we convert a text file to a JPEG file using java.. I want it to be converted into a single 800x600 JPEG image whatever the size of the text file.. moreover there must not be any alignment problems.. i ve tried the PSP image creation, but it does save text as a number of ...

27. Putting text in an image file    coderanch.com

I agree that this may not be the best topic for a beginner to cut his teeth on, but here's Sun's tutorial: http://java.sun.com/docs/books/tutorial/2d/index.html And here's the Hello World program: import java.awt.*; import java.awt.font.*; import java.awt.geom.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; public class HelloWorld { public static void main(String[] args) throws IOException { File file = new File("temp.jpeg"); String message = ...

30. how to read .rtf, search and replace text, and write/print .rtf!    coderanch.com

So i am in the process of writing a GUI based app that has multiple jTextField and jTextArea inputs that i wish to put in specific places in 4 separate .rtf files. I have essentially completed the gui, and am now attempting to implement the read file, search file, replace/insert text, write/print file aspects of the app... it is here that ...

31. How can I read a text from an image file ?    coderanch.com

Hi Lester, many many thanks for the useful responce. I need some more details on your post to go ahead. a) what is OCR package ? can i download it from internet ? b) what is Tesseract. ? Could you give me some examples on the issue? Thanks again for the reply. Regards Gautam

32. Text file xls to Binary format xls in Java.    coderanch.com

Hi, May be I was not able to specify you properly. I create a excel file using cognos SDK. It creates .xls file but it's text xls file rather than binary xls file. when I open the file and try to save as I se as as in attached snap shot. Please take a look at it and let me know ...

33. Image file to Text Conversion    java-forums.org

34. Text read and write between *.txt file and *.xls file    java-forums.org

I am new to java and netbeans. I have already picked up the necessary concepts and basic programming skills in Java. I am now trying to do a specific java application which does the following things. This file might look lil dumb. but please consider it as an example. tasks: I have an input file (*.txt) and a database file (*.xls). ...

35. how to open mp3,jpg or any other media or text file    java-forums.org

hi,i'm writing a program that accepts the file path to a file. what i'd like to know is how do i open that file, where it be a mp3 file that would open in media player or a doc file that would open in MS word or any other file and the corresponding program to open it. thanks in advance

36. convert text into wav file    forums.oracle.com

37. convertion of word doc file in to text file    forums.oracle.com

Hi i am converting word doc file into text using poi. i am sucessfully conveted the word doc in to text file. here i do have one proble POI is not supported by 2007 word format which is there in docx.if i save word with 03 then it is possible.it is saying that OLE exception in that case. one more thing ...

38. can we convert text data into audio file    forums.oracle.com

39. File conversion - wordDoc, Tiff, TextFile ,Bmp, Gif, Jpeg ,PptDoc TO -> PDF    forums.oracle.com

// close the connection connection.disconnect(); /******************************************************************************/ System requirements JRE 1.5 apache-tomcat-6.0.20 Operating System windows Xp for development , production - Linux How can I create a connection pool? Is there any other known package to convert office documents to pdf? Does someone have a batter idea, maybe to avoid conversion at all? Lets assume that I would like ...

40. Problem with reading text from .DOC files through java and POI    forums.oracle.com

* jscan.sess_applet_act.sig_blacklisted: block* * jscan.session.daemon_protocol: http* * net.connect_src: true* * jscan.sess_applet_act.unsigned: instrument* * mmc.sess_pe_act.block_unsigned: false* * file.destructive.state: disabled* * mmc.sess_cab_act.block_blacklisted: true* * window.num_max: 5* Below the above messages/warnings the data is getting printed. Only the text part of the data is retrieved not the fonts, styles and bullets etc. Can anyone explain me why I am getting above warnings and how ...

41. Transform a text into an audio file    forums.oracle.com

Hello I want to know if there is a java library that I can use in order to transform a text, which is kept in a String variable, into an audio file (such as mp3 or wav). I would also like to change voice pitch and speed. Summarizing, I have been reading about VoiceXML and I want to know if there's ...

42. writing image and Text to a word file    forums.oracle.com

Do I understand you correctly? Are you trying to create a MS Word format type file and insert text and graphics? If so, I believe that this is quite a big undertaking and will require the help of non-standard libraries for writing to MS Word type files. These can be found on Google. If this is not what you are trying ...

44. Wav files, Contours, and Text    forums.oracle.com

I am currently working on a project where I need to write text on a contour line that is the representaion a wav file. In other words, the wav file is some phrase and that phrase has some type of contour (for pitch, duration, intensity, etc.). Then I need to write the words (that were said in the wav file) to ...

45. how can i merge Text + Image File in Java?    forums.oracle.com

Hi guys, how can i merge Text + Image File in Java? i need to write a program which will take text as input (from DB) + Image(gif,jpeg etc) and create an image file which will have both... i tried like, first created bufferedimage object for the original image, then i am using drawString() to merge the text... If you look ...

46. OpenOffice Api Problem(Doc file convert into Text file)    forums.oracle.com

/** This class implements a http servlet in order to convert an incoming document * with help of a running OpenOffice.org and to push the converted file back * to the client. */ public class ConverterServlet extends HttpServlet { /** Specifies the temporary directory on the web server. */ private String stringWorkingDirectory = System.getProperty( "java.io.tmpdir" ).replace( ' ', '/' );

47. saving xls file as UTF text file    forums.oracle.com

I'm using this but i'm facing a prob. When i read a sheet, and iterate over rows using rowIterator, its iterating the rows in order i.e 0,1,2, ... but whn i use cellIterator to iterate over cells of a row, its iterating over cols in random order but consistent with all rows i.e for all rows cells will be read in ...

48. How to append Data(Image+Text) to existing .word file?    forums.oracle.com

hi! many thanks for ur solution,but this gives rise to a new problem.The data that is already in the file cannot be accessed.ie.there is no way i can get the handle to this data. The data in file is in tabular format .Each table has cells which contains some value,which i have to modify whenever new data has been appended.So for ...

49. Appending data(Image and Text) to a file written with RTFWriter2.    forums.oracle.com

I have file witten using RTFWriter2 which contains image and text.I nedd to modify the contents of that file at runtime through browsing and selecting the JFileChooser and append the data to existing selected file. I write inot the file for the first time using FileOutputStream("filename",ture) where true stands for appending data to current file,if does noes have any/not. But this ...

50. read doc or text file    forums.oracle.com

Yes, I do mean a Word document, and I'm parsing the text file with the StringTokenizer. I basically got this idea because I have a lot of files to parse, they're all .doc files and it's a real pain to convert them to text every time I want to check one. My Batch Conversion wizard in Word doesn't seem to work, ...