Class not converting images

See all posts Reply

Class not converting images new!
by Viper, 14 years, 6 months ago
Hi!
I've try to convert images like png or bmp or gif to jpg.

if ($handle->uploaded) {
  $handle->file_new_name_body = $prefix_fr;
  $handle->file_name_body_add = $prefix;
  $handle->jpeg_quality = 100;
  $handle->image_resize = false;
  $handle->image_convert = 'jpg';
  $handle->process($ka_path_photo_people.'people/'.$fl.'/'.$prefix.'/');
  if ($handle->processed) {
    $link_fr_full = 'people/'.$fl.'/'.$prefix.'/'.$handle->file_dst_name;
    // ... some code ...
  }
}

and in second section I create thumbnail image. But in first section class only copy image w/o converting and second section wont work.
I'm testing with bmp... only copy image. For png... Only copy original image and create thumb. W/o coverting...

Where do I wrong?

PS! Class version 028.Reply
Re: Class not converting images new!
by colin, 14 years, 6 months ago
Can you copy here the log produced by the class?Reply
Re: Class not converting images new!
by Viper, 14 years, 6 months ago
Sorry! This is my stupid bug ^)Reply