Search found 29 matches

by myicq
2018-05-24T03:56:03-07:00
Forum: Users
Topic: How to make a "perfect grid" in BMP ? [solved]
Replies: 3
Views: 4045

Re: How to make a "perfect grid" in BMP ? [solved]

Believe I figured it out, via a small trip through PPM format. I marked this thread as solved. The solution is to make sure the lines are not Antialiased. Thanks for response and link, snibgo In case anyone can use the script: ## ------------ perl script for making grids ---------------------- ## us...
by myicq
2018-05-24T01:59:30-07:00
Forum: Users
Topic: How to make a "perfect grid" in BMP ? [solved]
Replies: 3
Views: 4045

Re: How to make a "perfect grid" in BMP ?

Desired results (simplified) showing 10px 1 and 2 px wide.

Image
https://postimg.cc/image/bgmw7gmx7/

Image
https://postimg.cc/image/kbnqi240r/
by myicq
2018-05-24T01:40:05-07:00
Forum: Users
Topic: How to make a "perfect grid" in BMP ? [solved]
Replies: 3
Views: 4045

How to make a "perfect grid" in BMP ? [solved]

I have the need to programatically create a 1 bit BMP grid, meaning that I have the following parameters: Width of file in pixel Height of file in pixel line width in pixel line offset in pixel I have done it in PerlMagick so far, but could use Imagemagick directly if need be, that's no problem. BUT...
by myicq
2015-06-16T02:56:30-07:00
Forum: PerlMagick
Topic: PerlMagick Annotate Rotate text
Replies: 1
Views: 10707

PerlMagick Annotate Rotate text

I have (FINALLY) found out how to rotate text in PerlMagick. But the logic does not match what I expected. First : version = ImageMagick 6.9.1-2 Q16 x86 2015-04-14 http://www.imagemagick.org My goal is to write text vertically rotated 90 degrees clockwise. I kind of expected the syntax to be this: $...
by myicq
2015-06-08T06:34:05-07:00
Forum: PerlMagick
Topic: Drawing a 2 color (monochrome/bilevel) image takes forever
Replies: 0
Views: 10605

Drawing a 2 color (monochrome/bilevel) image takes forever

I have made a Perl script to draw vertical lines at fixed distances. Output must be 2bit BMP (bilevel). The image size is 600 DPI fixed. Drawing and image generation works fine, and is super fast. It's the writing that is a time killer. An image of 15000 pixel horizontal works OK, and is done in 7-1...
by myicq
2015-05-20T05:09:29-07:00
Forum: PerlMagick
Topic: Cannot for the life of me get annotate to do anything
Replies: 6
Views: 48938

Re: Cannot for the life of me get annotate to do anything

This may be necro-posting, but I had exactly the same issue, and found what seemes to cause the situation. This does not change the image: mogrify -pointsize 150 -fill yellow -gravity north -annotate "%t" x.jpg But this works as expected: mogrify -pointsize 150 -fill yellow -gravity north ...
by myicq
2015-03-02T03:38:07-07:00
Forum: Users
Topic: Add new fonts to pango (ghostscript)
Replies: 3
Views: 5113

Re: Add new fonts to pango (ghostscript)

Maybe I am mistaken about Pango vs Ghostscript. But I did not find an option to call a custom font and use that.

Will make some more trials later.

About the version - I do not know where I got it from. Will upgrade soon then. Sorry I can't be of more help.
by myicq
2015-02-24T07:33:20-07:00
Forum: Users
Topic: Add new fonts to pango (ghostscript)
Replies: 3
Views: 5113

Add new fonts to pango (ghostscript)

First a great thank you to developers of IM. After I installed last update, suddenly Pango worked on Windows. WOW. For others, this is what I have: Version: ImageMagick 6.9.0-1 Q16 x86 2014-12-22 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC Features: DPC OpenM...
by myicq
2015-02-11T06:37:31-07:00
Forum: Users
Topic: Offline version of Anthony Thyssen examples ?
Replies: 2
Views: 3431

Re: Offline version of Anthony Thyssen examples ?

@Bonzo - yes, thanks. I will do that, as an alternative.
by myicq
2015-02-11T05:47:52-07:00
Forum: Users
Topic: Offline version of Anthony Thyssen examples ?
Replies: 2
Views: 3431

Offline version of Anthony Thyssen examples ?

The ImageMagick documentation is included with installations. Good !

But does an offline version of the excellent (and much much needed) examples from Anthony Thyssen exist ? Even a zipped website copy would be perfect. I don't always have online access when on the road.
by myicq
2015-02-04T04:58:06-07:00
Forum: Users
Topic: Converting raw greyscale BMP image
Replies: 6
Views: 21678

Re: Converting raw greyscale BMP image

According to my arithmetic, 35700 = 300x119 (not 118). convert -size 300x119 -depth 8 gray:qwerty.raw q3.bmp This works for me (IM v6.7.9 on Windows 7). Snibgo - I never thanked you for the solution you gave here. This way works great. convert -size {xsize}x{ysize} -depth 8 gray:{rawfile} outputfil...
by myicq
2015-01-22T08:55:51-07:00
Forum: Users
Topic: Rotate / wrap image around a circle ( center ) ?
Replies: 2
Views: 4383

Rotate / wrap image around a circle ( center ) ?

Given that I have an image on a file, what would be a strategy to wrap that image around the center of a circle ? Example: I have an image with text "Circumference", and would like a result like this http://mypages.iit.edu/~smart/nortber/image001.gif The actual application is not text, but...
by myicq
2013-09-16T03:57:50-07:00
Forum: Users
Topic: Drawing on bilevel PNG is (very) slow
Replies: 3
Views: 3757

Drawing on bilevel PNG is (very) slow

Related to my previous post ( http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=24069 ), I am making experiments with annotation and drawing on the image. In principle all works. But as soon as I work with monochrome (bilevel) images, ImageMagick becomes extremely slow. I have an I...
by myicq
2013-09-16T01:21:30-07:00
Forum: Users
Topic: Large 1bit BMP with text, how ?
Replies: 3
Views: 4908

Re: Large 1bit BMP with text, how ?

It seems that IM doesn't generally want to create bilevel BMP files. But it will do, if the input is a bilevel PNG. Thank you :) It's beyond my understanding why this is not working, since it's such a simple format and used everywhere in Windows + industrial machines world. Oh well. I can achieve t...
by myicq
2013-09-11T01:16:33-07:00
Forum: Users
Topic: Large 1bit BMP with text, how ?
Replies: 3
Views: 4908

Large 1bit BMP with text, how ?

I have a need to create a (large) 1bit BMP file with text inside. The file must be identical in type to this one, created using PaintShop Pro: https://dl.dropboxusercontent.com/u/22496868/large_image_test.zip The image identifies as large_image.bmp BMP 3000x1200 3000x1200+0+0 1-bit sRGB 2c I can cre...