I convert a very simple xpm to png. The image is a solid black box.
convert blackbox.xpm blackbox.png
The converted png image only contains a transparent background. Nothing more. The black color becomes transparent.
If i change the color of my box to red, green blue or any other color or even ...
Search found 4 matches
- 2011-02-24T01:26:41-07:00
- Forum: Bugs
- Topic: conversion to png will make black pixels transparent
- Replies: 1
- Views: 5373
- 2011-01-19T02:26:11-07:00
- Forum: Users
- Topic: create dimmed icon with magick++ (ImageMagick)
- Replies: 2
- Views: 5356
Re: create dimmed icon with magick++ (ImageMagick)
Can this statement be converted to the c++ interface?anthony wrote:Dimming is easy.
Just -colorize the image with a light gray (or whatever your background color is) at say 50%
http://www.imagemagick.org/Usage/color_mods/#colorize
- 2011-01-14T01:58:09-07:00
- Forum: Users
- Topic: create dimmed icon with magick++ (ImageMagick)
- Replies: 2
- Views: 5356
create dimmed icon with magick++ (ImageMagick)
I’m trying to use ImageMagick for what I believed would be a simple task.
I want to generate a dimmed version of an image/icon at runtime in the application.
I use the magick++ c plus api.
I have found some commands that give me an ok result when run from the command line.
Converting the commands ...
I want to generate a dimmed version of an image/icon at runtime in the application.
I use the magick++ c plus api.
I have found some commands that give me an ok result when run from the command line.
Converting the commands ...
- 2010-10-25T00:34:32-07:00
- Forum: Developers
- Topic: magick++ xpm const char** to png
- Replies: 0
- Views: 3923
magick++ xpm const char** to png
Hi,
Today I have xpm’s inside the code. I want to get rid of this.
I was hoping imagemagick could help me. I want to dynamically iterate over the icon data, and save it to database in png format.
Unfortunately imagemagick’s parser expects the whole xpm file content.
Can I in any way get it to ...
Today I have xpm’s inside the code. I want to get rid of this.
I was hoping imagemagick could help me. I want to dynamically iterate over the icon data, and save it to database in png format.
Unfortunately imagemagick’s parser expects the whole xpm file content.
Can I in any way get it to ...