Many thanks for your reply dear Dec, you definitely got the culprit and apologies for not looking at my ps first.
However, no matter number I use but 1 and convert/identify works fine. Why this? I mean, I put 0, 100 and even 2! (knowing that I have 3 pages!) and I will get the result I want but if I put 1, boom! I know imagemagick code is clever enough to ignore this number when it's clearly wrong like it does for 0, 2, 100 etc. but why 1?! The code (Procheck) which is generating these ps file is legacy. I guess I can fix that there but this still will not solve my problem of converting old ps in a database for example, because usually I don't have the input files that generated those ps files. And yes, I could do a ' sed/Pages\: \1/Pages\: \1000/' and it would probably solve my problem but I got annoyed that imagemagick cannot be robust enough (for some distribution of course) to deal with this inconvenient wrong page number label in ps. And, of course, thousands of apologies if it's not an imagemagick issue in the end and actually a 3rd-part library (ghostscript?) that imagemagick makes use of. Would you have any other suggestion that didn't occurred to me for dealing with this issue? Many thanks in advance. Alan On Thu, Jul 17, 2008 at 11:34 PM, <[EMAIL PROTECTED]> wrote: >> .../1brv_02_allramach.ps > > Your Postscript file says > > %%Pages: 1 > > which is wrong. We corrected it (changed it to 3) and ImageMagick returned > 3 images as expected. > > -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. >>http://www.bio.cam.ac.uk/~awd28<< _______________________________________________ Magick-bugs mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-bugs
