What is the size of a blog?
PHP ImageCreateFrom.. malfunctioning in last PHP releases...
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PHP web-programming > PHP ImageCreateFrom.. malfunctioning in last PHP releases... 9 May 2008 11:26:26

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

PHP ImageCreateFrom.. malfunctioning in last PHP releases...

M 9 May 2008 11:26:26
 Hello people,

I use ImageCreateFromStri­ng PHP functions to resize (thumbnails and so)
dynamically my JPG images.

I use third party WEB hosting provider , so I have no control about new
releases and updates of server softwares.

I have not changed my images in last 3 years (they are used for virtual
stores), they appeared beautiful in these 3 years, but from some days
ago, they are appearing with terrible filter colors (all blue for
instance, some entirely black and so). When bypassing image PHP
functions, images again appear beautiful in my page, but site
performance to show product catalogs gets terrible, not to say
impossible for customers browse on it.

I wrote web provider to check what changed in their PHP environment, but
I am afraid they will answer none has changed.

I use the following sequence of commands to rebuild thumb images:

$orimage = ImageCreateFromStri­ng(string) to get original image
from opened JPG file
$thumb = ImageCreate(new-wid­th, new-height) to create empty new
thumbnail
ImageCopyResized($t­humb,$origame,....) to fill thumbnail
ImageJpeg($thumb) to show thumbnail

I checked by increasing 'quality' parameter ImageJpeg($thumb,''­,100)
but result continue to be wrong.

Is anobody else experiencing these problems lately?, how did you solve
it?

Thanks very much

(I would appreciate cc to meu@meucat.com if possible)

Mig

--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Richard Lynch 13 June 2005 06:45:12 permanent link ]
 On Sun, June 12, 2005 7:37 pm, M said:> I use ImageCreateFromStri­ng PHP functions to resize (thumbnails and so)> dynamically my JPG images.>
I use third party WEB hosting provider , so I have no control about new> releases and updates of server softwares.>
I have not changed my images in last 3 years (they are used for virtual> stores), they appeared beautiful in these 3 years, but from some days> ago, they are appearing with terrible filter colors (all blue for> instance, some entirely black and so). When bypassing image PHP> functions, images again appear beautiful in my page, but site> performance to show product catalogs gets terrible, not to say> impossible for customers browse on it.>
I wrote web provider to check what changed in their PHP environment, but> I am afraid they will answer none has changed.>
I use the following sequence of commands to rebuild thumb images:>
$orimage = ImageCreateFromStri­ng(string) to get original image> from opened JPG file> $thumb = ImageCreate(new-wid­th, new-height) to create empty new> thumbnail

Make this one be ImageCreateTrueColo­r()
http://php.net/imag­ecreatetruecolor
ImageCopyResized($t­humb,$origame,....) to fill thumbnail> ImageJpeg($thumb) to show thumbnail>
I checked by increasing 'quality' parameter ImageJpeg($thumb,''­,100)> but result continue to be wrong.>
Is anobody else experiencing these problems lately?, how did you solve> it?

I believe something changed in the GD library where lo-res internal images
were not promoted to hi-res or something like that...

--
Like Music?
http://l-i-e.com/ar­tists.htm

--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PHP web-programming > PHP ImageCreateFrom.. malfunctioning in last PHP releases... 9 May 2008 11:26:26

see also:
[NEWBIE] PHP General List Guide & Other…
apc and ZendPlatform
PROBLEM WITH MAIL FUNCTION
пройди тесты:
Do you know women?
see also:
Abramovich to Give Chelsea Away
Watch out the network trap
Trifle Matters

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .