From 5fb54e56fabb69237fdf66d4134483d37b455f5c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Apr 2016 14:35:16 -0400 Subject: Tweaked image generation --- difference.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/difference.cpp b/difference.cpp index 66e4550..4575671 100644 --- a/difference.cpp +++ b/difference.cpp @@ -278,7 +278,7 @@ int main(int argc, char** argv) composite.draw(Magick::DrawableCompositeImage(width, 0, pic2)); composite.font("@coolvetica.ttf"); - double fontsize = rand() % 72 + 16; + double fontsize = 72; for (;;) { composite.fontPointsize(fontsize); @@ -309,7 +309,8 @@ int main(int argc, char** argv) composite.fontTypeMetrics(ant2, &metric); int x2 = (width - 40 - metric.textWidth())/2+20+width; composite.strokeColor("white"); - composite.strokeWidth(1); + composite.strokeWidth(2); + composite.antiAlias(false); composite.draw(Magick::DrawableText(x1, y, ant1)); composite.draw(Magick::DrawableText(x2, y, ant2)); -- cgit 1.4.1