Search found 8887 matches

by anthony
2017-05-04T21:40:54-07:00
Forum: Users
Topic: Getting standard Hex colors..
Replies: 18
Views: 33653

Re: Getting standard Hex colors..

If you do not mind a extra comma at the end, and no newline, you can also do something like this...

Code: Select all

convert rose: -colorspace Lab -scale 2x2! -crop 1x1 -format '%[fx:r*100],'  info:-
36.228,51.7021,54.4274,39.9542,
by anthony
2017-04-26T16:21:52-07:00
Forum: Bugs
Topic: IM7.0.5-5 Problem with border and transparent canvas...
Replies: 9
Views: 7171

Re: IM7.0.5-5 Problem with border and transparent canvas...

In the second set of examples of Border... http://www.imagemagick.org/Usage/crop/#border I go though a number of different compose methods, including Copy. And the very next example (third one) that is a specific one for Copy! convert star.gif -bordercolor LimeGreen -compose Copy \ -border 5 star_bo...
by anthony
2017-03-16T17:09:25-07:00
Forum: Users
Topic: Aliasing for 45 degree edge
Replies: 9
Views: 4125

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: 4125

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: 4196

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: 7206

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: 2514

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: 30
Views: 22946

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: 3446

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: 2541

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: 20578

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: 5376

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: 4229

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: 1822

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: 5376

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.