473,387 Members | 3,801 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,387 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 9594
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.