Search found 28 matches

by Xandros
2009-10-11T08:57:16-07:00
Forum: MagickWand
Topic: non square pixel aspect ratio in tiff files
Replies: 8
Views: 30253

Re: non square pixel aspect ratio in tiff files

mm ok thanks, I thought maybe there was some property or metadata field I could read ...

any ideas regarding the PDF related problem described above ?

thanks a lot !
by Xandros
2009-10-11T07:53:26-07:00
Forum: MagickWand
Topic: non square pixel aspect ratio in tiff files
Replies: 8
Views: 30253

Re: non square pixel aspect ratio in tiff files

ok so basically specify a different vertical & horizontal resolution, but when processing a folder full of tif files in a loop, how can I check if the current file loaded with readfile needs a pixel aspect ratio check or not ? should this density be specified before readimage on the wand itself ...
by Xandros
2009-10-10T22:47:27-07:00
Forum: MagickWand
Topic: non square pixel aspect ratio in tiff files
Replies: 8
Views: 30253

non square pixel aspect ratio in tiff files

Hi ! When trying to create thumbnails of some FAX generated tiff files, I stumbled on a strange behaviour ... Using MagickWand API, what I do is : Init wand MagickReadFile('myfax.tif') strip all profiles resize MagickImageWriteFile('thumb.png') the result is a png file which image is distorted the s...
by Xandros
2009-10-08T09:31:51-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

hmm, nope :) well actually I do now :) have read too much code lately I guess :) sorry
by Xandros
2009-10-08T04:46:58-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

Mm, strange ... Maybe I missed something ?... WandExport void MagickSetFirstIterator(MagickWand *wand) { assert(wand != (MagickWand *) NULL); assert(wand->signature == WandSignature); if (wand->debug != MagickFalse) (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); wand->...
by Xandros
2009-10-08T03:10:55-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

Hello
me again ..


MagickResetIterator and MagickSetFirstIterator do both set the iterator to the first image, arent those duplicate ? :)
by Xandros
2009-10-07T11:39:28-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

Great ! Thanks for all the help !
by Xandros
2009-10-07T11:22:26-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

oh ok, it's -define jpeg:size=... i see ! is there an magickwand equivalent for this ? MagickImageSetProperty('jpeg:size', '..') ?
by Xandros
2009-10-07T10:33:35-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

OK, didn't know about the jpeg:size thing, where can I find more details ? is it working for other file types ? I read on the "usage" sample pages that it reduces memory consumption to append the geometry in brackets when creating thumbnails, so the -resize doesn't have much to do afterwar...
by Xandros
2009-10-07T09:32:47-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

Re: duplicate methods ?

ok thanks, as this subtile difference is not documented, it's valuable to know it ! so, as I understand it now, MagickSetCompression is only necessary when creating images from blank canvas, and is never needed if for example only converting between different file types. The order would then be : re...
by Xandros
2009-10-07T04:01:48-07:00
Forum: MagickWand
Topic: duplicate methods ?
Replies: 13
Views: 35484

duplicate methods ?

Hello i'd like to know if there are subtle differences between, for example, MagickSetImageCompression and MagickSetCompression ? There are a few other couples of methods which according to the documentation appear to be doing 100% the same thing. Is that true ? Which one is better to use in order t...
by Xandros
2009-10-02T10:58:16-07:00
Forum: Windows COM+ & Visual Basic
Topic: Converting from/to BLOB
Replies: 0
Views: 8572

Converting from/to BLOB

Hello again After long tinkering with the VBS ArrayTest example, I can't achieve what i'm trying to do ... The thing is that in VBS all variables are quite loosely typed, which is not the case in let's say Delphi (which only importants standard windows com types). I have a variable which contains an...
by Xandros
2009-10-02T09:33:26-07:00
Forum: Windows COM+ & Visual Basic
Topic: Syntax errors / Exception handling with COM+ interface
Replies: 2
Views: 15828

Syntax errors / Exception handling with COM+ interface

Hello, I'm trying to integrate the ImageMagickObject COM+ interface with a test app written in Delphi. Everything works wonders, but I can't seem to find a way to properly handle exceptions and syntax errors. Let's say in a similar VB sample I call msgs = img.Convert("logo:","-resize&...