Search found 11 matches

by mleo
2016-08-31T07:00:53-07:00
Forum: Users
Topic: contradicting resize using Windows/Linux/python/console
Replies: 4
Views: 2869

Re: contradicting resize using Windows/Linux/python/console

Solution: Should be called without escaper so _x_> instead of _x_^> or _x_\>.
by mleo
2016-08-30T23:43:05-07:00
Forum: Users
Topic: contradicting resize using Windows/Linux/python/console
Replies: 4
Views: 2869

Re: contradicting resize using Windows/Linux/python/console

Thank you. Both propositions look okay but have no effect. The strange thing is that convert works as a minimum and not as a maximum dimension resizer when called by python. I cannot imagine that this could be an mistake of python but I will ask there in a forum.
by mleo
2016-08-30T04:19:05-07:00
Forum: Users
Topic: contradicting resize using Windows/Linux/python/console
Replies: 4
Views: 2869

contradicting resize using Windows/Linux/python/console

Hi, using same call for modifier -resize und Windows and Linux convert results in different sizes. Windows version: ImageMagick 6.9.0-0 Linux version: ImageMagick 6.8.9-9 in.jpg = https://postimg.org/image/r6z743nub/ convert call: convert -trim -resize 512x512^> in.jpg out.jpg # Windows convert ...
by mleo
2016-07-07T04:30:03-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

Is there any way to solve this problem cropping an area consisting of two OR MORE rectangles using imagemagick? Otherwise I would calculate outstanding rectangles and draw them as white rectangles onto the picture ...
by mleo
2016-07-07T01:37:54-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

As I understand I should make png of it because bmp does not support transparency. Event I get this error I get the png. When calling the frame term on png instead on bmp: convert /tmp/figure.png \( -clone 0 -fill Bla... ompose CopyOpacity -composite /tmp/figure2.png it is the same result: /tmp ...
by mleo
2016-07-07T01:33:28-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

I am sorry asking again, I catched the example for one case but could not repeat it. Using this (very large) image: http://www.file-upload.net/download-11746087/page569.bmp.html saved as page569.bmp I then called: convert -crop 525x700+516+1110 page569c.bmp /tmp/figure.png which should have ...
by mleo
2016-07-06T08:18:01-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

Solution found: Export image type must be png and not bmp. If bmp is set there is no change on image. png is cropped. Why ever ...
by mleo
2016-07-06T08:14:56-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

The example worked but in real there are problems: I used this image: http://www.directupload.net/file/d/4408/9oxom9n3_png.htm Calling: convert "/tmp/import_crop.png" \( -clone 0 -fill Black -colorize 100 +write mpr:block +delete \) \( \( mpr:block -region 338x49+187+0 -fill White -colorize 100 ...
by mleo
2016-07-05T07:45:21-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

I adapted it like this especially setting mpr:block instead of mpr:BLCK which did not work. Now all fine: Thank you very much!!! convert ~/Downloads/rose.png \( -clone 0 -fill Black -colorize 100 +write mpr:block +delete \) \( \( mpr:block -region 70x10+0+26 -fill White -colorize 100 \) \( mpr:block ...
by mleo
2016-07-05T07:02:41-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

Re: crop - Cut out one or more rectangular regions of the image

Version: ImageMagick 6.8.9-9 Q16 i686 2016-06-01 http://www.imagemagick.org
System: Debian testing

convert rose.png -crop 70x10+0+26 -crop 10x46+30+0 rose_cross.png

(Leads to be a dot at the moment)

Thank you for yout help!!!
by mleo
2016-07-05T06:16:42-07:00
Forum: Users
Topic: crop - Cut out one or more rectangular regions of the image
Replies: 14
Views: 6926

crop - Cut out one or more rectangular regions of the image

Hi, I have a set of (overlapping) rectangles and I want to crop a region of ONE image that is coverd by one or more of these rectangles. Example: If first rectangle would be a horizontal bar and second would be a vertical bar both overlapping then I would like to get a cross as THE result image. How ...