Search found 19 matches

by codymanix
2009-07-26T01:26:38-07:00
Forum: MagickWand
Topic: FFmpeg console window pops up udring ReadImage call
Replies: 2
Views: 12053

Re: FFmpeg console window pops up udring ReadImage call

Yes it would be better if delegate processes would be created without console/window in general to avoid such things.
Otherwise there is always the danger that funny codecs create popup windows.
It would be great if that could be changed in one of the future versions of ImageMagick.
by codymanix
2009-07-25T16:24:55-07:00
Forum: MagickWand
Topic: How to get uncompressed size or Bits-per-Pixel
Replies: 3
Views: 19642

Re: How to get uncompressed size or Bits-per-Pixel

Nobody knows an answer? If it is currently not possible with IM could we expect this feature in one of the future versions?
by codymanix
2009-07-25T15:10:17-07:00
Forum: MagickWand
Topic: FFmpeg console window pops up udring ReadImage call
Replies: 2
Views: 12053

FFmpeg console window pops up udring ReadImage call

if ReadImage is called on a video file, an FFmpeg console window pops up.
Library functions in general should not display such things.
Is this a bug?
by codymanix
2009-02-13T14:17:39-07:00
Forum: MagickWand
Topic: Passing function pointer to ReadStream with Managed C++
Replies: 4
Views: 17630

Re: Passing function pointer to ReadStream with Managed C++

Thanks for reply! The Image structure includes an orientation member. Check image->orientation. If its not reporting correctly let us know and we will add a patch to the Subversion trunk. the orientation of the image the StreamHAndler gets passed seem to be always zero, whether it's a bitmap or not ...
by codymanix
2009-02-13T10:16:57-07:00
Forum: MagickWand
Topic: Passing function pointer to ReadStream with Managed C++
Replies: 4
Views: 17630

Re: Passing function pointer to ReadStream with Managed C++

I got it working now, seems one cannot create function pointers from managed classes, so I use a native class now which I call from my managed class. Not I have another problem. Some image formats like Microsoft Bitmap store the rows from bottom to top instead of top to bottom. How can my code know ...
by codymanix
2009-02-10T16:18:41-07:00
Forum: MagickWand
Topic: Passing function pointer to ReadStream with Managed C++
Replies: 4
Views: 17630

Passing function pointer to ReadStream with Managed C++

I have the following given: size_t ImageLdr::MyStreamHandler(const MagickLib::Image *image,const void *pixels, const size_t columns) { } Now I want to call ReadStream in my code: MagickLib::Image* img = ReadStream(&imageinfo,&ImageLdr::MyStreamHandler,&ex); But the compiler tells me "can't take ...
by codymanix
2009-02-09T19:52:22-07:00
Forum: Users
Topic: SetMagickResourceLimit doesn't work
Replies: 6
Views: 14442

Re: SetMagickResourceLimit doesn't work

Thanks for trying to help me, but I'm using the C-Interface, not the command line tools. I've read about the ReadStream function, could I use this to stop reading if a certain number of pixels are reached? Generelly, I find it very hard to find the required functionality and understand how things ...
by codymanix
2009-02-09T11:47:48-07:00
Forum: Users
Topic: SetMagickResourceLimit doesn't work
Replies: 6
Views: 14442

Re: SetMagickResourceLimit doesn't work

I believe it is trying to load *all* frames of the wmv file into an imagelist.
Can I somehow specify that it just should load the first frame?
by codymanix
2009-02-09T08:43:07-07:00
Forum: Users
Topic: SetMagickResourceLimit doesn't work
Replies: 6
Views: 14442

Re: SetMagickResourceLimit doesn't work

I tried

convert -limit memory 5mb -limit map 5mb -limit disk 5mb -size 1000x1000 xc:none null: *.wmv test.png

and my windows swapping file kept growing and growing untile I cancelled the process.

Iam using ImageMagick-6.4.9-Q8, its changelog says revision is 6.4.9-2.
by codymanix
2009-02-08T20:20:47-07:00
Forum: Users
Topic: SetMagickResourceLimit doesn't work
Replies: 6
Views: 14442

SetMagickResourceLimit doesn't work

I programmed an Explorer like Application which shows thumbsnails of all image files. The problem is that imagemagick tries to open some files which are not really images so it generated lots of temporary files. I tried to limit the resources to 10 megabytes but it doesn't seem to change anything ...
by codymanix
2008-08-13T09:38:28-07:00
Forum: MagickWand
Topic: How to get uncompressed size or Bits-per-Pixel
Replies: 3
Views: 19642

How to get uncompressed size or Bits-per-Pixel

I want to display to the user the uncompressed size of an Image. If there isn't such a method, is there any way to get the bits-per-pixel of an Image? There is a method GetDepth() but then I do need to know how many components make up a pixel, also, the depth may not be equal in all components? So I ...
by codymanix
2008-03-04T09:30:17-07:00
Forum: Users
Topic: Find out which image types/file extensions are supported
Replies: 8
Views: 23401

Re: Find out which image types/file extensions are supported

OK, thank you I'll give it a try..
by codymanix
2008-03-03T07:32:26-07:00
Forum: Users
Topic: Find out which image types/file extensions are supported
Replies: 8
Views: 23401

Re: Find out which image types/file extensions are supported

If you mean with "file" the linux command.. I program for windows so I can't use that. Even if the "file" command determines that a given file is an Image doesn't give me any guarantee that it is supported by imagemagick and also the file command may not know all of the types supported by ...
by codymanix
2008-02-26T17:52:17-07:00
Forum: Users
Topic: Find out which image types/file extensions are supported
Replies: 8
Views: 23401

Re: Find out which image types/file extensions are supported

Thank you very much, this is exactly what I was looking for!
by codymanix
2008-02-26T17:10:17-07:00
Forum: Users
Topic: Find out which image types/file extensions are supported
Replies: 8
Views: 23401

Re: Find out which image types/file extensions are supported

PingImage does exactly the same thing as ReadImage; it tests wheather a given file is an Image, and if it is then it reads Imageinformation, and in case of Readimage the pixels. I tested it, the have exactly the same performance when called on non-image files. Isn't there any way to query the ...