Comments (6)
What do you mean by color space is not preserved? Could you explain? Even better would be if you could attach the source image and the resulted output.
from caire.
The first one (in) is in Adobe RGB (1998) colour profile, the second one (out) becomes sRGB ICE61966-2.1
Notice the colours are also less vibrant.
This is the command I am using :
caire -in beach.jpg -width 1969 -out beach2.jpg -debug=1
So here are the two images :
from caire.
Once uploaded to Github, both the in and out image seem to be more or less the same, I think the Github image preview is reincoding them or something,
You can try a download one and use caire on it to reproduce the issue
from caire.
And sorry it is the colour profile that changes, not the colour space
from caire.
I've done a little research, but unfortunately the image package does not preserve the color profile of the original image on encoding. There are other tools like exiftool
where you can modify the color profile of an image or libvips
which actually has a go binding also, but I'm not planning of integrating into Caire.
from caire.
OK, thank you for taking the time to investigate
from caire.
Related Issues (20)
- Support masks HOT 4
- Index out of range when using a blur radius value >= 255 HOT 1
- Preview resizing process HOT 1
- Seams left over on preview debug mode HOT 1
- error while loading shared libraries: libEGL.so.1 (installed caire using snap) HOT 8
- Image enlargement does not produce good quality output HOT 1
- Enlarging an image with face detect panics HOT 10
- https://github.com/muesli/smartcrop HOT 2
- g.ctx.Px undefined (type layout.Context has no field or method Px) HOT 3
- Missing sources on Linux (Ubuntu) - maybe instructions could be updated HOT 12
- Is a tutorial available HOT 2
- Text detection HOT 2
- Unable to run on ubuntu HOT 2
- Face flag doesnt seem to work HOT 9
- Resize not working properly when both height and width are passed in percentages HOT 2
- Algorithm doesnt consider mask properly HOT 16
- Algorithm takes forever to run for this image HOT 1
- Feat: GUI mode debugging option HOT 1
- A CI/CD Observability Solution Suggestion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caire.