Search found 31 matches

by jstph
2012-01-05T12:29:08-07:00
Forum: Developers
Topic: create thumbnail from svg animation
Replies: 6
Views: 15874

Re: create thumbnail from svg animation

you get it right. that image is what I want. From the way I called, I only get one animation frame. http://imageshack.us/photo/my-images/845/npro.png My guess is I missed some attribute setup in the ImageInfo object, when I call ReadImage. I checked all attributes in ImageInfo object and couldn't fi...
by jstph
2012-01-05T07:56:46-07:00
Forum: Developers
Topic: create thumbnail from svg animation
Replies: 6
Views: 15874

Re: create thumbnail from svg animation

Fmw42, I always appreciate your help. My knowledge about svg is also limited. From my understanding, the animation of svg is just a set of vector drawing, which constantly repaints on main frame (it also is a set of vector drawing) to create the animation effect. I want the result PNG include that m...
by jstph
2012-01-04T12:31:09-07:00
Forum: Developers
Topic: create thumbnail from svg animation
Replies: 6
Views: 15874

Re: create thumbnail from svg animation

Thanks for reply. I don't use command line. I use IM as a library. My thumbnail has to be in PNG format. So I understand I will lost the animation ability. I expect to get the whole vector drawing without the animation section. however, it looks like IM only return the last animation drawing as the ...
by jstph
2012-01-04T09:33:33-07:00
Forum: Developers
Topic: create thumbnail from svg animation
Replies: 6
Views: 15874

create thumbnail from svg animation

magic, I can convert regular svg to PNG. When I try to create a PNG thumbnail from an animated svg, the results image only show a corner of the original svg. Is there anything special I need to do. this is the test file I have used. http://upload.wikimedia.org/wikipedia/commons/4/4f/Soccer_ball_anim...
by jstph
2011-07-29T06:37:01-07:00
Forum: Developers
Topic: Is it possible to build IM into one single DLL?
Replies: 2
Views: 6430

Re: Is it possible to build IM into one single DLL?

thanks magick, I constantly got the muti-thread dll lib. So I thought there maybe some problems with the configure utility. I must checked the wrong configuration box several times. I just rebuild IM and got the muti-thread lib. It should work for my purpose. Again, thank you for the wonderful work .
by jstph
2011-07-28T13:28:05-07:00
Forum: Developers
Topic: Is it possible to build IM into one single DLL?
Replies: 2
Views: 6430

Is it possible to build IM into one single DLL?

I use configure utility to build IM as VS solution. The problem I have is that I end up with hundreds of DLLs. It is very difficult to maintain and deploy. I wonder if anyone know how to setup the configure utility and only output a single DLL or just static library itself.
by jstph
2011-07-12T09:19:34-07:00
Forum: Developers
Topic: how to set color profile
Replies: 0
Views: 3665

how to set color profile

I try to set color profile for decoding a jpeg with CMYK color space. It looks like I need to set a color profile in order to get a correct color transform. I look through the source code and seems like ImageInfo->profile is the place to set the color profile. So I created a StringInfo* with my icc ...
by jstph
2011-04-06T07:56:04-07:00
Forum: Developers
Topic: how can I find out number of color components per pixel
Replies: 5
Views: 12793

Re: how can I find out number of color components per pixel

Thanks for all comments. At the end, I did as anthony suggested. If the color space is RGB, then check image type. If image type is grayscale or Bilevel, the number of component should be one. otherwise, it is either 3 or 4 depending on color space. However, I does have something unsure of PaletteBi...
by jstph
2011-03-24T08:45:43-07:00
Forum: Developers
Topic: how can I find out number of color components per pixel
Replies: 5
Views: 12793

how can I find out number of color components per pixel

Is there anyway I can find out how many color components per pixel after I load image data as Image? I try to use image->colorspace to identify, it doesn't work. I also try to use image->type, however for ColorSeparationType and UndefinedType, it will not work. I must miss something here. I am also ...
by jstph
2011-02-03T07:28:37-07:00
Forum: Developers
Topic: Stack Overflow when load wmf file
Replies: 7
Views: 14941

Re: Stack Overflow when load wmf file

No problem. Although I only work with IM for a week or so, I really like IM and the effort your guys put in.
Thank you for the good work. I may ask more silly questions in the future, apology in advance.
by jstph
2011-02-02T09:45:08-07:00
Forum: Developers
Topic: Stack Overflow when load wmf file
Replies: 7
Views: 14941

Re: Stack Overflow when load wmf file

magick, I am really bad at constructing a running environment. So instead of creating a simply example, I spend some time to study IM source code. I found something I am not so sure inside the Image magic. Would you mind to clarify it for me? When call *ReadWMFImage(const ImageInfo *image_info,Excep...
by jstph
2011-01-31T12:40:17-07:00
Forum: Developers
Topic: Stack Overflow when load wmf file
Replies: 7
Views: 14941

Re: Stack Overflow when load wmf file

I really appreciate your help. I will try to construct a complete windows project for you to test.
by jstph
2011-01-31T09:20:37-07:00
Forum: Developers
Topic: Stack Overflow when load wmf file
Replies: 7
Views: 14941

Re: Stack Overflow when load wmf file

thank you for the quick response. The test file is coming with ImageMagick. It locates at ImageMagick-windows\ImageMagick-6.6.7\wmf\examples\anim0002.wmf. I am not able to upload this file in this moment. I can find a place to put it later. I have a quick question to ask. Do I need freetype library ...
by jstph
2011-01-31T08:03:48-07:00
Forum: Developers
Topic: Stack Overflow when load wmf file
Replies: 7
Views: 14941

Stack Overflow when load wmf file

Sorry for the silly problem again. I try to load a in-memory wmf image, got the stack overflow exception. I couldn't figure out which steps I missed. The exception is generated at ReadPSImage in the ps.c, and the wmf file is in the WMF fold coming with IM. my env: IM 6.6.7 installed GS 9.00 (x86) sy...
by jstph
2011-01-27T12:57:37-07:00
Forum: Developers
Topic: memory corrupt when load invalid image
Replies: 2
Views: 6463

Re: memory corrupt when load invalid image

Thank you very much.
It is the problem. I thought I need to initialize exception, but couldn't find any sample code. I am new to ImageMagick. Do you know if there is any code example or reference I can read ?
Again, thank you for your help.