RE: Antwort: Re: Antwort: Re: Antwort: Which TIFF format is used in batik? How can I get TIFF Type 1?
Afraid not :( A higher scale factor creates a bigger BufferedImage.The end result is a larger 72 dpi tiff. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 11:50 AM To: [EMAIL PROTECTED] Subject: Antwort: Re: Antwort: Re: Antwort: Which TIFF format is used in batik? How can I get TIFF Type 1? Is there any plan to add this feature in near future? Sure. As I'm now FOP committer it should be one more FOP output format (we thought about more bitmap formats, supported by JAI/jimi, but I believe the only tiff makes sense as it supports multi-page images). That's is definitely good news. I think there is a need for other formats too. I see at my customer here that they might want to get rid of multipage TIFF in favor of one JPG-file per page. Producing one file per page might be the way to go for the non-TIFF formats (even for TIFFs that could be an option, since there are applications out there that only support single page TIFFs). just my $0.02 on the file format discussion. Reto ___ CSS Versicherung Reto Blunschi EXTERNE Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1236 Telefax ++41 (0)41 369 1212 [EMAIL PROTECTED] www.css.ch Oleg Tkachenko [EMAIL PROTECTED] on 18.12.2002 13:52:24 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema: Re: Antwort: Re: Antwort: Which TIFF format is used in batik? How can I get TIFF Type 1? [EMAIL PROTECTED] wrote: Is the assumption correct, that this restriction is in the AWTRenderer of FOP? - I'm not sure actually. TIFFRenderer creates temporary BufferedImage when encoding with fax compression, is that your case, I mean GROPU3 and GROUP4 compression schemas? For the rest compressions it uses directly BufferedImage created by AWTRenderer. Is there any plan to add this feature in near future? Sure. As I'm now FOP committer it should be one more FOP output format (we thought about more bitmap formats, supported by JAI/jimi, but I believe the only tiff makes sense as it supports multi-page images). I was thinking of adding this, though I have not looked into it yet. Is it feasible at all with the current FOP design? Any help is greatly appreciated, feel free to modify sources. But not with the current FOP design, new one will make tiff generation much effective. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antwort: Re: Antwort: Which TIFF format is used in batik? How can I get TI FF Type 1?
Afraid not :( A higher scale factor creates a bigger BufferedImage.The end result is a larger 72 dpi tiff. Ronald PS (Sorry , I replied to the wrong email earlier) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: Antwort: Re: Antwort: Which TIFF format is used in batik? How can I get TI FF Type 1? Hi Oleg, Francis, I was just now looking though the code of AWTRenderer and found the method AWTRenderer.setScaleFactor(). Invoking setScaleFactor(200) on the TIFFRenderer before rendering gives me a TIFF with higher (probably double) resolution. This is all I need. Were you guys aware of this method? Is there any problem with this? cheers Reto ___ CSS Versicherung Reto Blunschi EXTERNE Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1236 Telefax ++41 (0)41 369 1212 [EMAIL PROTECTED] www.css.ch Oleg Tkachenko [EMAIL PROTECTED] on 18.12.2002 13:59:53 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: Thema: Re: Antwort: Which TIFF format is used in batik? How can I get TI FF Type 1? Francis, Ronald wrote: I've looked at the code in the AWTRenderer where a BufferedImage is created to paint the page on(defaults to 72 dpi) That is addressed by the redesign under way. Out of curiosity, how can we create a high res image / graphics context ? I would be happy to tinker with the code and post any solutions if I find any , but I am not very familiar with 2D. Me too unfortunately :( Is there any java2D expert around? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antwort: Which TIFF format is used in batik? How can I get TI FF Type 1?
Thanks Clay, but unfortunately the problem here is different. This is what I think is happening, Oleg could probably correct me if I'm wrong: The TIFFRenderer, which is a subclass of the AWTRenderer works by first rendering the entire fo page (not just images embedded /referenced in the page) but the whole page into an Image.This image is then encoded into TIFF. The problem is that java creates a Buffered Image with a resolution of 72dpi, so the page is already poor in resolution by the time it gets to the TIFFEncoder. What I'm looking for is a way to create an Image (Buffered, Rendered..) where we can specify the resolution. I'm not very familiar with the Java2D API ,so if anybody out there knows how to, please let me know. Thanks, Ronald -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 10:27 AM To: [EMAIL PROTECTED] Subject: RE: Antwort: Which TIFF format is used in batik? How can I get TI FF Type 1? Ronald and the rest of you cool cats, I was having a similar problem: when I'd print the logo for my company (a JPG), it would come out pixelated when printed. The way I resolved the issue, was to use *HI-RES* JPG images. Instead of using a 72-dpi JPG image, I used a 300dpi JPG image, and it came out clean and crisp. I don't know if this was a factor as well, but I believe I also placed the image in a table-cell which scaled the image 50%. BTW, I couldn't see changes when I modified the content-width height (it didn't seem to have any effect). I don't know if this'll help you, but it worked for me! Web Maestro Clay At 06:28 AM 12/17/2002, you wrote: I've looked at the code in the AWTRenderer where a BufferedImage is created to paint the page on(defaults to 72 dpi) Out of curiosity, how can we create a high res image / graphics context ? I would be happy to tinker with the code and post any solutions if I find any , but I am not very familiar with 2D. Thanks, Ronald -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 7:10 AM To: [EMAIL PROTECTED] Subject: Re: Antwort: Which TIFF format is used in batik? How can I get TIFF Type 1? [EMAIL PROTECTED] wrote: I am using the special renderer from Oleg to produce the TIFFs. You can find it at http://www.tkachenko.com/fop/tiffrenderer.html It produces several of the formats you asked for and works nicely. The only problem I have is that I cannot change the resolution, it defaults to 72 dpi, which is not enough for my application. I'm afraid that's FOP's restriction at the moment. -- Oleg Tkachenko - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table Alignment
I have the smae problem , don't think fop supports it yet. You could try putting your table inside another table with three equal width cells. Cheers, Ronald -Original Message- From: sujata shetty [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 2:49 AM To: [EMAIL PROTECTED] Subject: Table Alignment Hi Evrybody, I have a PDF table created. Now the table is placed in one corner of the page. I want my table to be aligned at the center. Is there any table property where I can set align = center? Please help me out in this. Thanks and Regards, Sujata __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table inline-progression-dimension %
Hi, Is there a known problem with using percentages with table property inline-progression-dimension eg fo:table inline-progression-dimension=3.0in table-layout=fixed works,but fo:table inline-progression-dimension=50% table-layout=fixed gives me - [ERROR] Error in text-align-last property value 'relative': org.apache.fop.fo.expr.PropertyException: No conversion defined Thanks, Ronald