Results 1 to 3 of 3

Thread: Problem creating bitmaps

  1. #1
    Join Date
    Oct 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Problem creating bitmaps

    For this script im creating lots of bitmaps ( most of them are 4/5 lines ). But sometimes i get a really smal bitmap like this:

    l-een := BitmapFromString(1, 15, 'beNr7H/r/P9EIACI1It4=');

    When i use the findbitmap function on this one it always finds it, doesn't matter if the picture is on the screen or not

    The picture of this bitmap is the same size as the 4/5 lines bitmaps.

    Is there anyway to create better/bigger bitmaps?

  2. #2
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bigger bitmaps are worse than smaller ones. You're problem would be that your bitmap isn't unique enough. Pick a small strip (4 x 15 pixel or lower usually works) from the item you're looking for with lots of colors in it. If that doesn't work try using a smaller amount of tolerance to get less results.

    You could also try DTM's.
    -You can call me Mick-



  3. #3
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Was the bitmap really 1 x 15? Because i had the same problem but the picture was bigger then that so i shrank it one pixel and it worked.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dynamically creating Bitmaps
    By Maninblack144 in forum OSR Help
    Replies: 15
    Last Post: 09-18-2008, 09:12 PM
  2. Creating a VM {Vid}
    By Dark_Sniper in forum Computer Help and Tutorials
    Replies: 50
    Last Post: 05-16-2008, 09:51 PM
  3. Problem With Bitmaps
    By papenco in forum OSR Help
    Replies: 7
    Last Post: 11-30-2007, 02:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •