Jump to content
You must now use your email address to sign in [click for more info] ×

CONVERTING A PHOTO TO SIMPLE PEN/PAINT STROKES' VECTOR OR JPEG


Recommended Posts

Hello!

Does anyone know if there's a way to take a photo (say of my dog) and transforming it into a very simple (over-simplified lol) vector or even a jpeg image of pen-strokes? I have all 3 of the Affinity apps, but would rather use AP as I'm more "acquainted" with it. 

What I want is to order a custom-made doormat, like in the attached photo, with my dog's image on it - but obviously they can't print anything detailed, nor use shade gradients etc. So my only option is to give them a file that looks as simple as the attached sketch example so that they can use that. So I would like to be able to take an existing photo of my dog (example of an unknown dog's photo attached) and somehow convert it to simple sketch.

Any ideas?

Screenshot 2021-12-26 at 4.42.52 PM.png

Screenshot 2021-12-26 at 4.43.33 PM.png

Screenshot 2021-12-26 at 4.50.50 PM.png

Link to comment
Share on other sites

For raster/bitmap see:

For vectors use some bitmap-to-vector tracing tool (Inkscape or one of the Online tracers).

  1. Prepare your dog image, cutout the background & make a good fine grade selection of the dog. Save the result as a JPG/PNG image.
  2. Let the JPG/PNG be processed by the tracing tool, adapt the tracing settings accordingly to your needs, the result will be vectors here then.
  3. Save the vector result as PDF/SVG and reuse it in Affinity.

Just a quick one minute take with a vectorizer/tracer and no fine grade selection/preparations at all ...

dog_vector.jpg.7a7f609553120ab82c0957381dd5ef5e.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Thank you - great to know how to do :) But, in this specific case (getting the image printed on the custom doormat) it's not at all wh at I need :( 

- I followed the steps shown in the video you had linked (https://www.youtube.com/watch?v=AesJUS2yO2c) and got a result close to the one you showed (attached here). Though it may look like a pencil sketch (which is great), it could definitely not be printed on the doormat because apart from the dog's eyes, nose, mouth and paws which are clear black, everything else that makes the dog up (body contour, fur etc) is made of shades of grey. And the doormat printer can't do that. :( That's why in my first post I attached a black & white sketch of some dog which was made of thick black lines only. If you see the example of a custom doormat printing, that I had attached initially, you will understand that anything that's designed on it can either be made up of clear black print, or no print at all. So there can be no color gradients nor shades that make the dog's drawing up for this specific use. That's why I wanted to somehow convert a photo of my late dog into an (over)simplified sketch - like the sketch I found online and attached previously. 

Is that even possible to generate from a photo? (Maybe what I need to do simply can't be done?) :P

Screenshot 2021-12-28 at 11.13.50 AM.png

IMG_6232.jpeg

Link to comment
Share on other sites

1 hour ago, henryb said:

Though it may look like a pencil sketch (which is great), it could definitely not be printed on the doormat because apart from the dog's eyes, nose, mouth and paws which are clear black, everything else that makes the dog up (body contour, fur etc) is made of shades of grey. And the doormat printer can't do that.

Reduce the image colors to just 2 then, or the amount of colors that printer supports at all. - For a bitmap-to-vector tracing tool adjust the colors to just two for tracing!

dog1.jpg.6982f3f2dcab7573787a997b1d172a54.jpg

dog2.jpg.fb020c3963ed9eac5bc4b7f3a387d802.jpg

dog3.jpg.cba2afa9efb15fe37030cec46fc28693.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

9 hours ago, v_kyr said:

Reduce the image colors to just 2 then, or the amount of colors that printer supports at all. - For a bitmap-to-vector tracing tool adjust the colors to just two for tracing!

 

 

I suppose you mean change it to 2 colors, so that only black and white "exist" (and not a color mix that produces shades of black?)? If that's what you meant, and why you said it, can you please tell me how I change this?

 

1867173694_Screenshot2021-12-28at10_13_38PM.thumb.png.0bdaf9c14343df0edea6bacc7aec8727.png

 

 

Link to comment
Share on other sites

4 hours ago, henryb said:

I suppose you mean change it to 2 colors, so that only black and white "exist" (and not a color mix that produces shades of black?)? If that's what you meant, and why you said it, can you please tell me how I change this?

Sadly Affinity software doesn't support/saves as 1-bit B&W (...just color/graylevels), so you have to do some workarounds. Like applying a posterize adjustment (level 2) [Posterize Adjustment = Tontrenning in german] on your above greyscale image, or instead apply a B&W conversion and change the layers blend mode to harsh light etc.

tontrennung.jpg.7422a6cb8eb8805a36fd4a42dce5ab33.jpg

 

With a bitmap-to-vector tracer it's easy, there you just have to do a 2 color (B&W) tracing of the image!

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

I find the easiest way to convert to two colours is to use a Threshold Adjustment (Layer > Adjustment > Threshold). You can easily adjust the threshold level using the slider.

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.