Search found 1015 matches

by el_supremo
2006-11-21T10:54:46-07:00
Forum: Users
Topic: set pixel to be transparent with VS2005
Replies: 7
Views: 24601

I'm curious - how did you fix the problem?

Pete
by el_supremo
2006-11-21T09:11:32-07:00
Forum: Users
Topic: set pixel to be transparent with VS2005
Replies: 7
Views: 24601

I can't open either of those images - the page gives me "Forbidden
Error 403".

Pete
by el_supremo
2006-11-20T19:39:15-07:00
Forum: Users
Topic: set pixel to be transparent with VS2005
Replies: 7
Views: 24601

I had never used a tga before but I borrowed a tga image from Unreal Tournament. I think your tga file will have an image and an alpha layer. If you just convert the image directly to a PNG you should get the image you want. You can either use the ImagaMagick convert program "convert input.tga ...
by el_supremo
2006-11-20T16:56:09-07:00
Forum: Users
Topic: set pixel to be transparent with VS2005
Replies: 7
Views: 24601

I used your algorithm but the black pixels are still black. I can't understand why... If you are using the MagickPaintTransparentImage part of the code then perhaps the black area you are trying to affect is not within the 20 fuzz factor of a pure black which is what I specified in the code. A colo...
by el_supremo
2006-11-20T15:25:05-07:00
Forum: Users
Topic: set pixel to be transparent with VS2005
Replies: 7
Views: 24601

You can actually do that with the command line "convert" program but if you must use visual studio here is a C function which will do what you want using one of two methods. Change the filenames, coordinate and colours as required. /* Use either MagickMatteFloodfillImage or MagickPaintTran...
by el_supremo
2006-11-17T10:26:27-07:00
Forum: Users
Topic: how to create semi-transperant images?
Replies: 2
Views: 9361

GIF does not understand semi-transparency!!!!!

Arrggghhhhhhhh.
:oops:

Pete
by el_supremo
2006-11-17T10:22:36-07:00
Forum: Users
Topic: Simple brightness adjustment
Replies: 3
Views: 11175

If I read the code correctly, the argument to the evaluate "add" operator should a be real decimal number with an optional percent sign after it. -evaluate add 10 will add 10 to each pixel whereas -evaluate add 10% will add ten percent of the quantume range to each pixel. Once a pixel reac...
by el_supremo
2006-11-16T10:03:50-07:00
Forum: Users
Topic: how to create semi-transperant images?
Replies: 2
Views: 9361

Try this: convert your_input_image.jpg -fill rgba(0,0,100%,0.75) -stroke black -draw "circle 50,30 40,10" draw_circle.gif you can then play with the rgba function to produce the colour and opacity you need. It can also be used as an argument to "-stroke". For more info on rgba se...
by el_supremo
2006-11-09T09:25:14-07:00
Forum: Developers
Topic: Image density
Replies: 2
Views: 22914

A PDF file does not have a density anyway. IM will apply a default interpretation of 72dpi unless you override it (e.g. -density 300x300 -units pixelsperinch).

Pete
by el_supremo
2006-11-07T17:34:40-07:00
Forum: Bugs
Topic: DIB coder
Replies: 0
Views: 9248

DIB coder

I've written a test program which does a screen capture, creates a DIB and then uses MagickReadImageBlob to load the image into IM from whence I can save the file in whatever format I like. The screen capture DIB has 32 bits per pixel, no compression and a standard 40 byte info header. However, I ra...
by el_supremo
2006-11-07T17:09:32-07:00
Forum: Users
Topic: Building jpg from first gif image on WINDOWS
Replies: 0
Views: 5240

The error isn't caused by that filename. It's because windows also has a convert command which is what is complaining about that file.
One way around this is to find the IM convert.exe file and rename it to, for example, imconvert.exe.

Pete
by el_supremo
2006-11-07T13:01:27-07:00
Forum: MagickWand
Topic: Event logging
Replies: 2
Views: 18089

Thanks for the speedy response. For the info of anyone else, editing the output tag in coders/log.xml and including the statement "SetLogEventMask("all");" in the program is all that's required. Once I'm done debugging I'll have to remember to go back to the log.xml file and put ...
by el_supremo
2006-11-07T10:11:09-07:00
Forum: MagickWand
Topic: Event logging
Replies: 2
Views: 18089

Event logging

I'm using Windows XP and IM 6.3.0. I want MagickWand to create an event log to a file. At the beginning of my code I have: MagickWandGenesis(); (void) SetLogEventMask("all"); if(IsEventLogging()) MessageBox(NULL,"LOG ON", "Note", MB_OK); else MessageBox(NULL,"LOG O...
by el_supremo
2006-10-27T12:19:39-07:00
Forum: Windows COM+ & Visual Basic
Topic: COM Interface - Getting started
Replies: 2
Views: 21432

Might have been easier to uninstall. It asked me quite a few times if I wanted to overwrite... "YES, EVEN!" Yes, I went through that when I tested it before I replied. It would be nice if there were "Ignore All" and/or "Yes to all" options in that overwrite dialog. On ...
by el_supremo
2006-10-27T10:20:41-07:00
Forum: Windows COM+ & Visual Basic
Topic: COM Interface - Getting started
Replies: 2
Views: 21432

If you used the windows installer version then you probably forgot to check the option to include the ImageMagickObject file in the install dialog.
I think you can just run the install again and select only that option. Or uninstall and then reinstall.

Pete