Skip to content

CONV-139: Implement JPG to WEBP driver#133

Merged
menvil merged 1 commit into
developfrom
feature/CONV-139-implement-jpg-to-webp-driver
Jun 1, 2026
Merged

CONV-139: Implement JPG to WEBP driver#133
menvil merged 1 commit into
developfrom
feature/CONV-139-implement-jpg-to-webp-driver

Conversation

@menvil

@menvil menvil commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Implements JpgToWebpDriver at app/Conversion/Drivers/Image/JpgToWebpDriver.php
  • Decodes source JPG, encodes to WEBP with configurable quality using intervention/image GD driver
  • Returns ConversionResult without mutating models

Test plan

  • JpgToWebpDriverTest passes (file exists, extension=webp, mime=image/webp, size>0)
  • composer test passes (262 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Implements JpgToWebpDriver (jpg_to_webp) to convert JPGs to WEBP with configurable quality. Satisfies CONV-139.

  • New Features
    • JPG → WEBP conversion via intervention/image (GD).
    • Quality presets: low, medium, high, max (default: high).
    • Writes to local storage and returns ConversionResult; no model mutations.

Written for commit 59da5ba. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil menvil merged commit 5e854ed into develop Jun 1, 2026
1 check was pending
@coderabbitai

coderabbitai Bot commented Jun 1, 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: d2428efc-93f6-404f-9178-b7d04cc88e4c

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-139-implement-jpg-to-webp-driver

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 deleted the feature/CONV-139-implement-jpg-to-webp-driver branch June 1, 2026 17:26
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