It is currently Sat May 04, 2024 3:08 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 4:35 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Tracing bitmap in vector editors and parsing it back in raster image

Kinda cool oilifying effect



Image

original photo
Image


Last edited by K1TesseraEna on Mon Jan 28, 2013 7:07 pm, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 5:05 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
The same lady again

Image


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 5:54 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
How many trace layers are you using in the vector program? Playing with that number can give interesting results.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 6:41 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Tracing in either Inkscape or Ai creates one trace object, always in one layer. Then you can ungroup it and sent to different layers.
Is that what you mean, Odin? I've never seen an option to create multilayered trace. Am I missing something?


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 7:04 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Sorry, my wording was not right I should have said scans. In the Inkscape options you can change the scans, I think the default is 8.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 7:10 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Odinbc wrote:
Sorry, my wording was not right I should have said scans. In the Inkscape options you can change the scans, I think the default is 8.



Oh, I see what you mean now. Thanks for pointing that out, Odin!


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 7:57 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
One of the earliest artistic effects that I started out with was vector simplication K1TesseraEna (back in the late 1990s/early 2000s) which sort of got me into the whole retouch bug in the first place. Looks like you are well on the way of catching that same bug too. Kudos to living with your future and lifelong disease. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 8:02 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
What prog did you use back then, Lyle? Are you talking about Potrace?


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 8:47 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Hijaak; believe they are still in business (not sure though). Slow as molassis when the image was bigger then 640X480 (pretty much standard back in the late 90s; lol). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Mon Jan 28, 2013 9:08 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Never heard of that program :cool But what you said before, it's not the artistic effects i'm after. Just trying to find out how good is vectorizing for upscaling small size images. What I posted here was kind of cool byproduct of the failed attempt. The original photo is about 450x450, after vectorizing with good enough tracing I can scale it up to any sensible size.
What todays software can do at converting pixels to vector paths is truly amazing.


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 4:31 am  (#11) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2425
@Lyle
Quote:
Hijaak; believe they are still in business (not sure though). Slow as molasses when the image was bigger then 640X480 (pretty much standard back in the late 90s

That rang a bell, I worked for a number of years in the middle east & east asia, and for lack of better things to do, became a collector of dubious software. Hijaak is still there in my archive.

@K1TesseraEna
Quote:
...Just trying to find out how good is vectorizing for upscaling small size images...

Your portrait turned out very effective.
For small images, as with anything graphics it depends on the subject what process to apply. I did a video not so long ago, using Gimp and potrace. It is in linux but some pointers for windows users.

*** warning it comes from another forum, so be tolerant ***

http://youtu.be/bhHACVo_pKE

_________________
Image


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 9:16 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 26, 2012
Posts: 342
Location: France
One question for the tracers out there (I once opened inkscape for the curiosity but nothing much).

When you trace a photo like that, what become of the original color space, is inkscape operating a color conversion, or is it still the same sRGB image ? My question is related to printing issues, you know, do I need a cmyk image or an rgb one, these annoying details.


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 1:18 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
@anarkhya
Interesting question. When you open raster image in Inkscape it asks you to either link or embed the image. SVG specifies color profile in sRGB color space. But if your image is in CMYK and the Scalable Vector editor (Inkscape, AI, CorelDraw) supports CMYK color space it will take the precedence over sRGB. SVG specification allows other ICC color profiles . AFAIK, Inkscape does not support CMYK, therefore you need to convert output bitmap to CMYK with other program. GIMP doesn't support CMYK either, you need Separate+ plugin for that.


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 1:50 pm  (#14) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Scribus has something to convert bitmap in vectors ?
Just wondering Inkscape give me same headaches than Illustrator , scribus looks simpler
(may be my mental setting, if i have to spend so much time learning and practising at least i want a scalable 3D object as result ,no less
, that learning effort is too much for me to only do something in 2D
i like learning but i must get good results also during the learning process, not only as future goal or i loose quickly loose interest and drop, as happened for vectors graphic)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 2:34 pm  (#15) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2425
Just a few observations

Although an RGB application Inkscape will import a cmyk bitmap. Not tif but jpeg is ok (at least on my PCLOS Inkscape)
Tracing a complicated image such as a portrait will end up with a reduced colour set, much like posterization. Tracing works best on say logos with solid colours.
Whether traced or not your image can be saved as an SVG or exported as a RGBA .png file. Both import into Gimp with good results.
There are Inkscape extensions that will export to a CMYK image. The one I use OutputPro is linux only and jpeg only but it does a good job of embedding color profiles. There are others (I think work on windows) which export to cmyk tif. Tried and they do open in Gimp with separate+
link for anyone interested http://www.inkscapeforum.com/viewtopic.php?f=11&t=5943

_________________
Image


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 3:40 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
@rich It's true, you can load CMYK jpeg in Inkscape and convert image to CMYK color space but only as an output file. While the image is still open in Inkscape it is always sRGB. I think that's was anarkhya was asking.
I'm using AI that has built-in CMYK support, meaning it is not only able to import/export CMYK profile images but, if not mistaken, also operates in this color space.
There is a simple test. Open CMYK jpeg in Inkscape and export as bitmap. It will not pass on the embedded into imported image CMYK profile. The output file will always be sRGB (unless you use the extension CMYK conversion).


@PC. No, I would not use Scribus for that. It's true, Scribus (like Inkscape) can import raster image and export as SVG without tracing. But it's not the same as tracing.
Try to export that vector image as large size bitmap, you'll get the same jagged raster image as if you were upscaling in GIMP or PS using simple bicubic interpolation.


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 4:25 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
ah ok, i was only interesting to find a EASY (without have to try to learn again all the vector graphic basis ) way to do tracing

I have Inkscape (even Illustrator ) but i almost never open them

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 5:55 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 26, 2012
Posts: 342
Location: France
Well I was asking the question because the first traced image in this thread looks, color speaking, really close to the bitmap one, and from my very little printing experiments when you print a bitmap you find out that there's a gap between the colors you see on a screen and the color you get on your paper, and in the worse situations you encounter the "impossible" colors issue (IIRC because CMYK can't do all the colors sRGB has).

So, my point was: do inkscape convert colors into some kind of safe-printing-mode or is it a more complex problem ?


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Tue Jan 29, 2013 6:45 pm  (#19) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
You might want to first checkout out, Color Management. Be aware the color profiles can slow down Gimp. One other thing to check, Image menu >> Print Size. Inkscape has no advantage over Gimp with printing, Gimp has the advantage for preparation.

I understand why you were considering Scribus, it's superior to both Gimp and Inkscape for pre-flight and printing. One other thought; there is a good chance the best printing software on your machine (not the driver) is bundled from the manufacturer of your printer or can be downloaded from their web site.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Tracing bitmap again
PostPosted: Wed Jan 30, 2013 2:32 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
anarkhya wrote:
Well I was asking the question because the first traced image in this thread looks, color speaking, really close to the bitmap one, and from my very little printing experiments when you print a bitmap you find out that there's a gap between the colors you see on a screen and the color you get on your paper, and in the worse situations you encounter the "impossible" colors issue (IIRC because CMYK can't do all the colors sRGB has).

So, my point was: do inkscape convert colors into some kind of safe-printing-mode or is it a more complex problem ?


You're right about CMYK vs rgb colors.

Here's the same traced jpeg image in CMYK (left/top) and sRGB (right/bottom) color spaces

ImageImage


Even visually, there is some difference.

To see the exact difference between the two, you can place them as layers in GIMP (in any order)
and set the blending mode of the top layer to 'Difference'.
You'll get this.

Image



The histogram of the above image shows the difference, indeed.Image
Total match would result in completely black 'difference' image and flat histogram.


Top
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts tracing video lineage

2

No new posts Attachment(s) Creating custom bitmap fonts

9



* Login  



Powered by phpBB3 © phpBB Group