• Welcome to Simple Machines Community Forum. Please login or sign up.
October 25, 2021, 12:51:19 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Is there a way to convert some things to images?

Started by hiennhan12, January 14, 2019, 09:44:01 PM

Previous topic - Next topic

hiennhan12

If a user uploads a power point presentation, word document, or pdf...is there something I can use to make these into images? Even if only one of them does it I'd like to know.

Can a GD module do that? Not that I could really use that information but I am curious about what it does beyond resizing images :-X.

vbgamer45

Nothing built in. Word can save as pdf in new versions and sometimes you can do pdf to image.
https://arjunphp.com/convert-pdf-jpeg-php/

You would probably have to find a script for each.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

And guaranteed it won't be reliable. Word, Excel and PowerPoint are notorious for this, even assuming you have the right fonts available to render them.

PDF is less bad, ImageMagick with GhostScript can handle this but doubtful it's on a shared server.
No good deed goes unpunished
All helpful urges should be circumvented

ElenaYarova

how about prt sc? i mean screen snip app if you use windows

Advertisement: