Re: jpeg problems
Jan Schneider <[email protected]> Thu, 20 Sep 2012 10:23:06 +0200
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Randy Ridley <[email protected]>: > Well, I give up. I have searched the internet over and just can't > seem to find a solution to my problem. > > Ansel will not work on my computer. If I take pictures in jpeg > format with my canon 7D, ansel will upload to about the 91% marke > and then give me an error message that says "not a valid, supported > image file." > > If I take the picture with my old palm-pre, it will sucessfully > upload the picture, but not create a thumbnail. I also get the error > 'HORDE: [ansel] Unable to load SQL data. [pid 31060 on line 415 of > "horde/ansel/lib/Image.php"]' > > Using the Imagick PECL library gives me the error: 'HORDE: [ansel] > JPEG datastream contains no image `' @ jpeg.c/EmitMessage/233 [pid > 31063 on line 96 of "/usr/share/pear/Horde/Image/Imagick.php"]' > whenever I try to view an image (no image is displayed, just the > filename.) > > Using the ImageMagick binary gives the error: 'HORDE: [ansel] Error > running command: /usr/bin/convert -size 0x0 "/tmp/imgM52HLF"'[0]' > -thumbnail x +profile "*" jpeg:"/tmp/imgCyTG6c" 2>&1#012convert: > Premature end of JPEG file `/tmp/imgM52HLF' @ > jpeg.c/EmitMessage/228.#012convert: Corrupt JPEG data: 1 extraneous > bytes before marker 0xd9 `/tmp/imgM52HLF' @ > jpeg.c/EmitMessage/228.#012convert: JPEG datastream contains no > image `/tmp/imgM52HLF' @ jpeg.c/EmitMessage/233.#012convert: invalid > argument for option `-thumbnail': x @ > convert.c/ConvertImageCommand/2579. [pid 31058 on line 1017 of > "horde/ansel/lib/Image.php"]' > > Using the gd library gives the error: 'HORDE: [ansel] > imagecreatefromstring(): Couldn't create GD Image Stream out of Data > [pid 31062 on line 787 of "/usr/share/pear/Horde/Image/Gd.php"]' > > I found on the Internet the ini variable "gd.jpeg_ignor_warning = 1" > and placed in in /etc/php.ini, but it doesn't change the errors. > > Any ideas on whats going on? Sounds to me like you are using a SQL driven VFS backend that simply cannot handle the size of your pictures. Anything else would be follow-up problems then. -- Jan Schneider The Horde Project http://www.horde.org/ -- ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]