Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


MakeJpeg Program

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 23, 2007 8:24 pm    Post subject: MakeJpeg Program Reply with quote

Program attached, the memo explains how to use it

Dll is included if you want to use it

basically i hate bitmaps :]



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Jul 23, 2007 9:51 pm    Post subject: Reply with quote

nice
why did u released source? O_o
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 23, 2007 10:29 pm    Post subject: Reply with quote

so other people can use it
_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Tue Jul 24, 2007 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Tue Jul 24, 2007 9:39 am    Post subject: Reply with quote

is there a way that just take a screen of a part of a window ?
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 24, 2007 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Tue Jul 24, 2007 10:33 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 24, 2007 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Tue Jul 24, 2007 10:53 am    Post subject: Reply with quote

but the guy who posted that said it does just make a screen of a part of a window. mhmhmm
Back to top
View user's profile Send private message
TheIndianGuy
Advanced Cheater
Reputation: 102

Joined: 14 Jan 2007
Posts: 88

PostPosted: Fri Jul 27, 2007 1:01 am    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Fri Jul 27, 2007 8:14 am    Post subject: Reply with quote

Nice idea, pretty simple yet useful.
Although you should make the memo read-only by doing this:
Memo1.ReadOnly := True;

Enjoy =]

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites