LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2016, 10:07 AM   #1
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Convert svg to CMYK image


I'm in the process of publishing a book through CreateSpace. The book contains several black and white vector images that I created through Inkscape. I am currently inserting these images into a Word document after exporting them from Inkscape in png format. Finally, before uploading to CreateSpace, the document is converted to pdf.

The only problem is that CreateSpace insists on CMYK images (and moreover I want pure K), and the images in the pdf created through this process are chock-a-block full of CMY colour.

I don't have much hair left now. Any advice on how I can convert the Inkscape svg's to CMYK (with only K), in a format that Word will import (BMP, EMF, EMZ, EPS, FPix, FPX, GIF, JPEG, JFIF, JPEG-2000, PDF, PICT, PCT, PNG, PNTG, PSD, QTIF, SGI, TGA, TPIC, TIFF, TIF, WMF, WMZ), and the best way of doing this without losing too much resolution?

Last edited by hydrurga; 03-25-2016 at 10:10 AM.
 
Old 03-25-2016, 11:58 AM   #2
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
I had a similar issue with respect to CMYK (again for publishing) about two years back. The issue is CMYK is barely supported in inkscape or GIMP. What I ended up doing eventually was as follows -

1/ Export a high resolution image as png from inkscape.
---> This is easy. Export Bitmap (CTRL+SHIFT+E)

2/ Download an appropriate CMYK color profile.
---> I remember this being easy too.

3/ Use imagemagick to convert the image from RGB to CMYK.
---> This worked very well. Unfortunately, I do not remember anything beyong using the imagemagick command convert. But, this link might at the minimum get you started on the conversion process.


At the end of the day, I was able to convert RGB to CMYK successfully using the steps above. Hope you will also be able to. Good luck.
 
2 members found this post helpful.
Old 03-25-2016, 05:11 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,464

Rep: Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605
i use Gmic , it has replaced imagemagick for almost all of my needs

convert rgb png image to a 32 bit float 4 band ckmy
Code:
gmic 4.png  -rgb2cmyk -o 4.tiff
screenshot ( 32 bit images are fun to upload to image sites) using Nip2
http://imgbox.com/a827ryC0

also converts svg
Code:
gmic image.svg  -rgb2cmyk -o image.tiff

Last edited by John VV; 03-25-2016 at 05:21 PM.
 
2 members found this post helpful.
Old 03-25-2016, 05:33 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018

Original Poster
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Thanks to both of you. I'll give these a whirl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing EPS vector graphics into Abiword or convert into SVG A-Freak Linux - Newbie 1 01-16-2013 06:57 PM
FOSS image editor capable of saving as SVG Kenny_Strawn Linux - Software 2 06-19-2010 06:50 PM
Need advice on xml svg image editor. cyb0rg777 Programming 2 08-12-2007 05:10 AM
Cross-platform C/C++ SVG render/convert andrewmatta Programming 5 08-28-2006 10:19 PM
svg image doesn't show up in the browser eantoranz Programming 1 11-24-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration