Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to apply one image's channel to another image ? #4268

Open
YangShaoyue opened this issue Nov 15, 2024 · 1 comment
Open

How to apply one image's channel to another image ? #4268

YangShaoyue opened this issue Nov 15, 2024 · 1 comment
Labels

Comments

@YangShaoyue
Copy link

Question about an existing feature

Is there any way to convert old.jpg to new.jpg or new.jpg to old.jpg ? Maybe using color space or channel etc.

Please provide sample image(s) that help explain this question

old.jpg
old

new.jpg
new

new.jpg looks bluer and clearer than old.jpg, those two pics was generated by different video capture card.

@YangShaoyue YangShaoyue changed the title How to convert those two image to each other ? How to apply one image's channel to another image ? Nov 16, 2024
@lovell
Copy link
Owner

lovell commented Nov 17, 2024

Did you see the modulate operation? https://sharp.pixelplumbing.com/api-operation#modulate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants