Skip to content

CONV-048: Add PNG to JPG converter capability#64

Merged
menvil merged 1 commit into
developfrom
feature/CONV-048-add-png-to-jpg-converter-capability
May 29, 2026
Merged

CONV-048: Add PNG to JPG converter capability#64
menvil merged 1 commit into
developfrom
feature/CONV-048-add-png-to-jpg-converter-capability

Conversation

@menvil

@menvil menvil commented May 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add PngToJpgConverter with options schema (quality, resize, background_color, remove_metadata).

Test plan

  • composer test
  • composer lint

Summary by cubic

Add a PNG to JPG converter with configurable options and validation. Addresses CONV-048 by enabling quality, resize, background color, and metadata removal controls.

  • New Features
    • Added PngToJpgConverter (key 'png:jpg'; source 'png'; target 'jpg'; label 'JPG'; description provided).
    • Options schema: quality (segmented: medium/high/best, default high), resize (select: original/1920/1280/custom, default original), background_color (color, default #ffffff), remove_metadata (toggle, default true).
    • validateOptions uses OptionsValidator to apply defaults and validate input.
    • Unit tests cover converter metadata and default options.

Written for commit 11d371a. Summary will update on new commits.

Review in cubic

@coderabbitai

coderabbitai Bot commented May 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 25215c22-8dfd-419b-aba3-865207d97f68

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-048-add-png-to-jpg-converter-capability

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil merged commit dc36704 into develop May 29, 2026
1 of 2 checks passed
@menvil menvil deleted the feature/CONV-048-add-png-to-jpg-converter-capability branch May 29, 2026 10:39
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.

1 participant