Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Color space changes

Open samunderwood opened this issue 1 year ago • 2 comments

I would like to request a new feature for Striling PDF: the ability to convert color spaces, specifically from RGB to CMYK.

This feature would be incredibly useful for preparing documents for print, ensuring color accuracy and consistency across different media.

samunderwood avatar May 20 '24 09:05 samunderwood

New to the project; I would be interested in tackling this issue. From my (admittedly limited) perspective, there are seemingly three places the option should be added:

  1. Add it as a color type option for image to pdf conversions,
  2. Add it as a color type option for pdf to image conversions (for supported file types), and
  3. Either as a new standalone function or added to the current "Adjust Colors/Contrast" option.

I think making some minor additions to ImageProcessingUtils.java and the associated calls to convertColorType() will get us most of the way there, but I'm not sure if changes to each of those functionalities should be broken into separate issues. Let me know what you all think about these notes.

WR-Smiley avatar Nov 12 '24 23:11 WR-Smiley

Would prefer #3 Anything changing colours would ideally be front-end as it needs the most user feedback visually

Frooodle avatar Nov 12 '24 23:11 Frooodle

Okay, I will start working on implementing color space conversion into the Adjust Colors/Contrast functionality.

WR-Smiley avatar Nov 14 '24 18:11 WR-Smiley