Search found 547 matches

by Drarakel
2010-06-02T06:11:49-07:00
Forum: Users
Topic: How do I limit JPG to 256 colors?
Replies: 3
Views: 10204

Re: How do I limit JPG to 256 colors?

Also, use "-sampling-factor 1x1" (alongside "-quality 100") for the best JPEG output. Subsampling can 'smear' some colors. Perhaps you meant that with "blend surrounding colors".
by Drarakel
2010-06-02T05:59:02-07:00
Forum: Users
Topic: Invalid bit depth for RGBA image
Replies: 4
Views: 11486

Re: Invalid bit depth for RGBA image

If you want only 2 colors, you should turn off antialiasing. Try something like that: convert -size 720x576 xc:white -transparent white +antialias -font Helvetica-Bold -pointsize 25 -fill red -draw "text 0,312 'Text for button 1'" -depth 8 -type PaletteMatte out.png This should work for so...
by Drarakel
2010-05-29T00:56:14-07:00
Forum: Bugs
Topic: possible bug with color reduction of PNG image
Replies: 2
Views: 8560

Re: possible bug with color reduction

This may be two separate issues. I think, the color reduction is ok here. One gets the expected output (with transparency) when saving to TIFF/MIFF/BMP/etc. But the PNG saving part seems to have problems.. So.. Your original PNG has less than 256 colors and gets read in as PaletteMatte (the file is ...
by Drarakel
2010-05-28T23:35:54-07:00
Forum: Bugs
Topic: Regression in bit depth reduction?
Replies: 10
Views: 23068

Re: Regression in bit depth reduction?

For more info check: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16157 Interesting thread! I think you wrote about the same issue (a bias towards half a sample darker). It's just appearing at different places/versions... I'm using the integer versions of ImageMagick (the reg...
by Drarakel
2010-05-28T21:19:58-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

whether Nconvert will produce a BMP3 with partially transparent pixels nor whether Xnview could display one properly. Yes (both cases). However, BMP is a Microsoft file format and the documentation that comes with my C compiler, and also what I have found on Microsoft's website, says that the high ...
by Drarakel
2010-05-28T18:34:15-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

IrfanView is indeed a good programm - but it can't display transparency.
Free Windows software that is able to handle the alpha channel in BMP V3 files is Gimp or XnView (the latter includes Nconvert).
by Drarakel
2010-05-28T12:25:09-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

Nconvert creates ARGB files with a BMP V3 header.
by Drarakel
2010-05-21T21:19:08-07:00
Forum: Bugs
Topic: Regression in bit depth reduction?
Replies: 10
Views: 23068

Re: Regression in bit depth reduction?

The problem is fixed in ImageMagick 6.6.2-0 Beta available by sometime tomorrow. OK, thanks. But with "the problem", did you mean something with the bit depth reduction - or something with the grayscale conversion? Because my posting was not about the actual grayscale conversion - that wa...
by Drarakel
2010-05-21T14:54:03-07:00
Forum: Bugs
Topic: Regression in bit depth reduction?
Replies: 10
Views: 23068

Regression in bit depth reduction?

If one has a 16 bit (channel bit depth) image and saves that to a 8 bit quality file format, an implicit bit depth reduction is done. That implicit bit depth reduction should be same as the explicit "-depth 8" operation.. Is that correct? (At least the documentation seems to imply that.) I...
by Drarakel
2010-05-21T12:46:41-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

You're probably referring to the line "The high byte in each DWORD is not used." within the biBitCount section. But that line is the same in the BITMAPV4HEADER and BITMAPV5HEADER descriptions. I just don't think much of these details within the Microsoft descriptions - it's not really cons...
by Drarakel
2010-05-21T11:27:00-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

That's correct because V3 does not support an alpha layer. In ImageMagick, it's not supported. But a few other programs do create BMP V3 files with alpha layer. when I do so convert 1.png 1.bmp I get a bmp file with alpha channel v1 Most likely, you will get a BMP V4 file. Again: BMP3 with alpha ch...
by Drarakel
2010-05-20T09:02:22-07:00
Forum: Users
Topic: is it possible to create a BMP3 with alpha channel?
Replies: 14
Views: 36311

Re: is it possible to create a BMP3 with alpha channel?

BMP Version 1 - with alpha channel?? Can't believe that.
I'm not sure what your question is. As I said, with a current version of ImageMagick, you can read/write BMP V4 and V5 files with an alpha layer (not BMP3).
by Drarakel
2010-05-20T08:28:06-07:00
Forum: Users
Topic: bmp with alpha channel in png with transparent background
Replies: 3
Views: 9025

Re: bmp with alpha channel in png with transparent backgroun

You could upload one of your BMP files - then we can tell you for sure.
It's also possible that your ImageMagick version is simply too old. What version do you use?
by Drarakel
2010-05-19T09:30:45-07:00
Forum: Users
Topic: bmp with alpha channel in png with transparent background
Replies: 3
Views: 9025

Re: bmp with alpha channel in png with transparent backgroun

At the moment, ImageMagick supports BMP with alpha layer if the BMPs are stored with a Windows V4 or V5 header - but not if it's a BMP with V3 header. So, probably you have BMP V3 files. In that case, you will have to use another software (e.g. Gimp) to convert your files to PNG first.
by Drarakel
2010-05-11T21:33:30-07:00
Forum: Bugs
Topic: BUG!? border + trim = 2 line remaining only at top
Replies: 13
Views: 26866

Re: BUG!? border + trim = 2 line remaining only at top

I don't want to start an argument here 8), but the only exception in this thread where the files would be stored as 'normal' PNG (3x8bit) is my last test: convert B156074.png PNG:- | identify -format %k - 248 convert B156074.png GIF:- | identify -format %k - 248 convert B156074.png -bordercolor whit...