Search found 8887 matches
- 2017-08-27T17:42:13-07:00
- Forum: Users
- Topic: Determining if All Pixels Fall Within a Color Range
- Replies: 22
- Views: 31923
Re: Determining if All Pixels Fall Within a Color Range
An alternative for 3 is to -solarize the image at 50% That make pure white, pure black (folding the colorspace in half) As such is any pixels after a solarize is more than 2% away from black, you have grey pixels.
- 2017-06-20T16:35:12-07:00
- Forum: Users
- Topic: Identify all colours in picture and output to txt ?
- Replies: 22
- Views: 24149
Re: Identify all colours in picture and output to txt ?
Extracting image colors... http://www.imagemagick.org/Usage/quantize/#extract Specifically you either use unique colors, or use the histogram: output format and extract teh image comment. convert rose: -format %c -depth 8 histogram:info:- This not only outputs the colors (one color per line), but al...
- 2017-06-20T16:30:06-07:00
- Forum: Users
- Topic: convert fails for fig to jpg
- Replies: 1
- Views: 4365
Re: convert fails for fig to jpg
The Fig file format is a vector image format saved by the program "xfig" . This has not seem any real changes for at least 20 years, but is still available using Linux. Heck.. I'm so old I still use it for basic line drawings (even combined with small raster images). The best way to output...
- 2017-04-26T16:21:52-07:00
- Forum: Bugs
- Topic: IM7.0.5-5 Problem with border and transparent canvas...
- Replies: 9
- Views: 15599
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...
- 2017-03-16T17:09:25-07:00
- Forum: Users
- Topic: Aliasing for 45 degree edge
- Replies: 9
- Views: 12136
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....
- 2017-03-16T17:03:51-07:00
- Forum: Users
- Topic: Aliasing for 45 degree edge
- Replies: 9
- Views: 12136
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...
- 2017-03-15T19:17:34-07:00
- Forum: Users
- Topic: How to do a sub-pixel (float) crop
- Replies: 13
- Views: 14664
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...
- 2017-03-15T19:10:37-07:00
- Forum: Users
- Topic: A Print Delegate -- FYI
- Replies: 0
- Views: 12240
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 ...
- 2017-03-13T19:36:14-07:00
- Forum: Users
- Topic: Replace/change/shift colors
- Replies: 4
- Views: 9787
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
See Modulate in LCHab and other Colorspaces
- 2017-02-26T16:54:52-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 47547
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...
- 2017-01-22T18:19:24-07:00
- Forum: Users
- Topic: Amazon Linux ImageMagick with AutoTrace
- Replies: 7
- Views: 10403
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...
- 2017-01-22T17:58:48-07:00
- Forum: Users
- Topic: Split and extend chest sprite.
- Replies: 4
- Views: 8030
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...
- 2017-01-22T16:45:31-07:00
- Forum: Users
- Topic: How To Enable Autotrace? -- Installed IM with OSX MacPorts
- Replies: 10
- Views: 29642
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 ...
- 2017-01-19T16:17:22-07:00
- Forum: Users
- Topic: -define png:size={size}?
- Replies: 11
- Views: 17540
Re: -define png:size={size}?
LOL... I wrote that advise!!!
- 2017-01-17T17:41:18-07:00
- Forum: Users
- Topic: Making a gif by rotating an image
- Replies: 6
- Views: 13941
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
http://www.imagemagick.org/Usage/anim_basics/#gif_anim
Also see Basics, Setting/Changing Image Attributes/Properities
http://www.imagemagick.org/Usage/basics/#attributes