Can anyone suggest good up-to-date D libs or bindings for loading/saving bmp
and png files?
Nick Sabalausky wrote:
Can anyone suggest good up-to-date D libs or bindings for loading/saving bmp
and png files?
BMP - who in their right mind still uses this?
PNG - Lodepng is one
http://www.dsource.org/projects/scrapple/wiki/LodePngLibrary
but it depends on what you want to be able to do
Stewart Gordon wrote:
BMP - who in their right mind still uses this?
Yeah, zero-overhead; who needs that?
Reply to Robert,
Stewart Gordon wrote:
BMP - who in their right mind still uses this?
Yeah, zero-overhead; who needs that?
if you want zero overhead use PPM in binary mode: 32bit color and about ~16
bytes of non image data that can be output by printf.
BCS wrote:
Reply to Robert,
Stewart Gordon wrote:
BMP - who in their right mind still uses this?
Yeah, zero-overhead; who needs that?
if you want zero overhead use PPM in binary mode: 32bit color and about
~16 bytes of non image data that can be output by printf.
Yeah, but who's heard
Robert Fraser wrote:
> Stewart Gordon wrote:
>> BMP - who in their right mind still uses this?
>
> Yeah, zero-overhead; who needs that?
I've never seen BMP loading or saving code that didn't have to resort to
the Windows API. Even then, the code was horrible.
TGA is a good format for when you
On Wed, May 13, 2009 at 11:35:03PM -0400, Nick Sabalausky wrote:
> Can anyone suggest good up-to-date D libs or bindings for loading/saving bmp
> and png files?
>
I wrote a very minimal BMP class in D2 a while back. I didn't finish it
so IIRC it only supports 24 and maybe 8 bit bitmaps, but it
Stewart Gordon wrote:
> Nick Sabalausky wrote:
>> Can anyone suggest good up-to-date D libs or bindings for
>> loading/saving bmp and png files?
>
> BMP - who in their right mind still uses this?
BMP is the most popular uncompressed image format. Uncompressed file
format + lzma compression lead
"Rainer Deyke" wrote in message
news:guij2k$6s...@digitalmars.com...
> Stewart Gordon wrote:
>> Nick Sabalausky wrote:
>>> Can anyone suggest good up-to-date D libs or bindings for
>>> loading/saving bmp and png files?
>>
>> BMP - who in their right mind still uses this?
>
> BMP is the most popul
"Adam D. Ruppe" wrote in message
news:mailman.70.1242352289.13405.digitalmar...@puremagic.com...
> On Wed, May 13, 2009 at 11:35:03PM -0400, Nick Sabalausky wrote:
>> Can anyone suggest good up-to-date D libs or bindings for loading/saving
>> bmp
>> and png files?
>>
>
> I wrote a very minimal B
Nick Sabalausky wrote:
> Yea, this is pretty much the key. Even if nothing else, it's at least
> useful *because* it's popular. In other words, the same reason why any audio
> app realisticlly needs to support MP3 even though MP3 is probably the single
> worst lossy audio codec out there (an as
Nick Sabalausky wrote:
> Can anyone suggest good up-to-date D libs or bindings for loading/saving bmp
> and png files?
>
>
http://www.ssTk.co.uk/png.php
Import is for d2, but changing it for d1 would be trivial.
--
My enormous talent is exceeded only by my outrageous laziness.
"Rainer Deyke" wrote in message
news:guimbr$de...@digitalmars.com...
> Nick Sabalausky wrote:
>> Yea, this is pretty much the key. Even if nothing else, it's at least
>> useful *because* it's popular. In other words, the same reason why any
>> audio
>> app realisticlly needs to support MP3 even
"div0" wrote in message
news:guirpq$m7...@digitalmars.com...
> Nick Sabalausky wrote:
>> Can anyone suggest good up-to-date D libs or bindings for loading/saving
>> bmp
>> and png files?
>>
>
> http://www.ssTk.co.uk/png.php
>
> Import is for d2, but changing it for d1 would be trivial.
>
Ah, co
Nick Sabalausky wrote:
"div0" wrote in message
news:guirpq$m7...@digitalmars.com...
Nick Sabalausky wrote:
Can anyone suggest good up-to-date D libs or bindings for loading/saving
bmp
and png files?
http://www.ssTk.co.uk/png.php
Import is for d2, but changing it for d1 would be trivial.
Andrei Alexandrescu wrote:
> Nick Sabalausky wrote:
>> "div0" wrote in message
>> news:guirpq$m7...@digitalmars.com...
>>> Nick Sabalausky wrote:
Can anyone suggest good up-to-date D libs or bindings for
loading/saving bmp
and png files?
>>> http://www.ssTk.co.uk/png.php
>>>
Nick Sabalausky wrote:
> "div0" wrote in message
> news:guirpq$m7...@digitalmars.com...
>> Nick Sabalausky wrote:
>>> Can anyone suggest good up-to-date D libs or bindings for loading/saving
>>> bmp
>>> and png files?
>>>
>> http://www.ssTk.co.uk/png.php
>>
>> Import is for d2, but changing it f
Nick Sabalausky wrote:
> au was lossy?
Yes, to the extend that it was compressed at all. Each 16 bit sample
was independently reduced to 8 bits using a logarithmic scale.
--
Rainer Deyke - rain...@eldwood.com
Nick Sabalausky wrote:
> "div0" wrote in message
> news:guirpq$m7...@digitalmars.com...
>> Nick Sabalausky wrote:
>>> Can anyone suggest good up-to-date D libs or bindings for loading/saving
>>> bmp
>>> and png files?
>>>
>> http://www.ssTk.co.uk/png.php
>>
>> Import is for d2, but changing it f
Nick Sabalausky Wrote:
> Can anyone suggest good up-to-date D libs or bindings for loading/saving bmp
> and png files?
>
>
If you'll need more (formats for i/o or some processing), you can use
DerelictIL/ILU bindings + DevIL free lib. This lib seems to be the best bicycle
of that sort, you
Daniel Keep wrote:
Andrei Alexandrescu wrote:
Nick Sabalausky wrote:
"div0" wrote in message
news:guirpq$m7...@digitalmars.com...
Nick Sabalausky wrote:
Can anyone suggest good up-to-date D libs or bindings for
loading/saving bmp
and png files?
http://www.ssTk.co.uk/png.php
Import is for
Georg Wrede wrote:
> Daniel Keep wrote:
>>
>> Andrei Alexandrescu wrote:
>>> Nick Sabalausky wrote:
"div0" wrote in message
news:guirpq$m7...@digitalmars.com...
> Nick Sabalausky wrote:
>> Can anyone suggest good up-to-date D libs or bindings for
>> loading/saving bmp
>>
Well, I've been doing some more work on it today. The biggest new function
is BMP.display(), which pops up a window displaying the bmp on the screen.
I also cleaned up the code a little, put in a preliminary load from file
function, and added some ddocs.
Download here:
http://arsdnet.net/bmpstuf
23 matches
Mail list logo