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 


[Delphi]Loading .PNG Image Files ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Oct 27, 2007 9:04 am    Post subject: [Delphi]Loading .PNG Image Files ? Reply with quote

How do i load PNG File format ? it can only load .bmp which sucks.

Surprised thanks ! Cool
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Oct 27, 2007 9:45 am    Post subject: Reply with quote

Uh. Try being more descriptive with what your doing.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
merkark12
Advanced Cheater
Reputation: 0

Joined: 04 Jul 2007
Posts: 74
Location: In that program you just downloaded

PostPosted: Sat Oct 27, 2007 9:46 am    Post subject: Reply with quote

im not sure, but try making a picturebox and a loadfile dialog, and make a button that does picturebox1.load(loaddialog1.text) or something idono. or just convert the png into bmp with paint...
_________________


Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Oct 27, 2007 10:14 am    Post subject: Reply with quote

theres a type in delphi called TJpeg. Why don't you load a jpeg into it then load it in the picturebox. I loaded a Jpeg before i delphi, but i don't have delphi on this comp so i can't help that much
_________________
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Oct 27, 2007 11:11 am    Post subject: Reply with quote

i want png !
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Sat Oct 27, 2007 11:20 am    Post subject: Reply with quote

He wants to load a png image to the IDE (BDS\Delphi 7), which only supports bmp's.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Oct 27, 2007 11:30 am    Post subject: Reply with quote

oh lol my bad,

i've seen a tut on how to load all the different formats on codeproject. Ill look for it and if i find it ill post it for ya

edit: i found a website with a library for loadings pngs in delphi

http://pngdelphi.sourceforge.net/

_________________
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Oct 27, 2007 11:52 am    Post subject: Reply with quote

here is wat i found with google lab:
http://www.google.com/codesearch?hl=en&q=+lang:pascal+convert+PNG+bmp+show:F303liRXWrU:mUtVntVtEM0:-_G8HflIZgM&sa=N&cd=1&ct=rc&cs_p=http://prdownloads.sourceforge.net/tilestudio/ts-2.53-src.zip&cs_f=PngUnit.pas#first
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Oct 27, 2007 12:13 pm    Post subject: Reply with quote

blankrider wrote:
oh lol my bad,

i've seen a tut on how to load all the different formats on codeproject. Ill look for it and if i find it ill post it for ya

edit: i found a website with a library for loadings pngs in delphi

http://pngdelphi.sourceforge.net/


thanks bro !

DoomsDay wrote:
He wants to load a png image to the IDE (BDS\Delphi 7), which only supports bmp's.


Thanks for explaining them Smile
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sat Oct 27, 2007 3:10 pm    Post subject: Reply with quote

I thought you left?
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Sat Oct 27, 2007 3:51 pm    Post subject: Reply with quote

Download the Component to load Png files.
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Oct 27, 2007 4:42 pm    Post subject: Reply with quote

the_undead wrote:
I thought you left?


i thought you died ?
Back to top
View user's profile Send private message
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sat Oct 27, 2007 5:51 pm    Post subject: Reply with quote

I'm a revenant.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN 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