This is my first time posting so I'll apologize ahead of time if I am missing anything, or if I need to post this elsewhere.
I'm calling the Inkscape 0.92 executable from my ASP.Net web application and I'm getting a weird result I'm hoping someone could chime in on. The colors on the file I am getting back after the call are distorted.
I have attached two example files that show what I am experiencing. "Lex_Good.PNG" is what the original file looks like, and "Lex_Bad.PNG" is the resulting file.
The original file is a .JPG that's just over 47MB.
Here are the arguments I am passing to Inkscape: var inkscapeArgs = $"-T -l {svgFileName} {inputFileName}";
I'm curious if someone has experienced this as well and if so, I'm curious if they were able to resolve it and by what means.
You are opening an SVG with an embedded or linked JPG image with Inkscape and save it with the options 'convert text to paths' and 'save as plain SVG'?
I think having the original file will help shed some light onto this. Also, it would be good to have your complete Inkscape version number. I suppose there's some filtering or blend mode lost, or it could be an issue with the JPG's color space.
Sorry I didn't explain our process better but you were just about spot on in your translation! In our process we open an SVG with embedded or linked images with Inkscape and save it with the following parameters as a PDF, "string inkscapeArgs = "-f " + svgFileName + " -A " + pdfFileName;" I apologize that the parameters I mentioned in my original post were incorrect.
The complete Inkscape version I am using is 0.92.4.
I tried uploading the original file in my initial post but was unable to do so because of size limitations in the forum; the original files is just over 47MB but the forum only allows 20MB uploads. Any ideas how I can make the original file available?
For sharing an example file, I guess in this case it would be best to make use of some file hosting service, like dropbox, google drive, https://framadrop.org/ or similar.
As your operating system may play a role here, too, can you please add that additional info? (I suppose it's Windows?)
Yep, it's a colorspace issue. Inkscape doesn't support CMYK for export. The image is in CMYK color space. Convert your images to RGB before you import them into Inkscape, e.g. using imagemagick or similar.
If you actually want CMYK for output, use Scribus or another software that has support for what you need.
Note that the above link goes to a commercial website that, besides explaining how to change output color profiles of Adobe software, also suggests one downloads a tool for fixing one's photos.
This is my first time posting so I'll apologize ahead of time if I am missing anything, or if I need to post this elsewhere.
I'm calling the Inkscape 0.92 executable from my ASP.Net web application and I'm getting a weird result I'm hoping someone could chime in on. The colors on the file I am getting back after the call are distorted.
I have attached two example files that show what I am experiencing. "Lex_Good.PNG" is what the original file looks like, and "Lex_Bad.PNG" is the resulting file.
The original file is a .JPG that's just over 47MB.
Here are the arguments I am passing to Inkscape: var inkscapeArgs = $"-T -l {svgFileName} {inputFileName}";
I'm curious if someone has experienced this as well and if so, I'm curious if they were able to resolve it and by what means.
Thanks in advance!
Let me try to translate this:
You are opening an SVG with an embedded or linked JPG image with Inkscape and save it with the options 'convert text to paths' and 'save as plain SVG'?
I think having the original file will help shed some light onto this. Also, it would be good to have your complete Inkscape version number. I suppose there's some filtering or blend mode lost, or it could be an issue with the JPG's color space.
Thanks for your replay, Maren.
Sorry I didn't explain our process better but you were just about spot on in your translation! In our process we open an SVG with embedded or linked images with Inkscape and save it with the following parameters as a PDF, "string inkscapeArgs = "-f " + svgFileName + " -A " + pdfFileName;" I apologize that the parameters I mentioned in my original post were incorrect.
The complete Inkscape version I am using is 0.92.4.
I tried uploading the original file in my initial post but was unable to do so because of size limitations in the forum; the original files is just over 47MB but the forum only allows 20MB uploads. Any ideas how I can make the original file available?
Thanks :) So it's conversion to pdf, even.
For sharing an example file, I guess in this case it would be best to make use of some file hosting service, like dropbox, google drive, https://framadrop.org/ or similar.
As your operating system may play a role here, too, can you please add that additional info? (I suppose it's Windows?)
Here is a link to the original file: https://drive.google.com/open?id=1rIjDox4wA0IymwtEoARoXrB-uBhPJqSr
My operating system is Windows 10 Pro, version 1903, OS build 18362.720
Yep, it's a colorspace issue. Inkscape doesn't support CMYK for export. The image is in CMYK color space. Convert your images to RGB before you import them into Inkscape, e.g. using imagemagick or similar.
If you actually want CMYK for output, use Scribus or another software that has support for what you need.
Thank you so very much for all your help, Maren! I will give that a try and let you know how it goes.
Hi, I found the solution why the jpeg not showing proper colors after exports and appear dark or will have distorted color saturation.
Read More : https://www.stellarinfo.com/blog/how-to-fix-jpeg-colour-change-on-export-in-photoshop-cc/
I hope this information would help you!
Thanks!
Note that the above link goes to a commercial website that, besides explaining how to change output color profiles of Adobe software, also suggests one downloads a tool for fixing one's photos.