Search found 21502 matches

by fmw42
2017-08-16T23:09:07-07:00
Forum: Users
Topic: Excract images from pdf/scan/etc
Replies: 4
Views: 4476

Re: Excract images from pdf/scan/etc

nibor wrote:
2017-08-16T22:36:45-07:00
How to scan a document in pdf format?
The scan output format is determined by settings in your scanner.
by fmw42
2017-08-16T15:45:30-07:00
Forum: Users
Topic: Moving the crop position inside windows in collage
Replies: 8
Views: 106

Re: Moving the crop position inside windows in collage

If all you want to do is change the crop locations in your code, then in Windows syntax with new lines for easier reading, do convert ( "1.jpg" -resize x2322 -gravity center -crop 1500x2322+X1+Y1 +repage ^ -gravity east -background white -splice 10x0 ) ^ ( "2.jpg" -resize x2322 -gravity center -crop...
by fmw42
2017-08-16T15:17:36-07:00
Forum: Users
Topic: Moving the crop position inside windows in collage
Replies: 8
Views: 106

Re: Moving the crop position inside windows in collage

One other option is simply to use +smush -X to move the two images closer or +X to move them further apart horizontally. ( change to -smush to move them up or down). See http://www.imagemagick.org/script/command-line-options.php#smush convert logo: rose: -gravity center -background gray +smush +20 l...
by fmw42
2017-08-16T15:09:48-07:00
Forum: Users
Topic: Moving the crop position inside windows in collage
Replies: 8
Views: 106

Re: Moving the crop position inside windows in collage

I do not understand what you want to do. If you move the images in your example, they will overlap each other. If that is what you want to do, then create a background image (white) the size you want. Then composite the image in the places you want rather than appending. Something like convert -size...
by fmw42
2017-08-16T15:08:42-07:00
Forum: Users
Topic: Stitch two images togather using Fudicial Point in Image Magick
Replies: 4
Views: 51

Re: Stitch two images togather using Fudicial Point in Image Magick

I am not sure I understand your question nor the how it relates to the diagram in your link. But as a guess I would assume it is a -distort Affine. See http://www.imagemagick.org/Usage/distorts/#affine or -distort Perspective. See http://www.imagemagick.org/Usage/distorts/#perspective Please, always...
by fmw42
2017-08-16T15:04:03-07:00
Forum: Users
Topic: brightness issue converting from tif to png
Replies: 23
Views: 1290

Re: brightness issue converting from tif to png

Hello, I found out that with the command below i got a really good result, but i don't understand technically what does it change. Is it safe to assume that i could add -define png:exclude-chunk=sRGB on any conversion of tif to png ? What command below? I don't see any full command line! Please be ...
by fmw42
2017-08-16T15:03:05-07:00
Forum: Developers
Topic: hw to offset text from the top of an image and give it a text alignment of center
Replies: 7
Views: 119

Re: hw to offset text from the top of an image and give it a text alignment of center

You can use annotate, but you need to do one annotate for each line of text and provide the exact location where you want the text to be located. You can chain the two annotates in the same command line. But -annotate does not draw boxes. So you would have to add a -draw "rectangle x1,y,1 x2,y2" to ...
by fmw42
2017-08-16T09:21:37-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 22724

Re: Telling the difference between color and grayscale image

First I create a test image that is black with a small area of red in the middle. convert -size 500x500 xc:gray -size 100x100 xc:red -gravity center -compose over -composite gray_red.png If you want to know the color, do the following: convert gray_red.png \ \( -clone 0 -colorspace HCL -channel gree...
by fmw42
2017-08-15T18:09:35-07:00
Forum: Users
Topic: I obtain rare effect when I scale a image in imagemagick
Replies: 9
Views: 116

Re: I obtain rare effect when I scale a image in imagemagick

Using IM 6.9.6.7 Q16 and IM 7.0.6.7 Q16 HDRI, I get your same result when using -scale when zooming a factor of 8. But using -sample works fine for me in both versions when zooming a factor of 8. Try -sample. See http://www.imagemagick.org/script/command-line-options.php#sample http://www.imagemagic...
by fmw42
2017-08-15T18:01:36-07:00
Forum: Developers
Topic: High tap count Spline filters? (Spline36/64/100/144/196/256)
Replies: 53
Views: 739

Re: High tap count Spline filters? (Spline36/64/100/144/196/256)

Here are my results for the new beta. The filter values now have no long list of zeros and seem reasonable. The verbose data seems to indicate the correct filter name and support. magick logo128.png -colorspace RGB -define filter:verbose=true -define filter:lobes=2 -filter cubicspline -resize 400% -...
by fmw42
2017-08-15T16:42:20-07:00
Forum: Users
Topic: I obtain rare effect when I scale a image in imagemagick
Replies: 9
Views: 116

Re: I obtain rare effect when I scale a image in imagemagick

What is your IM version and platform? I do not get that effect even using your command: convert PaeLa.png -scale 270% result.png Are you sure that is the command you actually used (not -resize nor -resample) How did you view the result in zoomed view? What viewer? Perhaps your viewer is doing biline...
by fmw42
2017-08-15T16:38:24-07:00
Forum: Users
Topic: I obtain rare effect when I scale a image in imagemagick
Replies: 9
Views: 116

Re: I obtain rare effect when I scale a image in imagemagick

try

Code: Select all

convert PaeLa.png -sample 270% result.png
by fmw42
2017-08-15T16:20:06-07:00
Forum: Developers
Topic: High tap count Spline filters? (Spline36/64/100/144/196/256)
Replies: 53
Views: 739

Re: High tap count Spline filters? (Spline36/64/100/144/196/256)

Makes sense to me to use whatever notation is consistent with the current notation for lanczos for example.

Correct me if I am wrong, but Anthony uses lobes for the number of lobes and support for how many lobes the filter truncates it to.
by fmw42
2017-08-15T16:04:07-07:00
Forum: Developers
Topic: High tap count Spline filters? (Spline36/64/100/144/196/256)
Replies: 53
Views: 739

Re: High tap count Spline filters? (Spline36/64/100/144/196/256)

Spline 16 has a support size of 2, spline 36 is 3, and spline 64 is 4. You set the support size with the filter:support size. OK. That makes more sense. But for support 2=n, you should evaluate (2*n)^2 = 16 values (in one dimension?). But I got originally 202 values. Please clarify the corresponden...
by fmw42
2017-08-15T16:01:00-07:00
Forum: Developers
Topic: High tap count Spline filters? (Spline36/64/100/144/196/256)
Replies: 53
Views: 739

Re: High tap count Spline filters? (Spline36/64/100/144/196/256)

From the reference, "Spline (2n) 2 Resize refers to n pixels around the point you want to interpolate." If you have 16 pixels in each dimension that would be 16x16=256 values. I am not sure when you report the verbose information on the filter is that 1D or 2D? Magick, the number of values you evalu...