Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scan
#1
Hey can scan be done with JPEG's anyway?
#2
No, only with bmp. Jpegs and other compressed images may be distorted.
#3
and one prints out the jpeg and holds it against the screen ?
would that work ?
pi
#4
Convert jpeg to bmp and then scan with the bmp? Yes.
#5
Possibly the following will work, if the compressed image is not distorted.

Now scan supports bitmap handle. Load the image (gif or jpg) with LoadPictureFile and use it with scan. Then call DeleteObject.
#6
works
Code:
Copy      Help
__GdiHandle bm=LoadPictureFile("$my pictures$\60x90.gif" 0)
scan bm 0 0 0x3

note that __GdiHandle calls DeleteObject automatically

---

Also tested jpg. At first tested when it is open in Vista image viewer, and scan failed. Then tested in Internet Explorer, and worked well. Different programs display the same file differently.
#7
Hey, when i use this it has to be ontop of everything because if something covers the image, it says it has disapeard??? so like i need it to work even if the image is behind anything?

Thanks
#8
This function can only find images that are visible on the screen. If window is used, make sure that the window is not obscured by other windows. This function does not test whether the image belongs to the window. You can use act to activate the window. This function can only find images that exactly match the captured image (image in file). It will not find images with different colors or shapes.


THE HELP FILE IS SUCH A GREAT THING HUH?
#9
Any other way to wait for images to disapear? even if there not completely visible but are on an open window?
#10
Currently cannot search in background windows, but generally it is possible (not with all windows), and possibly in some new QM version scan will have the option.
#11
I was thinking RECT but is there a way to use rect and only do a certian rectangle in a certian window? not the entire screen? and not be sensitive to clicks?
#12
Gintaras Wrote:Currently cannot search in background windows, but generally it is possible (not with all windows), and possibly in some new QM version scan will have the option.

How long you think untill it will be supported and be an option in QM?
#13
0.5 - 1 year
#14
OK cant wait lol

QM_Expert Wrote:I was thinking RECT but is there a way to use rect and only do a certian rectangle in a certian window? not the entire screen? and not be sensitive to clicks?

Any ideas with this?
#15
The rectangle also must be completely visible.
#16
Oh, alrite thanks...guess ill wait for the new QM Big Grin

Thanks for the help.
#17
OK new idea, since this wont work.....anyway to always keep a certian window on top?

Even if new windows open?

ont seems to fail alot on me, like it will work until a new window opens and the new window will flash ontop of it for a second or less and the image could disapear?

Any ideas?
#18
Normally new normal windows are not displayed on top of a topmost window. There is no way to make a super topmost window, ie more topmost than other topmost windows.
#19
ok
thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)