yeet-log

My blog, using org-publish
git clone https://git.git.jamzattack.xyz/yeet-log
Log | Files | Refs

drawing.org (1354B)


      1 #+title: Drawing
      2 #+date: <2020-07-16 Thu>
      3 
      4 I used to draw all the time when I was young.  Since turning thirteen
      5 or fourteen, I don't think I can recall a single time that I drew for
      6 the sake of drawing.
      7 
      8 Anyway, I decided the other day to get out the ol' pencil and paper,
      9 and had a go at drawing again.
     10 
     11 * Converting to svg
     12 
     13 I've been inking my drawings using a black brush pen ([[https://www.pentel.com/collections/pentel-arts/products/pocket-brush-pen-with-2-black-refills][this one]] if I
     14 recall correctly, not that it matters).  Conveniently, this happens to
     15 make converting them to a digital format incredibly simple.
     16 
     17 I can simply take a picture on my cheapo $100 phone, upload it to my
     18 laptop, and run the following command:
     19 
     20 #+name: conversion
     21 #+begin_src sh :exports both
     22   convert -verbose img/dog-in.jpg img/dog-out.svg
     23 #+end_src
     24 
     25 #+RESULTS: conversion
     26 : img/dog-in.jpg=>img/dog-out.svg PNM 1447x1115 1447x1115+0+0 8-bit sRGB 4.616MiB 0.060u 0:00.136
     27 
     28 [[https://www.imagemagick.org/][ImageMagick]] somehow manages to spit out a perfectly adequate svg,
     29 removing shadows and reflections appropriately.
     30 
     31 | [[file:img/dog-in.jpg][Input]]                     | [[file:img/dog-out.svg][Output]]               |
     32 |---------------------------+----------------------|
     33 | [[file:img/dog-in-thumb.jpg]] | [[file:img/dog-out.svg][file:img/dog-out.svg]] |