Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unoconv A New File Name #65

Closed
plickx opened this issue Jul 1, 2012 · 5 comments
Closed

unoconv A New File Name #65

plickx opened this issue Jul 1, 2012 · 5 comments
Assignees
Labels

Comments

@plickx
Copy link

plickx commented Jul 1, 2012

Hi,

I am converting PPT -> JPG (Just the first slide)using following command:

/usr/bin/unoconv -f jpg -o /home/ubuntu/files/1.jpg -e PageRange=1-1 <file.ppt>

(I was hoping to have the converted file call 1.jpg. But instead I got a directory called 1.jpg and the new file inside like: /home/ubuntu/files/1.jpg/file.jpg)

I'd like to specify the new file name instead of unoconv using the destination file name as the default. Any idea?

Thanks in advance!

@dagwieers
Copy link
Member

I don't think it is possible. Since the export filter exports one or more files, it expects a directory, not a file.

@ghost ghost assigned dagwieers Jul 18, 2012
@lanttu
Copy link

lanttu commented Jul 22, 2012

Is there any way to convert every slide in ppt presentation to jpg image, not just the first one? PageRange filter doesn't seem to work.

@dagwieers
Copy link
Member

PageRange is a PDF export filter option, it does not work with other export filters like the jpeg export filter. I am not sure whether the LibreOffice/OpenOffice jpeg filter can export to more than one file, whereas PageRange will simply add the selected range of pages to a single PDF (just like you would select what to print).

We would like to have the ability to make selections during the conversion, and there's a separate issue #34 open for this.

A workaround could be to use the html export filter, which also exports the slides as individual images.

@lanttu
Copy link

lanttu commented Aug 7, 2012

OK. Thank you for clarification.

@dagwieers
Copy link
Member

I am closing this issue as there's nothing to add beyond issue #34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants