08-24-2015
Script to convert text to image
Hi
Can someone help me writing a script to convert the texts in a text file into images for each token?
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment??
Please suggest.
Pooja (1 Reply)
Discussion started by: wadhwa.pooja
1 Replies
2. Programming
hi...... thanks for allowing me to start a discussion
i am collecting usb usage details of all users and convert it into csv files so that i can export it into some database..
the input text file is as follows:-
USB History Dump
by nabiy (c)2008
(1) --- Kingston DataTraveler 130 USB... (2 Replies)
Discussion started by: certteam
2 Replies
3. UNIX for Dummies Questions & Answers
Hello Gurus,
I have a text file containing nearly 12,000 tab delimited characters with 4000 rows. If the file size is small, excel can convert the text into coloumns. However, the file that I have is very big. Can some body help me in solving this problem?
The input file example,
... (6 Replies)
Discussion started by: Unilearn
6 Replies
4. Shell Programming and Scripting
Hi to all,
Some help here please.
I have a several image files (photos, jpg files), let say 100 photos, and a list of 100 different little comments in a text file, each comment for each image.
Somebody knows if I can add (like a watermark in the bottom) this text comments and how in the... (3 Replies)
Discussion started by: cgkmal
3 Replies
5. Shell Programming and Scripting
The 6th & 7th column of the text files represents date & time. I need this to be converted in julian format using command "date +%s -d <date>". I know the command, but dont know how to use it on the script
0 dbclstr-b IXT_Web Memphis_Prod_SQL_Full Memphis-Prod-SQL-Full-Application-Backup... (4 Replies)
Discussion started by: ajiwww
4 Replies
6. Shell Programming and Scripting
Hello everyone,
I have a binary file with a structure unknown. I have found 2 perl scripts that it seems to do the convertion but I get sintactic errors when I run them, may somebody test these 2 scripts please and see if really work?
One if from here... (10 Replies)
Discussion started by: Ophiuchus
10 Replies
7. Windows & DOS: Issues & Discussions
I hope someone could help me. I tried to create a barcode image using Visual Studio and then want to convert this barcode images to PDF files.
When I preview this in VS, the barcode image exists, however when converted it to pdf, it disappeared. Did I do anything wrong? :confused: (4 Replies)
Discussion started by: aspbarcode
4 Replies
8. Shell Programming and Scripting
Hi Folks,
Could you please share your ideas on extracting text from image file(jpg,png and gif formats).
Regards,
J (1 Reply)
Discussion started by: scriptscript
1 Replies
9. Shell Programming and Scripting
Hi Everyone,
I want your help to write a script which will take text file as input and on the basis of delimiter ":"script will create excel sheet.
Example input:
IpAdress:InstanceName:Port:ServerName
10.255.255.1:abc:2232:xyz_abc
Output should be an excel sheet like below:
Column... (8 Replies)
Discussion started by: akabhinav18
8 Replies
10. Web Development
I want to show a page with an image between 2 any paragraphs.
I tried the following script.
But the image is not centered.
SUSE Paste
<!DOCTYPE html>
<html>
<head>
<style>
center.center_1 {
margin: auto;
width: 60%;
... (3 Replies)
Discussion started by: jcdole
3 Replies
LEARN ABOUT DEBIAN
qwtplaintextengine
QwtPlainTextEngine(3) Qwt User's Guide QwtPlainTextEngine(3)
NAME
QwtPlainTextEngine -
A text engine for plain texts.
SYNOPSIS
#include <qwt_text_engine.h>
Inherits QwtTextEngine.
Public Member Functions
virtual void draw (QPainter *painter, const QRect &rect, int flags, const QString &text) const
virtual int heightForWidth (const QFont &font, int flags, const QString &text, int width) const
virtual bool mightRender (const QString &) const
QwtPlainTextEngine ()
virtual void textMargins (const QFont &, const QString &, int &left, int &right, int &top, int &bottom) const
virtual QSize textSize (const QFont &font, int flags, const QString &text) const
virtual ~QwtPlainTextEngine ()
Detailed Description
A text engine for plain texts.
QwtPlainTextEngine renders texts using the basic Qt classes QPainter and QFontMetrics.
Constructor & Destructor Documentation
QwtPlainTextEngine::QwtPlainTextEngine ()
Constructor.
QwtPlainTextEngine::~QwtPlainTextEngine () [virtual]
Destructor.
Member Function Documentation
void QwtPlainTextEngine::draw (QPainter *painter, const QRect &rect, intflags, const QString &text) const [virtual]
Draw the text in a clipping rectangle. A wrapper for QPainter::drawText.
Parameters:
painter Painter
rect Clipping rectangle
flags Bitwise OR of the flags used like in QPainter::drawText
text Text to be rendered
Implements QwtTextEngine.
int QwtPlainTextEngine::heightForWidth (const QFont &font, intflags, const QString &text, intwidth) const [virtual] Find the height for a given
width
Parameters:
font Font of the text
flags Bitwise OR of the flags used like in QPainter::drawText
text Text to be rendered
width Width
Returns:
Calculated height
Implements QwtTextEngine.
bool QwtPlainTextEngine::mightRender (const QString &) const [virtual] Test if a string can be rendered by this text engine.
Returns:
Always true. All texts can be rendered by QwtPlainTextEngine
Implements QwtTextEngine.
void QwtPlainTextEngine::textMargins (const QFont &font, const QString &, int &left, int &right, int &top, int &bottom) const [virtual] Return
margins around the texts
Parameters:
font Font of the text
left Return 0
right Return 0
top Return value for the top margin
bottom Return value for the bottom margin
Implements QwtTextEngine.
QSize QwtPlainTextEngine::textSize (const QFont &font, intflags, const QString &text) const [virtual] Returns the size, that is needed to
render text
Parameters:
font Font of the text
flags Bitwise OR of the flags used like in QPainter::drawText
text Text to be rendered
Returns:
Caluclated size
Implements QwtTextEngine.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 5.2.2 Mon Aug 1 2011 QwtPlainTextEngine(3)