Reply to Re: image conversion and watermark issue

Re: image conversion and watermark issue new!
by allen, 13 years, 9 months ago
watermark: http://www.duslersokagi.com/editor_/watermark.png

I think I need to set image_watermark_no_zoom_in and image_watermark_no_zoom_in to true in order to not automatically resize the watermark.

as the code checks if they are set false to process..
// if watermark is too large/tall, resize it first
  if ((!$this->image_watermark_no_zoom_out && ($watermark_dst_width > $this->image_dst_x || $watermark_dst_height > $this->image_dst_y)) 
   || (!$this->image_watermark_no_zoom_in && $watermark_dst_width < $this->image_dst_x && $watermark_dst_height < $this->image_dst_y)) {

I think everything works fine when I set them true. here is the latest picture created with the provided watermark and the gif image;

http://image.adultsearch.net/UserFiles/Images/eroticmassage/2UmGGITMzgHzjjIwl5cl_9561.jpg
$this->handle->image_watermark = /images/watermark.png';
$this->handle->image_watermark_x = 0;
$this->handle->image_watermark_y = 0;
$this->handle->image_watermark_no_zoom_in = true;
$this->handle->image_watermark_no_zoom_out = true;
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important