473,288 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,288 software developers and data experts.

convert image to text

I am interested in developing an online utility that will enable users
to
copy and past any image (or upload any image on the internet) to the
online utility, which will then convert the image to text.
The user may "convert image to text" and copy and paste the text
displayed into any word document, or send the text displayed to the
recipient's email address or can download the text file as a zipped
text file that will be presented to the user as a small zipped text
file icon.
The user can also enter a passcode for the text file. This will
scramble the text according to a calculation. The recipient of the text

file will then need to go to the online utility, paste in the text, and

press "convert to image" to see the original image that the sender had
converted into text.
If a password was set at the time of production then it will be
required before the image can be restored from the text.
The utility could be sold as a browser add-on or as a downloadable
utility which will enable any image on the internet to be converted to
text simply by right-clicking on it and selecting "convert to text"
from the context menu.
The image on our website is 500 x 375 pixels @ 145 kb. The same image
converted to a string of characters (representing paletted colours
between 0 -256) can be saved as a zipped text file of less than 2 kb
with no loss in quality when the file is converted back to an
image.
Would anyone wish to promote this utility?
John Aidiniantz
AMW Security Ltd
www.amw1.com/image-converter

Feb 15 '06 #1
5 9581
Socrates wrote:
<snip>
The image on our website is 500 x 375 pixels @ 145 kb. The same image
converted to a string of characters (representing paletted colours
between 0 -256) can be saved as a zipped text file of less than 2 kb
with no loss in quality when the file is converted back to an
image.


If the idea is original, indeed very great. But, if I'm right,
there is similar stuff. BTW, instead of promoting it as a service over
the 'net, why not promote the file format?

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Feb 15 '06 #2
d
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Socrates wrote:
<snip>
The image on our website is 500 x 375 pixels @ 145 kb. The same image
converted to a string of characters (representing paletted colours
between 0 -256) can be saved as a zipped text file of less than 2 kb
with no loss in quality when the file is converted back to an
image.
If the idea is original, indeed very great. But, if I'm right,
there is similar stuff. BTW, instead of promoting it as a service over
the 'net, why not promote the file format?


The file format is called an 8-bit bitmap, surely...
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Feb 15 '06 #3
On Wed, 15 Feb 2006 06:43:33 -0800, Socrates wrote:
I am interested in developing an online utility that will enable users
to
copy and past any image (or upload any image on the internet) to the
online utility, which will then convert the image to text.
The user may "convert image to text" and copy and paste the text
displayed into any word document, or send the text displayed to the
recipient's email address or can download the text file as a zipped
text file that will be presented to the user as a small zipped text
file icon.
The user can also enter a passcode for the text file. This will
scramble the text according to a calculation. The recipient of the text

file will then need to go to the online utility, paste in the text, and

press "convert to image" to see the original image that the sender had
converted into text.
If a password was set at the time of production then it will be
required before the image can be restored from the text.
The utility could be sold as a browser add-on or as a downloadable
utility which will enable any image on the internet to be converted to
text simply by right-clicking on it and selecting "convert to text"
from the context menu.
The image on our website is 500 x 375 pixels @ 145 kb. The same image
converted to a string of characters (representing paletted colours
between 0 -256) can be saved as a zipped text file of less than 2 kb
with no loss in quality when the file is converted back to an
image.
Would anyone wish to promote this utility?
John Aidiniantz
AMW Security Ltd
www.amw1.com/image-converter


Not me.

Seeing as images are about as compressed as they can be, I rather doubt
that this will work. And converting a 32bit image into a 256 colour one
will certainly cause a degradation in quality.

Also, all images are converted into ascii when mailed anyway, so it's
nothing really new, is it?

Feb 15 '06 #4
On Wed, 15 Feb 2006 06:43:33 -0800, Socrates wrote:
The image on our website is 500 x 375 pixels @ 145 kb. The same image
converted to a string of characters (representing paletted colours between
0 -256) can be saved as a zipped text file of less than 2 kb with no loss
in quality when the file is converted back to an image.


You are selling yourself short! Use a better compressor than zip.
Whatever magic encoding you use (and I use the word "magic" deliberately)
produces lots of repeated strings so the bzip2 utility can take your 110K
text encoded image and compress it to just 228 bytes (yes 228). Imagine
that, a 183K palleted image compressed to 228 bytes entirely without loss
of data. [Actually, zip compressed it to 892 so I don't know where your
2K comed from -- maybe you thought <1K would look suspicious?]

When is the CACM paper comming out? ;-)

--
Ben.

Feb 15 '06 #5
On Thu, 16 Feb 2006 06:17:27 +1300, Steve wrote:
Seeing as images are about as compressed as they can be, I rather doubt
that this will work.
:)
And converting a 32bit image into a 256 colour one
will certainly cause a degradation in quality.


You are too harsh!! I can't see any reason why whatever they do could not
work on colour separations. If so a 500x375 32bit image (732K) should
compress to ~4 x 228 = 912 bytes without loss. Stunning, surely? ;-)

--
Ben.

Feb 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Toby Mathews | last post by:
Hi, In an ASP.Net application I want to convert open create a FileStream object from a System.Drawing.Image - is this possible? I create an instance of an Image object using the FromFile method,...
0
by: Nicolas Guilhot | last post by:
Hi all ! I have a multi-page Tiff image file that I want to convert to PDF. To do so I am using iText library. The conversion is working, but the code execution is very different according to...
1
by: mevar81 | last post by:
Hello to everybody.I have a problem.I used a TypeDescriptor to retrieve a TypeConverter to convert an Image to a string.The problem is that it converts the image to the string...
3
by: dale zhang | last post by:
Hi, I am trying to read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp The article author is using PictureBox for windows...
4
by: dale zhang | last post by:
Hi, I am trying to save and read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp Right now, I saved images without any...
1
by: Daniel | last post by:
I have looked everywhere on the web for an answer to this and the only thing I can find is converting the image format when the file is present on the local filesystem. What I want to do is use a...
2
by: UJ | last post by:
I have need to convert a text string (with formatting) to an image. This is so that I can resize the image to different sizes and the formatting stays exactly the same regardless of the size. I...
5
by: stef | last post by:
hello I can find all kind of procedures to convert an array to a bitmap (wxPython, PIL), but I can't find the reverse, either - convert a bitmap to an array or - read a bitmap file to an...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.