[Koha] Fwd: Images quality reduction
Manos PETRIDIS
egpetridis at gmail.com
Thu Jul 25 05:27:05 NZST 2024
In line 59 we read " # GD autodetects three basic image formats: PNG, JPEG,
XPM; we will convert all to PNG which is lossless..."
What is the point of converting a lossy format like jpeg to a lossless one,
especially as this means that the resulting file will increase in size,
needlessly increasing database size and backup times?
Manos PETRIDIS
Στις Τετ 24 Ιουλ 2024 στις 6:30 μ.μ., ο/η Fridolin SOMERS <
fridolin.somers at biblibre.com> έγραψε:
> Hi,
>
> Cover images are reduced with uploaded in Koha.
> See this code :
>
>
> https://git.koha-community.org/Koha-community/Koha/src/commit/9d6d641d1f8b77271800f43bc027b651f9aea52b/Koha/CoverImage.pm#L64
>
> Best regards
>
> Le 23/07/2024 à 13:33, Russel G. P. Shihepo a écrit :
> > Dear Community
> >
> > Whenever I upload a local cover image, the quality of the image gets
> > reduced by Koha. This happens when you try to preview a record cover
> image
> > or cover image in a large view by clicking on it either on OPAC or the
> > Staff interface.
> >
> > For example if the original image is 300dpi, the quality is reduced and
> > renders content too blurry to see any details in the photo.
> >
> > Is there a possible way to change parameters in order to increase the
> image
> > quality for both OPAC and Staff interfaces ? Make all the cover pictures
> > 300 dpi for instance?
> >
> > I tried with no avail with some CSS tags:
> > .cover-image img
> > .chocolat-image-wrapper .chocolat-img
> >
> > Regards,
> > Russel Shihepo
> > _______________________________________________
> >
> > Koha mailing list http://koha-community.org
> > Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
> --
> Fridolin SOMERS <fridolin.somers at biblibre.com>
> Software and system maintainer 🦄
> BibLibre, France
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list