Search found 10 matches

by mack3457
2018-02-23T08:38:52-07:00
Forum: Bugs
Topic: Transparent image after scale
Replies: 2
Views: 7166

Re: Transparent image after scale

Ok, found the reason. The geometry of the original file had an offset:

Code: Select all

  Page geometry: 5100x7000+5100+0
  Origin geometry: +5100+0
The solution was to use:

Code: Select all

convert im02.tif -scale 600x400 +repage im02.gif
Thanks,
Thomas Mack
by mack3457
2018-02-23T07:23:51-07:00
Forum: Bugs
Topic: Transparent image after scale
Replies: 2
Views: 7166

Transparent image after scale

I found some images on our website, where the scaled version of a non-transparent image was completely transparent without any other content. Is this a possible bug or did I completely misunderstand something about it? I placed one such image on http://th-mack.de/download/bugs/im02.tif for testing ...
by mack3457
2015-01-11T08:38:23-07:00
Forum: Bugs
Topic: convert -resize sometimes produces one-colored images
Replies: 4
Views: 4602

Re: convert -resize sometimes produces one-colored images

Great - thank you!

Thomas Mack
by mack3457
2015-01-11T07:09:05-07:00
Forum: Bugs
Topic: convert -resize sometimes produces one-colored images
Replies: 4
Views: 4602

Re: convert -resize sometimes produces one-colored images

Oh yes. I tested with http://th-mack.de/download/test/in.tif . Problems on 6.9.0-2 / FreeBSD 10.1 e.g. on -resize x135 and x303 when using convert directly. When using in PerlMagick, many more: #!/usr/bin/perl use Image::Magick; for(1..400) { my $image = Image::Magick->new; $image->Read("in.tif ...
by mack3457
2015-01-11T03:11:05-07:00
Forum: Bugs
Topic: convert -resize sometimes produces one-colored images
Replies: 4
Views: 4602

convert -resize sometimes produces one-colored images

Resizing images sometimes reduces colors to just one color. This depend on the input file and the size reduction. Running: for f in $(seq 1 1000); do convert in.tif -verbose -resize x$f out.gif; done produces output like this: [...] in.tif=>out.gif TIFF 7027x5426=>263x203 263x203+0+0 8-bit Palette ...
by mack3457
2013-04-10T10:52:26-07:00
Forum: PerlMagick
Topic: crop + page different in command line to perl
Replies: 1
Views: 11127

crop + page different in command line to perl

Hi! If I use convert input.tif -crop 400x300+301-143 -page 400x300+0+143 output.gif I get the desired result, which is a 400x300 pixel image with the top 143 pixel blank. When I'm using the perlmagick version of it: $image->Crop(geometry => "400x300+301-143"); $image->Set(page => "400x300+0+143"); I ...
by mack3457
2012-10-22T13:40:48-07:00
Forum: Bugs
Topic: assertion failed on TIFFWriteDirectoryTagCheckedRational
Replies: 5
Views: 9887

Re: assertion failed on TIFFWriteDirectoryTagCheckedRational

So this resolves the problem - thank you very much!

I never found any community or developer resolving bugs or problems so fast and taking care of problems practically immediatelly - very nice.

Thomas (Mack)
by mack3457
2012-10-21T13:07:44-07:00
Forum: Bugs
Topic: assertion failed on TIFFWriteDirectoryTagCheckedRational
Replies: 5
Views: 9887

Re: assertion failed on TIFFWriteDirectoryTagCheckedRational

Use ftp://th-mack.de with p6791371-bugs as user and bugreports as password.

Just got the idea, ImageMagick might have used existing libraries, as I didn't change LD_LIBRARY_PATH when testing with different ImageMagick versions. So maybe I will test again tomorrow.
by mack3457
2012-10-21T12:39:06-07:00
Forum: Bugs
Topic: assertion failed on TIFFWriteDirectoryTagCheckedRational
Replies: 5
Views: 9887

Re: assertion failed on TIFFWriteDirectoryTagCheckedRational

So, just did some tests: - ImageMagick 6.8.0-2 on Windows XP works fine on this image - Reinstalled 6.7.9-4 from sources on FreeBSD, and it didn't work either - Installed from same sources and identical configure options on Linux, and it did work correctly - ImageMagick 6.6.5-8 on Linux didn't have ...
by mack3457
2012-10-21T01:56:06-07:00
Forum: Bugs
Topic: assertion failed on TIFFWriteDirectoryTagCheckedRational
Replies: 5
Views: 9887

assertion failed on TIFFWriteDirectoryTagCheckedRational

Hello, I encounter the same problem as in http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20287&p=81577&hilit=TIFFWriteDirectoryTagCheckedRational#p81577 with the current ImageMagick version on FreeBSD. On above bug report it's written, the problem should have been resolved with ...