Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
tedd schrieb: At 9:52 AM +0100 10/30/06, Martin Hochreiter wrote: What is wrong here? Martin: Damn, that's a lot of code to do something pretty simple. I had no problems uploading and resampling your image with a lot less. Try using ob_start() and ob_end() to grab your image.: ob_start();

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread tedd
At 9:52 AM +0100 10/30/06, Martin Hochreiter wrote: What is wrong here? Martin: Damn, that's a lot of code to do something pretty simple. I had no problems uploading and resampling your image with a lot less. Try using ob_start() and ob_end() to grab your image.: ob_start(); imagejpeg($n

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
Ed Lazor schrieb: On Oct 30, 2006, at 12:52 AM, Martin Hochreiter wrote: Hi! I'm using imagecopyresampled to create thumbnails of various pictures. That works well except some pictures that imagecopyresampled converts to small black thumbnails (although it converts it correctly to a bigger s

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Ed Lazor
On Oct 30, 2006, at 12:52 AM, Martin Hochreiter wrote: Hi! I'm using imagecopyresampled to create thumbnails of various pictures. That works well except some pictures that imagecopyresampled converts to small black thumbnails (although it converts it correctly to a bigger size) What is wrong

[PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Martin Hochreiter
Hi! I'm using imagecopyresampled to create thumbnails of various pictures. That works well except some pictures that imagecopyresampled converts to small black thumbnails (although it converts it correctly to a bigger size) What is wrong here? lg Martin (Suse Linux 10.1, Apache 2.2, gd 2.0.32

[PHP] imagecopyresampled() is same quality of imagecopyresized()

2006-01-03 Thread Christopher Mobarek
Everyone is saying that imagecopyresampled() greatly improves resizing quality due to resampling. However, I noticed that my thumbnails were very jagged and pixelated, not smooth as thumbnails should be. Even the slightly smaller images had a lot of jagged edges. The $src image is a resource of an

[PHP] imagecopyresampled()

2004-06-29 Thread Klaus Reimer
Hello, I have a problem with imagecopyresampled() and I'm not sure if this is a bug in GD or PHP or it's a feature. I'm trying to do the following (This example doesn't make much sense, it's just a simple way to reproduce the problem): I have an alphatransparent image 512x512. I want to resampl

Re: [PHP] imagecopyresampled, GD

2004-06-25 Thread Curt Zirzow
* Thus wrote Chris: > Marek Kilimajer wrote: > > >Chris wrote --- napísal:: > > > >>Hi there, I've looked in many places but have not found any clues on > >>how to work around this problem. > >> > >>I'm using imagecopyresampled to resize an image and crop part of it > >>at the same time. The ar

Re: [PHP] imagecopyresampled, GD

2004-06-25 Thread Chris
Marek Kilimajer wrote: Chris wrote --- napísal:: Hi there, I've looked in many places but have not found any clues on how to work around this problem. I'm using imagecopyresampled to resize an image and crop part of it at the same time. The area I need to crop, unfortunately, is sometimes a fl

Re: [PHP] imagecopyresampled, GD

2004-06-25 Thread Marek Kilimajer
Chris wrote --- napísal:: Hi there, I've looked in many places but have not found any clues on how to work around this problem. I'm using imagecopyresampled to resize an image and crop part of it at the same time. The area I need to crop, unfortunately, is sometimes a float, which leads to my

[PHP] imagecopyresampled, GD

2004-06-25 Thread Chris
Hi there, I've looked in many places but have not found any clues on how to work around this problem. I'm using imagecopyresampled to resize an image and crop part of it at the same time. The area I need to crop, unfortunately, is sometimes a float, which leads to my problem. imagecopyresample

[PHP] ImageCopyResampled() versus ImageCopyResized()

2001-08-25 Thread dgoddard
Has anyone out there used ImageCopyResampled()? This function was added in PHP 4.0.6 and requires GD 2.0.1 or later. So I haven't been able to try it out yed. I'm just wondering if it will deliver better image quality when you use it to render a shrunk-version of a graphic than ImageCopyResized(

[PHP] ImageCopyResampled() -> Php 4.0.6

2001-05-02 Thread JFL
If I want to use ImageCopyResampled(), do I then need Php 4.0.6 ? http://www.php.net/manual/en/function.imagecopyresampled.php -- [ www.eksperten.dk ] Scandinavias biggest IT forum. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm