Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 26297 invoked from network); 21 Feb 2005 16:42:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Feb 2005 16:42:05 -0000 Received: (qmail 50222 invoked by uid 500); 21 Feb 2005 16:42:04 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 50193 invoked by uid 500); 21 Feb 2005 16:42:04 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 50180 invoked by uid 99); 21 Feb 2005 16:42:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ns3.wkwyw.net (HELO ns3.wkwyw.net) (217.199.181.91) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 21 Feb 2005 08:42:04 -0800 Received: (qmail 10464 invoked from network); 21 Feb 2005 16:42:06 -0000 Received: from 82-69-78-226.dsl.in-addr.zen.co.uk (HELO ?192.168.0.4?) (82.69.78.226) by ns3.wkwyw.net with SMTP; 21 Feb 2005 16:42:06 -0000 Received: from 127.0.0.1 (AVG SMTP 7.0.300 [266.2.0]); Mon, 21 Feb 2005 16:41:54 +0000 Message-ID: <421A0F51.1050005@apache.org> Date: Mon, 21 Feb 2005 16:41:53 +0000 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: PDF output High image errors References: <421A0687.6080908@uidesign.de> In-Reply-To: <421A0687.6080908@uidesign.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Johannes Schaefer wrote: > Hi! > > We have some difficulties with high images in PDF output. > This is probably FOP related, maybe someone may forward > mail this to their list, thanks! > > Images higher than about 600px (basically part of > screenshots) that are not scaled down because of width > will produce errors: > 1. FOPException: No meaningful layout ... > 2. java.lang.OutOfMemoryError > 3. endless swapping (if forrest.maxmemory is high) > > The first one is still somewhat legible but the 2nd > and 3rd take some time to discover. They happen e.g. > if the image is enclosed in a table. See example code > below. This happens for PNG and GIF images. > > The only workaround we found usable is to decrease > the height of the image upfront. Setting height="400px" > works, too, but the HTML quality is very poor. > > Since scaling for wide images works well I hope > that there's a fix for this. > > Shall I file a forrest bug for this? See http://issues.cocoondev.org/browse/FOR-413 and http://issues.cocoondev.org/browse/FOR-296 and add any comments you have. With respect to the latter (which you created by the way ;-) there was some recent talk on the Cocoon dev list about enhancements to the image generator to do scaling. I've not revisited to see if anything has been implemented. Ross