473,898 Members | 3,235 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Concatenate, conjoin, meld, extract images

I'm looking to use an image of letters and numbers, whereby I
need a way to extract each letter and number to create random
strings, then combine/conjoin/meld/mesh/merge/unify/unite the
images into one one image.

Is it better to extract each individual letter from one image and
then create the new image or is it better to use 36 different
images of different names and then create the image from that?
And can anyone provide any help in this regard?

And I imagine however, that 50 selected letter sequences works
stored in 50 separate images works better and faster than having
PHP on the server do it, but that might depend upon the processor
on the server as well.

There's a word which describes what I want to accomplish but it
wants to hide in the recesses of my mind, and basically I want to
ask the end user to type in the letters in the image presented to
verify that the email coming through came through via a human
reader rather than a robot.

Thanks for any suggestions and/or comments.

Jim Carlock
Post replies to the group.
Mar 30 '06 #1
5 2625
Message-ID: <Zv************ ********@tornad o.tampabay.rr.c om> from Jim
Carlock contained the following:
There's a word which describes what I want to accomplish but it
wants to hide in the recesses of my mind, and basically I want to
ask the end user to type in the letters in the image presented to
verify that the email coming through came through via a human
reader rather than a robot.


Captcha

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Mar 30 '06 #2
Jim Carlock wrote:
And I imagine however, that 50 selected letter sequences works
stored in 50 separate images works better and faster than having
PHP on the server do it, but that might depend upon the processor
on the server as well.


That won't work at all, since a bot could just look at the filename to
figure out what letter it contains. For captcha to work, the image has
to be dynamically generated.

Mar 31 '06 #3
"Geoff Berrow" <bl******@ckdog .co.uk> stated:
Captcha


You know I was searching for a couple things, I ran across "Turing test".
So I thought, "Okay, interesting name," and I kept looking, it just didn't
ring a bell...

I ran across another link for embedding pictures...
http://www.ckdog.co.uk/php/imgtests/emboss.php

I thought cool! Nice code!

I looked through dictionary dot com for synonyms... merge showed up,
as well as the other words in the "Subject: Concatenate, conjoin, meld,
extract images".

Anyways, I'm taking a look at the emboss items there and I noticed
the server took a little time in delivering the content. It took about one
to two seconds to get the image to me. Don't know if that helps you
at all, but perhaps you know the processor does the processing?
Curious minds want to know. I'm not going to say that I think there's
a 286 handling the delivery, but would you know?

Thanks for "Captcha".

And in reply to Chung, I was thinking along these lines:

Method (1)
1, and only 1, gif to read each character from
(a) letter a is first image inside the gif, so read first image from the big
image, letter 'b' is the second image, so calculate second image location
and read second image from big image, etc.
(b) add the read character to new image,
(c) loop until word is complete,
(d) display new image.

Method (2)
26 images to read each character from
(a) letter 'a' is a.gif, 'b' is b.gif, etc, get appropriate image from correct
file,
(b) add the read character to the new image,
(c) loop until word is complete,
(d) display new image.

My initial thoughts involved it would be easier to create an array and
read the images based upon the file name in the array, and that would
be quicker, but upon reconsidering, loading one big image up and then
processing from the one image seems much quicker (only one disk
access occurs versus 4 disk accesses for 4 character words).

Thanks much.

Jim Carlock
Post replies to the group.
Mar 31 '06 #4
Message-ID: <En************ ********@tornad o.tampabay.rr.c om> from Jim
Carlock contained the following:
Anyways, I'm taking a look at the emboss items there and I noticed
the server took a little time in delivering the content. It took about one
to two seconds to get the image to me. Don't know if that helps you
at all, but perhaps you know the processor does the processing?
Curious minds want to know. I'm not going to say that I think there's
a 286 handling the delivery, but would you know?

Well, since I wrote the script, yes I would know. <g>

The image is generated on the fly, pixel by pixel, by comparing two
images. The second image has to be resized first. That's partly what
takes the time, the server is fast enough.

Have more fun here,
http://www.ckdog.co.uk/watermark
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Mar 31 '06 #5
"Geoff Berrow" <bl******@ckdog .co.uk> wrote:
Have more fun here,
http://www.ckdog.co.uk/watermark


I played around with that and couldn't get it to work. I sent you an
email explaining things.

Jim Carlock
Post replies to the group.
Mar 31 '06 #6

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

Similar topics

1
4800
by: Andrew | last post by:
Hello, Rather complicated one im afraid.. (well for me anyway!) Background on this one is that I have inherited a system that needs some modification, have some basic sql knowledge but fear i've bitten off a little bit more than I can handle. I need to export some data which I am able to do as I have some exporting software which can just tap into a mysql database. Its a fairly straightforward real estate database.
1
3061
by: Scott Andrew | last post by:
I have my app extracting thumbnails nicely for video and images. I have noticed however that for video there are 5 threads added everytime I call extract. And those threads never go away. Also the memory is never freed (or appears not be freed) when the release is called an all my objects are cleaned up. Does anyone know why Extract is adding extra threads for every extract called for video? It's almost like it's not using the thumbs.db.
0
1167
by: deepuk75 | last post by:
I need to extract embedded icons and other images from a Dll. How to do this in c# or vb.net.
6
4316
by: Sheldon | last post by:
Hi, I am trying to build a large array using concatenate function in python. So as I loop over the number of arrays, of which there are 12 (4 down and 3 across), I create 3 long arrays by concatenating them at the bottom and then concatenating them side by side: for ind in range(num_arrays): if ind == 0: bias_down1 = array(bias)
3
2169
by: Dhananjay | last post by:
Hello everyone Do you have any idea about how to generate a tool which will extract the contents and images from html page.or do you have any resources then let me know. i am using VS 2005 C#.net,Asp.net for development of this system. reply me asap Thanks Dhananjay
4
4066
by: SM | last post by:
Hello, I've created a Unordered list with images using the Javascript DOM, and i want to set up the width and height attributes of the image... The problem is that most images vary in size. Here's my question: Knowing the filepath of the image, is it possible to extract the width and height? If yes, how... Thanks Marco
5
10119
by: undbund | last post by:
Hi guys, can you guide me to tutorials, examples and scripts where I can learn how to extract text, images, etc from pdf file. Thanks Undbund
0
1443
by: Mariaprabudass E | last post by:
I need to extract images from pdf file. There is option in Acrobat 8.0(Advanced-->Document Processing-->Export All images). I tried to automate that process. But i could not know how to close the browser window. Could you please advice me. I pasted my code below. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim gp As Acrobat.CAcroApp Dim gpdoc As Acrobat.CAcroAVDoc gp =...
5
13403
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9840
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10948
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5880
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4706
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3305
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.