2010/11/21 luigi scarso
I am making flowcharts with ConTeXt. Because the flowcharts have to be included in other documents, I would like to make graphic files (jpeg, png, ...). Also not bigger as needed to represent the flowchart. Can this be done. Just convert the pdf in jpeg with (for example) ghostscript.
This works, but the problem is that I get an image the size of an A4. This is mostly whitespace. Is it not possible to only get the used part? Maybe wrap your flowcharts-code in \startTEXpage ... \stopTEXpage, ie something like this \starttext \startTEXpage Put your flowcharts-code here... \stopTEXpage \stoptext
Works like a charm. Thanks. By the way instead of gs from ghostscript, you can also use convert from Image Magick. -- Cecil Westerhof