World: r3wp
[PDF-Maker] discuss Gabriele's pdf-maker
older newer | first last |
Gabriele 19-Sep-2006 [387x3] | update: graphic commands, cell decorations |
(cell decorations is a superset of table borders, cell background etc) | |
see test.pdf | |
Anton 20-Sep-2006 [390x2] | http://www.colellachiara.com/soft/PDFM2/test.pdf |
Funny looking table borders ! :) | |
Gabriele 20-Sep-2006 [392] | you can just use any graphics for cells. for example QML can produce boxes with rounded corners and shadows. |
eFishAnt 21-Sep-2006 [393x2] | a quick scan here ... I do not see anything for taking a .pdf and converting it to something like an image or some markup. Does anyone know of something that converts a .pdf to generic postscript (like for GSView) or to convert to native REBOL format? Thanks. |
A way to convert content, especially graphic from .pdf to something useful. | |
Alan 21-Sep-2006 [395] | photoshop will strip out graphics files if thats what you need |
eFishAnt 21-Sep-2006 [396x2] | so I can load a .pdf and make a high res bitmap? |
found http://www.pstoedit.net/pstoeditwhich can do vector graphics...maybe this will help...and some point would be cool to do these in REBOL. | |
Graham 21-Sep-2006 [398] | pdf2ps |
eFishAnt 21-Sep-2006 [399] | Graham, thanks. |
[unknown: 9] 21-Sep-2006 [400] | PDFCreator Overview: PDFCreator is an application for converting documents into Portable Document Format (PDF) format on Microsoft Windows operating system. Once installed, it allows the user to select PDFCreator as their printer, allowing almost any application to print to PDF, PNG, JPEG, BMP, PCX, TIFF and EPS format. Besides being installed as a printer driver, PDFCreator can be associated with .ps files to manually convert Postscript to PDF format. |
Graham 21-Sep-2006 [401] | Needs Ghostscript doesn't it? |
Graham 24-Sep-2006 [402] | Anyone know anything much about the FDF format? |
MichaelB 24-Sep-2006 [403] | Isn't that one of the formats for Acrobat Forms ? There should be several types, like xfdf and the like .... but I'm not 100% sure. |
Graham 24-Sep-2006 [404] | Yes ... it is. But documentation seems lacking, and it appears to be deprecated by Adobe. |
Gabriele 25-Sep-2006 [405] | update: many bugfixes |
Anton 25-Sep-2006 [406] | I didn't notice much different in test.pdf. Probably small differences there. I keep looking at that circle and wondering if the centre can be positioned so that there's as much text on the first row as the final row. |
Gabriele 25-Sep-2006 [407x2] | the bugs were not visible in test.pdf, but they were in various qml documents. :) i will upload the new qml-ed very soon. |
circle: i didn't spend much time on it. it's done by just setting the margins of each line so that it looks like a circle. :) | |
Anton 26-Sep-2006 [409] | Ah :) |
Gabriele 26-Sep-2006 [410] | update: images; embedding gfx into text. (see last page of test.pdf) |
Henrik 26-Sep-2006 [411] | You can also display" graphics:" and after that, there is a box. is this correct? very nice, by the way :-) |
Gabriele 26-Sep-2006 [412x2] | yes. not great gfx i know, but shows that it works ;) |
i should add something instead of that box... maybe i should convert something from draw. | |
Henrik 26-Sep-2006 [414] | is the image of you compressed in some way? |
Gabriele 26-Sep-2006 [415] | nope. that's why it's big |
Henrik 26-Sep-2006 [416] | I guess compression is hard to do? |
Gabriele 26-Sep-2006 [417x2] | well... run-length or similar should not be a big problem (will be slow, but maybe the result of compress does work after removing header) |
but jpg is nothing i want to write in rebol ;) | |
Henrik 26-Sep-2006 [419] | would take minutes to compress anyway... |
Gabriele 26-Sep-2006 [420x3] | one possibilty would be: pass jpg file name, not image!; parse jpeg file for jpeg data; embed jpeg data in the pdf |
if compress does work, that could be applied to everything else too, so the resulting file would be surely smaller. | |
but i guess i'm not so lucky that compress is compatible... | |
Maxim 26-Sep-2006 [423] | you could use edgar's image-magic examples and use image magic if pro licence and image magic is found... its going to be Extremely fast. |
Gabriele 26-Sep-2006 [424] | max: sure but you still have to parse the resulting jpeg data |
Maxim 26-Sep-2006 [425] | (embed jpg file saved from rebol and converted to jpeg with image-magic) |
Henrik 26-Sep-2006 [426] | it would be nice if compress had more modes that are "strategically" made to be compatible with various types of binaries where such compressed data is embedded. |
Gabriele 26-Sep-2006 [427x2] | also every image to jpg is not a good idea (users may not want that, if the image is not a photo but a drawing for eg) |
i will eventually have a look at this... for now, i'm happy with them being uncompressed :) | |
Maxim 26-Sep-2006 [429x2] | yes! compress/RLA compress/ZIP compress/GZIP compress/JPEG compress/MP3 |
(and compress/TAR) | |
Henrik 26-Sep-2006 [431] | isn't the current compress, a gz compression lacking some headers? |
Maxim 26-Sep-2006 [432] | I seem to remember someone building a wrapper around compress to cope with this issue... yes... but its sooo long ago... maybe it was something else. |
Henrik 26-Sep-2006 [433] | maybe a compression group would be in order... |
Gabriele 26-Sep-2006 [434] | i think compress is from zlib |
Anton 27-Sep-2006 [435] | Oldes made a zlib compressor/decompressor. I found it in my cache: public/box.lebeda.ws/~hmm/rebol/zlib/latest/zlib.r but it's not there on the web, apparently. Try check for his latest website. |
Oldes 27-Sep-2006 [436] | But it's Rebol?pro version (using a dll) http://oldes.multimedia.cz/rebol/zlib_latest.rip |
older newer | first last |