• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image_save_gd: choose type criteria

Hi. (Sorry about my english; spanish speaker).

If i'm right, in image_lib library, when you save a croped/resized/watermarked image, its saved considering base image file, regardless new_image filename.

For ex. if i get a gradient.png, apply text_watermark and want to save it like new.jpg, the new file will have that name, but its contents will be for png (because it's saved with imagepng).

This behaviour wasn't what i expected.

What do you think? It could be considered a bug?

Is there any workarround without transforming my gradient file or the result, outside codeigniter?

Thanks. Omar

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.