Search found 8855 matches

by anthony
2017-03-16T17:09:25-07:00
Forum: Users
Topic: Aliasing for 45 degree edge
Replies: 9
Views: 214

Re: Aliasing for 45 degree edge

Hi. Thanks for the replies. The issue was actually related to the how I was using coordinates to distort the image to create 45 degree output. I was using a combination of pixel and image coordinates using exact values and %h. The result was that the output was off just enough to present the issue....
by anthony
2017-03-16T17:03:51-07:00
Forum: Users
Topic: Aliasing for 45 degree edge
Replies: 9
Views: 214

Re: Aliasing for 45 degree edge

Answering the original question, which is a core aspect of raster graphic processing. Its is sort of the elephant in the room, and as such why its seemed to have been ignored... Cam someone explain why a 45 degree angle would not be single pixel step pattern throughout the edge? Because at a 45 degr...
by anthony
2017-03-15T19:17:34-07:00
Forum: Users
Topic: How to do a sub-pixel (float) crop
Replies: 13
Views: 250

Re: How to do a sub-pixel (float) crop

Just remember viewport is only interger based. It defined what pixels in the distorted output space is in the final image (as well as the final images virtual offset). The SRT (or really a Affine Matrix transformation - or any other distortion method really) will distort based on the sub-pixel coord...
by anthony
2017-03-15T19:10:37-07:00
Forum: Users
Topic: A Print Delegate -- FYI
Replies: 0
Views: 53

A Print Delegate -- FYI

I recently needed to grab a window on my display an print it... This is what I came up with, just throwing it out there... Printing Delegate One of the most useful delegates I have ever created was to let me easily print images to a postscript printer. The printer was already set up using the linux ...
by anthony
2017-03-13T19:36:14-07:00
Forum: Users
Topic: Replace/change/shift colors
Replies: 4
Views: 153

Re: Replace/change/shift colors

I recommend modulating in a different cyclic hue colorspace such as LCHab as it will preserve the color intensity better, though the hue values are slightly different.

See Modulate in LCHab and other Colorspaces
by anthony
2017-02-26T16:54:52-07:00
Forum: Users
Topic: Watermark all images in sub folders
Replies: 26
Views: 11053

Re: Watermark all images in sub folders

Why not make this a little more direct, That is by using xargs, and feel it the file list as binary (-print0 option of "find"). find /home/path/public_html/watermark/test/original -type f -name '*.jpg' -print0 | xargs -0r mogrify -draw "gravity center image src-over 0,0 150,200 '/home/path/public_ht...
by anthony
2017-01-22T18:19:24-07:00
Forum: Users
Topic: Amazon Linux ImageMagick with AutoTrace
Replies: 7
Views: 394

Re: Amazon Linux ImageMagick with AutoTrace

The following was extracted from my personal notes on creating a autotrace package for fedora Basically I wanted to remove its dependency on imagemagick and pstoedit -- neither of which it really needs. Other than creating a replacement 'package' for fedora, without those dependancys the notes boile...
by anthony
2017-01-22T17:58:48-07:00
Forum: Users
Topic: Split and extend chest sprite.
Replies: 4
Views: 263

Re: Split and extend chest sprite.

I downloaded the left image. It consists of a chest with black space on the left, an area of shadow on the right and 5 'bands' making up the chest proper. left edge, one band, center lock, another band, and right edge. A total of 7 thin vertical segments in the image I gather you want to clone the t...
by anthony
2017-01-22T16:45:31-07:00
Forum: Users
Topic: How To Enable Autotrace? -- Installed IM with OSX MacPorts
Replies: 10
Views: 16859

Re: How To Enable Autotrace? -- Installed IM with OSX MacPorts

IM may need to be rebuilt with configuration option --with-autotrace For example convert -list Configure | grep trace shows me my current version (a software package) has --with-autotrace=no So it was not built with autotrace While my IMv7 version (self compiled) magick -list Configure | grep trace ...
by anthony
2017-01-19T16:17:22-07:00
Forum: Users
Topic: -define png:size={size}?
Replies: 11
Views: 646

Re: -define png:size={size}?

LOL... I wrote that advise!!!
by anthony
2017-01-17T17:41:18-07:00
Forum: Users
Topic: Making a gif by rotating an image
Replies: 6
Views: 440

Re: Making a gif by rotating an image

See... GIF Animations Basics....
http://www.imagemagick.org/Usage/anim_basics/#gif_anim

Also see Basics, Setting/Changing Image Attributes/Properities
http://www.imagemagick.org/Usage/basics/#attributes
by anthony
2017-01-16T22:59:06-07:00
Forum: Users
Topic: add text by "annotate"
Replies: 2
Views: 342

Re: add text by "annotate"

See...

A Word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector
by anthony
2017-01-16T22:54:41-07:00
Forum: Users
Topic: -define png:size={size}?
Replies: 11
Views: 646

Re: -define png:size={size}?

No. It is something that can be passed to the JPEG library. The PNG library has no such option available.

But remember it just removes pixel rows and columns from the final result. It is not really a good method of re-sizing an image.
by anthony
2017-01-16T22:46:53-07:00
Forum: Users
Topic: +distort Plane2Cylinder center_x,y usage
Replies: 5
Views: 259

Re: +distort Plane2Cylinder center_x,y usage

You can you either spaces, tabs, newlines or commas. in the arguments. But it must be given as a single argument which for whitespace means quotes around the argument.\ Basically quoting makes more sense as the spacing helps distinguish the x,y argument from the rest, but IM itself does not care. It...
by anthony
2017-01-16T22:32:32-07:00
Forum: Users
Topic: Making a gif by rotating an image
Replies: 6
Views: 440

Re: Making a gif by rotating an image

See IM Examples, GIF animations, for an explanation of this technique...
http://www.imagemagick.org/Usage/anim_mods/#distort

For older technique see
Simple Image Warping, Animations
http://www.imagemagick.org/Usage/warping/#animations