Opened 7 years ago

Closed 6 years ago

#1558 closed improve feature (wontfix)

Profile picture thumbnail has visible artefacts

Reported by: planetcruiser Owned by:
Priority: minor Milestone: unassigned
Component: BW Profile Keywords:
Cc:

Description

Issue:

  • Too strong image compression makes thumbnails look ugly

Solution:

  • Use different compression level for thumbnail creation
  • Consider an optional parameter for image creation function, so we can decide from case to case which compression we want

Change History (3)

comment:1 Changed 7 years ago by planetcruiser

Comment by coroa on compression levels:

we don't specify one. but according to the php doku [1] it seems to be about 75 by default.

all thumbnails are generated by calls from build/members/members.model.php to the class MOD_images_Image defined in modules/images/lib/image.lib.php (the createThumb function), by more or less code like this:

$oldImage = ImageCreateFromJPEG("original.jpeg");
imageCopyResampled($newImage, $oldImage, ...);
ImageJPEG($newImage, "newthumb.jpeg");

[1] http://php.net/ImageJPEG

Last edited 7 years ago by planetcruiser (previous) (diff)

comment:2 Changed 6 years ago by jsfan

  • Milestone Future deleted

Milestone Future deleted

comment:3 Changed 6 years ago by planetcruiser

  • Milestone set to unassigned
  • Resolution set to wontfix
  • Status changed from new to closed

welen.. ;)

Note: See TracTickets for help on using tickets.