| View previous topic :: View next topic |
| Author |
Message |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jul 23, 2007 8:24 pm Post subject: MakeJpeg Program |
|
|
Program attached, the memo explains how to use it
Dll is included if you want to use it
basically i hate bitmaps :]
_________________
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Mon Jul 23, 2007 9:51 pm Post subject: |
|
|
nice
why did u released source? O_o
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jul 23, 2007 10:29 pm Post subject: |
|
|
so other people can use it
_________________
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Tue Jul 24, 2007 8:00 am Post subject: |
|
|
u can use it after u complie it u dont need the source...
like cheat engine...
well if u dont care O_o
where does it saves the picture? where the program is?
and i suggest u to add more hotkeys so like Ctrl+F9 will make GIF, Ctrl+10 will make jpg and Ctrl+F11 will make bitmap =)
that'll be cool
and u dont have to work hard on this just copy the source 3 times and edit jpg to gif/bitmap
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Tue Jul 24, 2007 9:39 am Post subject: |
|
|
| is there a way that just take a screen of a part of a window ?
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jul 24, 2007 9:48 am Post subject: |
|
|
im working on it, it very very difficult to select a part of the screen
i can do it with coordinates but that would be un pracitcal
and i dont want a gif because gif's SUCK :]
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Tue Jul 24, 2007 10:33 am Post subject: |
|
|
| blankrider wrote: | im working on it, it very very difficult to select a part of the screen
i can do it with coordinates but that would be un pracitcal
and i dont want a gif because gif's SUCK :] |
nice !
And yea, stand of jpg, gif sux.
edit:
ohwell I used google and searched for it.
And finally I found this:
| Code: |
function Tmain.screenmachen(x,y,breite,hoehe):tbitmap;
var
BMP: TBitmap;
Desktop: TCanvas;
begin
BMP := TBitmap.Create;
Desktop := TCanvas.Create;
Desktop.Handle := GetWindowDC(GetDesktopWindow);
BMP.Width := width;
BMP.Height := height;
BMP.Canvas.CopyRect(Rect(0,0,bmp.width,bmp.Height ), Desktop,
Rect(x,y,x+width,y+height));
result:=bmp;
end;
|
but if I try it, I get this error:
Maybe you can fix it
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jul 24, 2007 10:51 am Post subject: |
|
|
that does the same thing my .dll function does.
except in a different language in the parameters o.o
and more complicated
it gets the width and height of the desktop and makes a bitmap out of that
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Tue Jul 24, 2007 10:53 am Post subject: |
|
|
| but the guy who posted that said it does just make a screen of a part of a window. mhmhmm
|
|
| Back to top |
|
 |
TheIndianGuy Advanced Cheater
Reputation: 102
Joined: 14 Jan 2007 Posts: 88
|
Posted: Fri Jul 27, 2007 1:01 am Post subject: |
|
|
| Symbol wrote: | nice
why did u released source? O_o |
i almost got in trouble by appalsap for not releasing source so i learned my lesson but appalsap could have said it nicer since it doesn't say that anywhere in the General Programming rules that you have to but it wasn't a big deal to me giving source or not giving it. It will encourage people to use visual basic since thats what i made it in
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Fri Jul 27, 2007 8:14 am Post subject: |
|
|
Nice idea, pretty simple yet useful.
Although you should make the memo read-only by doing this:
Memo1.ReadOnly := True;
Enjoy =]
_________________
|
|
| Back to top |
|
 |
|