Search found 547 matches

by Drarakel
2012-02-13T07:36:41-07:00
Forum: Bugs
Topic: 16bit TIFF Files Seem To Be Broken
Replies: 23
Views: 50996

Re: 16bit TIFF Files Seem To Be Broken

We have 4 different key / value stores. We got the fill-order from the wrong key /value store. We will add a patch to fix the problem later today. Thanks. With v6.7.5-4, the fill order 'alternation' indeed disappeared. And the "tiff:fill-order" define now works, too. Thank you! (Another s...
by Drarakel
2012-02-13T05:10:09-07:00
Forum: Users
Topic: How to convert raw image to compressed tif?
Replies: 11
Views: 87693

Re: How to convert raw image to compressed tif?

So can I consider my new file lossless after using this option? Depends on what you mean with 'lossless'. :) You won't 'lose' some values with "-auto-level", as it doesn't clip them (contrary to "-normalize"). But the values are changed/stretched, and you can't go back easily to...
by Drarakel
2012-02-13T04:46:49-07:00
Forum: Users
Topic: Need proper -resize option
Replies: 3
Views: 13508

Re: Need proper -resize option

In ImageMagick, just specify the target dimensions (or only one dimension). The 'zoom TRUE' mode in your program is the default in ImageMagic, so to speak. If you need that 'zoom FALSE' mode, add the ">" sign to the target dimensions. For example: convert input -resize "500x>" ou...
by Drarakel
2012-02-12T13:57:48-07:00
Forum: Users
Topic: How to convert raw image to compressed tif?
Replies: 11
Views: 87693

Re: How to convert raw image to compressed tif?

At least the distortions from 6.6.0 should be gone. I first thought that you wanted that brighter image (as you wrote that the "totally black" image is wrong). So I wrongly identified the byte order. Sorry. That also means that the "-endian" option behaves correctly here. And you...
by Drarakel
2012-02-12T10:47:58-07:00
Forum: Users
Topic: How to convert raw image to compressed tif?
Replies: 11
Views: 87693

Re: How to convert raw image to compressed tif?

Which ImageMagick version do you use? (In some versions, there were problem with TIFF files.) With the current version (v6.7.5-4), this should give you the right image: convert -depth 16 -size 2048x2048+1024 -endian msb gray:HM1_diffTomo_zone2_LR0001.edf -compress lzw image.tif (And, you should be a...
by Drarakel
2012-02-11T14:31:15-07:00
Forum: Users
Topic: How to crop margin in imagemagick?
Replies: 24
Views: 60850

Re: How to crop margin in imagemagick?

I guess you just want to readd a border after trimming. That's "-bordercolor white -border 4".
by Drarakel
2012-02-11T11:43:53-07:00
Forum: Users
Topic: How to crop margin in imagemagick?
Replies: 24
Views: 60850

Re: How to crop margin in imagemagick?

I don't understand what you mean by that Photoshop has not such low quality. Photoshop saves in 12 levels of quality for JPEG and I can use 4/12 to save in so called "low quality". But those 4/12 quality = 34%. No. The 4/12 in Photoshop mean ca. 70% for luma and ca. 87% for the two chroma...
by Drarakel
2012-02-11T11:10:33-07:00
Forum: Users
Topic: How to crop margin in imagemagick?
Replies: 24
Views: 60850

Re: How to crop margin in imagemagick?

The first command from you still does not work. It didn't work because you changed it - you removed the parentheses. Without them, you get those strange effects. I have looked at your PDF files. Two files have errors - but Ghostscript can handle them. The Austria and Croatia files use a smaller Cro...
by Drarakel
2012-02-11T08:27:00-07:00
Forum: Users
Topic: PDF to PNG Conversion
Replies: 2
Views: 7613

Re: PDF to PNG Conversion

Is that can be a issue? Yeah. The "CenturyGothic" font is not embedded. You probably have to: a) get this font somewhere (on my Windows system, it was installed with Office, I guess) and b) assure that Ghostscript can load the font (for example by specifying the path to this file with the...
by Drarakel
2012-02-11T06:41:37-07:00
Forum: Users
Topic: How to crop margin in imagemagick?
Replies: 24
Views: 60850

Re: How to crop margin in imagemagick?

Photoshop for example wouldn't let you specify such a low quality at all (not even with 'save for Web'). There's a reason for that. But well, maybe it works with your type of files. I use maps that have no margin or the margin is very little. I read it in Acrobat Reader. But when I run the IM conver...
by Drarakel
2012-02-11T04:04:25-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37445

Re: PNG looses transparency on rotate

Old versions don't let you change the color with Strings ("none"), for example. See here:
http://de.php.net/manual/de/function.im ... eimage.php
Perhaps you should try it with "new ImagickPixel('#00000000')" (or something like that - I don't use Imagick) in that line, too.
by Drarakel
2012-02-10T21:33:55-07:00
Forum: Users
Topic: How to crop margin in imagemagick?
Replies: 24
Views: 60850

Re: How to crop margin in imagemagick?

Perhaps try that: for /r %%F in (*.pdf) do ( "c:\program files\ImageMagick-6.7.5-Q8\convert.exe" -density 400 -colorspace RGB "%%F" -background white -alpha remove -shave 30%%x30%% "%%~dF%%~pF%%~nF.jpg" ) With some 'safety measures'. Even if there was no such error in y...
by Drarakel
2012-02-10T16:35:27-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37445

Re: PNG looses transparency on rotate

OK. But I asked:
Do you know the PHP/Imagick version of your host?
You're using the Imagick syntax, aren't you?
by Drarakel
2012-02-10T14:57:26-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37445

Re: PNG looses transparency on rotate

OK. Seems to be a problem partly because of Imagick..? Because at the commandline, it should work with that file and with the background color "none" - even with that old IM version, I think. Do you know the PHP/Imagick version of your host? Did you try to set the background color with a s...
by Drarakel
2012-02-10T13:02:05-07:00
Forum: Bugs
Topic: Byte Order Problem
Replies: 24
Views: 62668

Re: Byte Order Problem

"-define tiff:endian" (byte order) is correct. But "-define tiff:fill-order" doesn't change anything (at least not for me). "-endian" sets the fill order right now. And there's no global setting or 'overlap'. But both settings can be changed, so there's no problem with ...