Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 10th, 2005, 07:54 AM
Registered User
Join Date: Mar 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I extract text from a GIF image? Pls help!


I'm trying to code a testing application for my company's website which will try out all combinations of option buttons, list-box selections etc to make sure everything works out as expected.

Unfortunately I've hit a brick wall when faced with the GIF "random security code generator" image. Could someone please detail how to decrpyt the text in the gif? Any API functions or similar that can be used to assist in this goal?

The URL for the GIF pwd generator is available here (just temporarily until I can get past it with your help!):


Many thanks in advance everyone! I really appreciate any light you can shed on this!
Reply With Quote
  #2 (permalink)  
Old March 10th, 2005, 01:23 PM
Friend of Wrox
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

I believe that to do this is virtually impossible.

You would need a means of locating straight lines in an image; such algorithms exist, but they are pretty complicated.

Having that in hand, you would need to recreate the image repeatedly, with every permutation of removing lines implemented (one without line_1, one without line_2, one without line_1 and without line_2, etc., up to the number of lines that were detected).

Then each of those images would need to be passed through Optical Character Recognition.

I think you’re going to need the help of the CIA, the FBI and MI6...
Reply With Quote
  #3 (permalink)  
Old March 7th, 2018, 11:16 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I extract text from a GIF image? Pls help!

I tried CnetSDK. Easily find a demo project for how to extract text from a GIF image. In addition to text extraction from GIF, other raster image file formats are available, such as extracting text from PNG, TIFF, BMP, GIF, and so on.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show gif image on mouseover event of button arshad mahmood ASP.NET 1.0 and 1.1 Basics 2 September 14th, 2006 01:15 AM
extract text and image content from .ppt file pratik28 C# 0 May 11th, 2006 07:20 AM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 10:49 PM
Can't use gif image Goalie35 Crystal Reports 2 April 21st, 2004 01:56 AM
How to create GIF image in VB ? vb_programmer VB How-To 0 September 5th, 2003 11:21 PM

All times are GMT -4. The time now is 04:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.