| View previous topic :: View next topic |
| Author |
Message |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Oct 27, 2007 9:04 am Post subject: [Delphi]Loading .PNG Image Files ? |
|
|
How do i load PNG File format ? it can only load .bmp which sucks.
thanks !
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Oct 27, 2007 9:45 am Post subject: |
|
|
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 |
|
 |
merkark12 Advanced Cheater
Reputation: 0
Joined: 04 Jul 2007 Posts: 74 Location: In that program you just downloaded
|
Posted: Sat Oct 27, 2007 9:46 am Post subject: |
|
|
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 |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sat Oct 27, 2007 10:14 am Post subject: |
|
|
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 |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Oct 27, 2007 11:11 am Post subject: |
|
|
| i want png !
|
|
| Back to top |
|
 |
DoomsDay Grandmaster Cheater
Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Sat Oct 27, 2007 11:20 am Post subject: |
|
|
| He wants to load a png image to the IDE (BDS\Delphi 7), which only supports bmp's.
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sat Oct 27, 2007 11:30 am Post subject: |
|
|
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 |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Oct 27, 2007 12:13 pm Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Sat Oct 27, 2007 3:10 pm Post subject: |
|
|
I thought you left?
_________________
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Sat Oct 27, 2007 3:51 pm Post subject: |
|
|
Download the Component to load Png files.
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Oct 27, 2007 4:42 pm Post subject: |
|
|
| the_undead wrote: | | I thought you left? |
i thought you died ?
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Sat Oct 27, 2007 5:51 pm Post subject: |
|
|
I'm a revenant.
_________________
|
|
| Back to top |
|
 |
|