PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Converting JPG to Windows BMP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Converting JPG to Windows BMP

Réponse
 
LinkBack Outils de la discussion
Vieux 30/08/2008, 02h02   #1
Edward Diener
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Converting JPG to Windows BMP

I have a JPG file on the server which I want to convert to a Windows BMP
file. How can I do this in PHP ? I did not see a GD image function for
doing this.
  Réponse avec citation
Vieux 30/08/2008, 02h05   #2
Dan Joseph
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Converting JPG to Windows BMP

On Fri, Aug 29, 2008 at 8:02 PM, Edward Diener <eldiener@tropicsoft.com>wrote:

> I have a JPG file on the server which I want to convert to a Windows BMP
> file. How can I do this in PHP ? I did not see a GD image function for doing
> this.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Check your php.ini file, you should see a commented out line with
php_gd2.dll in there. Uncomment that, restart your web server, and you
should have GD support.

--
-Dan Joseph

www.canishosting.com - Plans start @ $1.99/month.

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."

  Réponse avec citation
Vieux 30/08/2008, 02h06   #3
Dan Joseph
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Converting JPG to Windows BMP

On Fri, Aug 29, 2008 at 8:02 PM, Edward Diener <eldiener@tropicsoft.com>wrote:

> I have a JPG file on the server which I want to convert to a Windows BMP
> file. How can I do this in PHP ? I did not see a GD image function for doing
> this.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Actually, I think I misread you there... Sorry... I have no idea either!

--
-Dan Joseph

www.canishosting.com - Plans start @ $1.99/month.

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."

  Réponse avec citation
Vieux 30/08/2008, 02h50   #4
mike
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Converting JPG to Windows BMP

If I recall gd doesn't support bmp. However that was probably long
before gd2 and I started using imagemagick anyway and have since. You
should look into it especially if php doesn't have support via gd.

On Aug 29, 2008, at 5:06 PM, "Dan Joseph" <dmjoseph@gmail.com> wrote:

> On Fri, Aug 29, 2008 at 8:02 PM, Edward Diener <eldiener@tropicsoft.com
> >wrote:

>
>> I have a JPG file on the server which I want to convert to a
>> Windows BMP
>> file. How can I do this in PHP ? I did not see a GD image function
>> for doing
>> this.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>

> Actually, I think I misread you there... Sorry... I have no idea
> either!
>
> --
> -Dan Joseph
>
> www.canishosting.com - Plans start @ $1.99/month.
>
> "Build a man a fire, and he will be warm for the rest of the day.
> Light a man on fire, and will be warm for the rest of his life."

  Réponse avec citation
Vieux 30/08/2008, 02h56   #5
Jochem Maas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Converting JPG to Windows BMP

Edward Diener schreef:
> I have a JPG file on the server which I want to convert to a Windows BMP
> file. How can I do this in PHP ? I did not see a GD image function for
> doing this.
>


looks like you can do it using imagemagick:

http://www.imagemagick.org/Usage/formats/#bmp



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h30.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09145 seconds with 13 queries