PDA

View Full Version : Image loading libraries (non-VCL)



Alimonster
25-01-2003, 01:44 PM
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.

TheLion
25-01-2003, 02:47 PM
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 :)

Clootie
25-01-2003, 04:48 PM
I'm specifically looking for things to load jpegs and pngs.
You can use GDI+ as best suited for general windows programming or D3DX best for DirectX

Alimonster
25-01-2003, 08:39 PM
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?

Summers Gone
25-01-2003, 08:50 PM
You should use d3dx.

Darhazer
08-02-2003, 12:31 AM
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]

Alimonster
09-02-2003, 06:15 PM
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]
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.

Summers Gone
09-02-2003, 06:41 PM
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.

Alimonster
09-02-2003, 06:54 PM
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).

Darhazer
09-02-2003, 07:55 PM
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