[libGD] #61 [Comment added] Issue with png and bmp file, but both have same content

[email protected] (libGD)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#61 - Issue with png and bmp file, but both have same content
User who did this - Guenter (oldman)

----------
Hi Pierre,
from what I see the wmbp stuff is related to 'Wireless Bitmap' which is not Windows Bitmap as many folks think all the time (me too before I further checked). Although I found a pure PHP solution to read a Windows *.bmp bitmap and return a GD:
http://www.jpexs.com/eng/default/php.html
I'm not happy with this because its terrible slow....; therefore I digged again and looked into bmp2png C source:
http://pmt..sourceforge.net/bmp2png/
since the code is free I think it might be a good candidate (and the only one I found so far) for inclusion into libgd; the BMP2PNG.C file contains a function 'static char *read_bmp( char *fn, FILE *fp, IMAGE *img )' which I think could probably be adapted easily...; the counterpart 'static char *write_bmp( char *fn, FILE *fp, IMAGE *img )' can be found in PNG2BMP.C...
would be very great if you could take a look into that - I'm sure you would make many many users happy with including this feature into libgd, and finally into the php_gd extension !!

greetz, Guenter.

----------

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=61#comment183

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.