Re: Converting PDF to JPEG

2004-05-17 Thread Sherm Pendley
On May 17, 2004, at 10:03 PM, Rich Morin wrote: Although sips is working well for me, the JPEG format doesn't seem to be optimized well for line drawings. JPEG was designed to be a compression format for photographic material, and doesn't handle other types of material nearly as well. Which is on

Re: Converting PDF to JPEG

2004-05-17 Thread Jerry LeVan
I have been browsing some Python code from the Image package. It appears that they offer a variety of scaling algorithms. Seems like I remember that one of the examples produced thumbnails and you could control sharpness, brightness, contrast and color However I don't think Python does PDF so I gue

Re: Converting PDF to JPEG

2004-05-17 Thread Rich Morin
Although sips is working well for me, the JPEG format doesn't seem to be optimized well for line drawings. Any opinions as to which of the supported formats might work better? -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http://www.cfcl.com- Canta Forda Computer Laboratory http:/

Re: Problems with LWP::UserAgent and Net::FTP

2004-05-17 Thread Sherm Pendley
On May 17, 2004, at 1:44 PM, Dr. John Keating wrote: Net::FTP=GLOB(0x88b6e8)<<< 230 Guest login ok, access restrictions apply. Net::FTP=GLOB(0x88b6e8)>>> CWD /pub/CPAN/authors/id/I/IL/ILYAM Net::FTP=GLOB(0x88b6e8)<<< 250 CWD command successful. Net::FTP=GLOB(0x88b6e8)>>> PORT 149,157,245,23,219,60

Re: [BUG ?] sort/reverse or RegExp problem

2004-05-17 Thread Ken Williams
Hi Allan, No bug; here's a simpler example that shows what's going on. $str = "one two"; if ($str =~ /one/g) { print "Found one\n" } print "pos(\$str): ", pos($str), "\n"; if ($str =~ /two/g) { print "Found two\n" } print "pos(\$str): ", pos($str), "\n"; $str = "one two"; if ($str =~ /two/g) { p

[BUG ?] sort/reverse or RegExp problem

2004-05-17 Thread allan juul
hi i have some difficulty with a rather simple loop and simple RegExp: please try the following code two times - one with no command line arguments and one with a true argument [the latter call will reverse the sorting of the hash keys] for example: $ net.pl $ net.pl 1 the funny thing is that ev

Re: Converting PDF to JPEG

2004-05-17 Thread Andrew Mace
http://www.apple.com/applescript/imageevents/ Supported formats for reading are: PICT, Photoshop, BMP, QuickTime Image, GIF, JPEG, MacPaint, JPEG2, SGI, PSD, TGA, Text, PDF, PNG, and TIFF. Supported formats for _saving_ are: JPEG2, TIFF, JPEG, PICT, BMP, PSD, PNG, and QuickTime Image. Andrew On

Re: Converting PDF to JPEG

2004-05-17 Thread Jerry LeVan
Hmmm, what am I doing wrong... [macjerry:~/Desktop]$ sips -s format pdf FixedColor.jpg --out FixedColor.pdf /Users/jerry/Desktop/FixedColor.jpg Error: Not a valid format value /Users/jerry/Desktop/FixedColor.pdf [macjerry:~/Desktop]$ sips -s format "pdf" FixedColor.jpg --out FixedColor.pdf /Use

Problems with LWP::UserAgent and Net::FTP

2004-05-17 Thread Dr . John Keating
Hi, I've been using the CPAN module to install stuff for some time now and it always ends up using the 'ftp -n' option as the modules LWP and Net don't appear to be working. Has anyone else noticed this? There is a sample output at the end of the message. I'm getting the following errors when I u

Re: Converting PDF to JPEG

2004-05-17 Thread Daniel Staal
--As of Saturday, May 15, 2004 8:35 AM -0700, Rich Morin is alleged to have said: I suspect that there are Cocoa frameworks that would let me import PDF and export JPEG, but I'd rather not go that way if I can help it. Question: What's the simplest way to solve this (ie, mechanically convert PDF

Re: Phanter (10.3.3) and DBI perl module.

2004-05-17 Thread Sherm Pendley
On May 17, 2004, at 3:36 AM, Postmaster wrote: LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.bundle ld: -undefined: unknown argument: dynamic_lookup Like I said - read and follow these directions;

Re: Phanter (10.3.3) and DBI perl module.

2004-05-17 Thread Postmaster
thanks for your answer, here is the output of my terminal: Last login: Fri May 14 14:55:31 on ttyp1 Welcome to Darwin! xserver:~/.cpan/build/DBI-1.42 root# perl makefile.pl *** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not rec