Advertisement:

Author Topic: Is there a way to convert some things to images?  (Read 521 times)

Offline hiennhan12

  • Newbie
  • *
  • Posts: 3
Is there a way to convert some things to images?
« on: January 14, 2019, 09:44:01 PM »
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.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,398
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Is there a way to convert some things to images?
« Reply #1 on: January 14, 2019, 09:52:58 PM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,228
    • StoryBB/StoryBB on GitHub
Re: Is there a way to convert some things to images?
« Reply #2 on: January 15, 2019, 02:24:21 AM »
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline ElenaYarova

  • Newbie
  • *
  • Posts: 2
Re: Is there a way to convert some things to images?
« Reply #3 on: January 22, 2019, 04:59:14 AM »
how about prt sc? i mean screen snip app if you use windows