e2interactive forums » Report a Bug

Search:

Image quality

(3 posts)
  • Started 6 months ago by saeedahmad1981
  • Latest reply from e2

  1. saeedahmad1981
    Member

    Hi,

    If we upload images using Uploader tool it destroys the image quality, can someone guide how to keep maximum image quality?

    Posted 6 months ago #
  2. StratMK
    Member

    I think you can do it by changing line 210 in uploader/index.php
    if you change the following

    From

    $handle->jpeg_quality = 95;

    To

    $handle->jpeg_quality = 100;

    loking at the code that should do it, dont hold me to it as i have not tried it

    Regards
    Martin

    Posted 6 months ago #
  3. StratMK, That will effect the quality.

    Or you could get ride of the resize and jpeg compression all together and it will simple upload the file as is, without changing it at all.

    Go to line 206:

    $handle->image_resize          = true;
    $handle->image_ratio           = true;
    $handle->image_y               = 600;
    $handle->image_x               = 600;
    $handle->jpeg_quality		   = 95;

    and get ride of the above, and your image will simply be uploaded and not resized or anything.

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.