Skip to content

Conversation

@sampila
Copy link
Contributor

@sampila sampila commented Mar 20, 2025

This pull request to advanced/pdf_grayscale_transform.go includes changes to improve the handling of image Smask and shading function bounds during the grayscale transformation of PDF content. The most important changes include adding support for image Smask and ensuring the shading function bounds are retained even if they are empty.

Enhancements to grayscale transformation:

@sampila sampila requested review from 3ace and anovik March 20, 2025 19:31
Copy link
Contributor

@anovik anovik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. But this example itself is getting crazy, I hope we can move these grayscale functions into UniPDF soon.

@anovik anovik merged commit 92aeec8 into unidoc:master Mar 21, 2025
6 checks passed
@sampila sampila deleted the update-grayscale-example branch March 21, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants