Search found 35 matches

by SharkD
2011-02-04T12:05:25-07:00
Forum: Users
Topic: Script failing on certain images
Replies: 9
Views: 15698

Re: Script failing on certain images

I've decided to throw in the towel. Right now I am mainly just displaying the images in a Web browser, so it doesn't really matter whether the file is 32 bits or 8 bits with a transparency index as long as it looks the same. I was hoping for a single, consistent output format - the images may be imp...
by SharkD
2011-02-03T15:27:13-07:00
Forum: Users
Topic: Script failing on certain images
Replies: 9
Views: 15698

Re: Script failing on certain images

OK, I determined by carefully examining the images that ImageMagick is dropping to 8-bit paletted images whenever the source image has fewer than 256 unique colors (regardless of the bit depth).

I'd much rather it always outputted a 32-bit image, but don't know how to get it to do that.
by SharkD
2011-02-03T14:14:54-07:00
Forum: Users
Topic: Script failing on certain images
Replies: 9
Views: 15698

Re: Script failing on certain images

Sorry about that. Here's the file name of the installer I used: ImageMagick-6.6.7-4-Q16-windows-x64-static.exe In the mean-time, you could try prefacing your output image with PNG32:yourimagename.png and see if that helps. Just tried this, but the images don't get written to the output directory. In...
by SharkD
2011-02-03T13:09:23-07:00
Forum: Users
Topic: Script failing on certain images
Replies: 9
Views: 15698

Script failing on certain images

I'm using the following script to convert a directory full of images such that the blue background color is replaced with transparency. convert "images_mecha_big_dithered\aer_bee1.png" -alpha set -channel RGBA -depth 8 -fill none -opaque blue "images_mecha_big_dithered\alpha\aer_bee1.png" It works f...
by SharkD
2008-10-03T14:24:18-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

OK, thanks for your help.
by SharkD
2008-10-01T21:13:24-07:00
Forum: Bugs
Topic: Alpha channel is reversed when creating ICO files
Replies: 0
Views: 2944

Alpha channel is reversed when creating ICO files

There is a problem with alpha channels when creating ICO files. The alpha channels are being reversed. The problem is discussed in this thread, starting with the 8th post. In particular, see anthony's post on page 2, as he has created a test case. I'll quote him here: If it is then yes. With (small)...
by SharkD
2008-09-30T02:50:16-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

The version I have supercedes 6.4.3-7 doesn't it? So, I should go ahead and file a bug report, right?
by SharkD
2008-09-29T22:13:06-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

However, there were quite some changes going on in IM 6.4.4.-7 regarding -alpha. see changelog http://www.imagemagick.org/script/changelog.php and also Controlling Transparency on http://www.imagemagick.org/Usage/basics/ I don't see a change log for 6.4.4.-7. Check with the latest version of Im to ...
by SharkD
2008-09-28T21:42:46-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

Note also that the GIMP provides users with several options regarding colordepth and compression for each frame of the file.
by SharkD
2008-09-28T19:08:41-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

Another problem related to the reversed alpha issue I mentioned above is that, after inverting the alpha channel, the "thumbnail preview" of the icon shows only the mask (or, rather the image with the inverse of the alpha channel applied to it). Not inverting the alpha channel results in the thumbna...
by SharkD
2008-09-28T18:43:49-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

The icons use the PNG format, not GIF. I've tried "-compress Zip" and "-compress Lossless", but neither have an effect on the file size. The input file (a compressed PNG file--the second image in the above post) is ~76KB; the output file (an Windows icon) is ~265KB. Incidentally, using "-compress No...
by SharkD
2008-09-28T18:13:21-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

I updated to the latest version of IM and the problem no longer exists. However, one oddity is that I have to reverse the alpha channel of the input images before converting them to icons. Here's the command-line I used: convert fate_abomination_256.png fate_abomination_048.png fate_abomination_032....
by SharkD
2008-09-28T11:38:07-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Creating Windows icons

When creating Windows icons there is a strange border surrounding the image. Here is an example of what it looks like: http://img208.imageshack.us/img208/2096/abominationfateerrorkj4.png Here is what it's supposed to look like: http://img144.imageshack.us/img144/8830/abominationfategoodyl9.png Can s...
by SharkD
2008-09-28T11:11:20-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Re: Saving to a format that supports layers

Update: I was able to save as TIFF with multiple frames. The GIMP then asks if I want to convert each frame to a layer when I open the TIFF file.

Still, being able to save directly to an layered image would be a time-saver.
by SharkD
2008-09-28T10:22:37-07:00
Forum: Users
Topic: Creating Windows icons
Replies: 16
Views: 36240

Creating Windows icons

Hi! I'm trying to create some layered images in a format that supports layers and is readable by the GIMP. I've tried PSD, MNG and TIFF, but the PSD images comes out all garbled and the MNG and TIFF images are flattened. Writing to XCF (GIMP native format) doesn't seem to be supported by ImageMagick...