*It seems that i called the function with the good arguments* no. You should use the PDF to extract the image not the swf. Did you check which formats ImageMagick can handle? http://www.imagemagick.org/script/formats.php
Also as initially said: ImageMagick will use GhostScript under the hood to process PDFs. You can search fthe web for sample commands to do the Job in ImageMagick: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=17479 Sebastian 2011/6/17 Guillaume <[email protected]> > Hi again, > > I'll try to use ImageMagick in order to extract the slide (out of the PDF) > and then include it into the SVG as a simple image but > > when I call the method "convertImage" (GenerateImage.java) I have this > error in the terminal: > > DEBUG 06-17 17:01:48.810 GenerateImage.java 144322 70 > org.openmeetings.app.documents.GenerateImage [http-0.0.0.0-5080-2] - ##### > convertImage destinationFile: > /home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/upload/files/c320dedcad85a934b3e758ad90abeb48 > DEBUG 06-17 17:01:48.813 GenerateSWF.java 144325 42 > org.openmeetings.app.documents.GeneratePDF [http-0.0.0.0-5080-2] - process: > generateBatchThumbByWidth > > DEBUG 06-17 17:01:48.813 GenerateSWF.java 144325 43 > org.openmeetings.app.documents.GeneratePDF [http-0.0.0.0-5080-2] - args: > [convert, > /home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/uploadtemp/files/c320dedcad85a934b3e758ad90abeb48.swf, > /home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/upload/files/c320dedcad85a934b3e758ad90abeb48.jpg] > > DEBUG 06-17 17:01:48.813 GenerateSWF.java 144325 42 > org.openmeetings.app.documents.GeneratePDF [http-0.0.0.0-5080-2] - process: > generateBatchThumbByWidth > > DEBUG 06-17 17:01:48.813 GenerateSWF.java 144325 43 > org.openmeetings.app.documents.GeneratePDF [http-0.0.0.0-5080-2] - args: > [convert, > /home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/uploadtemp/files/c320dedcad85a934b3e758ad90abeb48.swf, > /home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/upload/files/c320dedcad85a934b3e758ad90abeb48.jpg] > > DEBUG 06-17 17:01:48.884 GenerateSWF.java 144396 180 > org.openmeetings.app.documents.GeneratePDF [Thread-18] - line: convert: > unable to open image > `/home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/uploadtemp/files/c320dedcad85a934b3e758ad90abeb48.swf': > @ error/blob.c/OpenBlob/2498. > > DEBUG 06-17 17:01:48.884 GenerateSWF.java 144396 180 > org.openmeetings.app.documents.GeneratePDF [Thread-18] - line: convert: no > decode delegate for this image format > `/home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/uploadtemp/files/c320dedcad85a934b3e758ad90abeb48.swf' > @ error/constitute.c/ReadImage/532. > > DEBUG 06-17 17:01:48.885 GenerateSWF.java 144397 180 > org.openmeetings.app.documents.GeneratePDF [Thread-18] - line: convert: > missing an image filename > `/home/guillaume/workspace/ROOT_OM/dist/red5/webapps/openmeetings/upload/files/c320dedcad85a934b3e758ad90abeb48.jpg' > @ error/convert.c/ConvertImageCommand/2970. > > > It seems that i called the function with the good arguments.. do you have > an idea about this error ? > > Thanks in advance > > Guillaume > > -- > You received this message because you are subscribed to the Google Groups > "OpenMeetings User" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/openmeetings-user/-/soxhheMk3i0J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/openmeetings-user?hl=en. > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.wagner-sebastian.com [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
