FS#78135 - [hplip] Patch to make hplip scanner driver scan without JPEG compression.

Attached to Project: Arch Linux
Opened by Johnny Nielsen (Johnny.Nielsen) - Thursday, 06 April 2023, 11:43 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 07 May 2023, 07:32 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Greetings Andreas,

I hope you will kindly consider adding the attached patch to the build of hplip from now on?

I know the Arch Linux policy is to fix things upstream, but HP is not fixing this problem.
A working patch was posted for HP 2015-02-28.
Since then HP has been requested several times throughout the years to please apply the patch upstream.
Nothing has happened.
It seems it is up to the community to apply the patch downstream.

Ubuntu has been applying this patch at least since 2016-07-22.
That's the date Ubuntu has put at the top of their copy of the patch, and it is still used in Ubuntu 22.10 (Kinetic Kudu).

The patch makes it possible to scan with a range of HP devices, like Photosmart 5520 and Photosmart 6520, without the hplip driver JPEG compressing the captured image before sending it to the scanning application.
Without the patch, scans have clear JPEG artifacts, and there is no way to tell the driver to not compress the captured image data.
With the patch, scans can be selected to be done in "raw"/"no compression" mode, resulting in scans without JPEG artifacts.

I have tested the patch for the currently latest hplip version 1:3.23.3-1-x86_64 for Arch Linux, and it still works.

Relevant links:
The "original", still working, still used patch (the same as attached to this Arch Linux hplip bug report).
https://launchpadlibrarian.net/199022380/hpscan-final.patch

The bug report thread containing the patch. Explaining quite well the problem. The patch is attached to comment #8.
https://bugs.launchpad.net/hplip/+bug/1245578

I have a good handful of other links to bug reports and questions about this.
Please ask if you want them. It's quite a bit of reading, but the above link to the launchpad bug report thread contains the central points.

Best regards :o)
Johnny :o)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 07 May 2023, 07:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.23.3-3

Loading...