Back to Parent

Process

Outline your approach to the project? What ideas did you generate and how did you refine or reject them? What did you research and explore? what were the design choices? What challenges were encountered and how did you resolve them?


I successfully tried out the MiniMagick Ruby wrapper for ImageMagick that allows to read, write and modify bitmap images. One of the issues that I had is to figure out the container size for the text overlay on the image. Second, randomizing the background color and images. Third, how could I connect it database of images and then where do I export the resulting image to send it to the user using Twilio.

  1. .MiniMagick is a ruby wrapper for ImageMagick or GraphicsMagick command line. ImageMagick can be used to read and write bitmap images in many formats.
    b. Dialog flow to build a conversational UI with SMS.
  2. Minimagick was interesting for me because it allowed me to create composite images and in my case a visual "metaphor" and send it to the user. I also found a few code examples that allowed me to do a text overlay on the image.
  3. MiniMagick and, specifically, ImageMagick is great if you have a visual/image component in the service. it can be used to create/select an existing image from a folder/, receive and modify an image and send it to the user.
  4. For my project, as I mentioned earlier, I would be using it create "new metaphors" and share them with the user. The image will be created using a composite function in MiniMagick. It will take the user text input and select a random labelled image from a database. I will then create a composite larger image depicting the metaphor using the image and the text input like this.