What image loading libraries are available that don't use the VCL? I'm specifically looking for things to load jpegs and pngs.
Muchas gracias.
What image loading libraries are available that don't use the VCL? I'm specifically looking for things to load jpegs and pngs.
Muchas gracias.
"All paid jobs absorb and degrade the mind."
<br />-- Aristotle
SDL can load a lot of images without VCL so can the Windows API if I'm not mistaken, however the latter will be difficult
Do it by the book, but be the author!
<br />
<br />Visit the Lion Productions website at:
<br />http://lionprod.f2o.org
You can use GDI+ as best suited for general windows programming or D3DX best for DirectXI'm specifically looking for things to load jpegs and pngs.
There are only 10 types of people in this world; those who understand binary and those who don't.
Hmm, I think that SDL would be too large for my tastes (all those extra DLLs) but I'll take a look nonetheless. I'll also dump GDI+ and D3DX onto my list of things to look at. Cheers.
I'm leaning towards the Intel JPEG library for .jpgs - anyone got any good or bad words to say about it?
"All paid jobs absorb and degrade the mind."
<br />-- Aristotle
You should use d3dx.
You can use also GraphicEx - a free Delphi library that enables you to work with many image formats, including jpg, tif, png, psp and many more.
Actualy there are some .pas files which you should include in your project
You can download it here: http://free.top.bg/darklight/windows/downloads/GraphicEx.zip[/url]
http://www.kaldata.net
I'll take a look at that some time in the future. I tried downloading it but the server was very slow -- too slow to download it within 2 hours, which is how long I get before being automatically disconnected from the ISP (don't have a download resumer installed)! Aargh.Originally Posted by Darhazer
"All paid jobs absorb and degrade the mind."
<br />-- Aristotle
What the .. ? 2 hours disconnect ?? What sense would that make to cut off the connection every 2 hours ? *puzzled*
Anyway the original link for GraphicEx should be http://www.delphi-gems.com/Graphics.php.
Don't ask me why the ISP disconnects me every 2 hours because I don't know either :-/. Stupid ISP (Freeserve). I might upgrade to broadband soon, which should make things a bit nicer and remove that oddity.
Onwards with the collecting-of-image-libraries.
I realise that I've not been specific about what I need and why. Sorry about that - it's because I don't really have a set agenda here. I have lots of projects in different APIs (OpenGL, GDI, DirectDraw, and possibly some other ones if I get the time). It would be nice if there was a library that lets me load up different image formats without forcing a class structure on me - all I need is the colour depth, width, height, and pointer to the pixels. It should be lightweight and not tied down to a specific API if possible.
I might end up ripping various sources. It looks like GraphicsEx has some of what I want but it uses the VCL (which I don't like; I'm a exe-size freak). However, it should be possible to remove a lot of that and take what I need (with the author's permission, of course).
"All paid jobs absorb and degrade the mind."
<br />-- Aristotle
You can download it from this server:
http://www.delphicity.net/component.asp?componentid=330
I suggest it will be much faster. Bulgarian servers are sux
http://www.kaldata.net
Bookmarks