Image Upload to PDF on Webpage [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
im new in Webdevelopment and I wanted to ask you ("THE EXPERTS") if you could guide me or give some hints how to do following Webpage:
I want to upload 3-5 Images, place them automatically horizontally on a PDF and let the user download the PDF. I don't want to store the images so after you reload the page the images should be gone.
Could you help me how to realize such webpage? Or atleast which way I should use? Jscript, html5, php etc...
Best regards
Machete

You are looking for a pdf-libary like FPDF.
Especially take a look at the Image() function (Documentation).

quick and dirty, create a php script that executes something like this on the shell:
convert image1.png image2.png image3.png output.pdf
you need to have imagemagick installed.
There are more elegant ways to do that.

Related

Show images and play videos without allowing copying, or downloading [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there any way to display images and / or videos on a website and not allow visitors to download or copy them?
I once saw a website where I tried to download an image, but then it was impossible to open it on my computer because the file type was not recognized on my computer!
Is there any way to encode the files, maybe?
Thank you all.
If you can show the images and videos in a browser, they will always find a way to copy these. You can't have the cake and eat it.
The only thing you can do is to make it harder for the newbie.

The best way to get images from a webpage to display on a android app image view? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Im stuck and out of ideas. Does anyone know the easiest way of getting a image from a webpage and using it on your android app. Help will be appreciated.
I prefer Picasso. Once you have the library its really easy to pull images from anywhere online and include it into the app. Here's an easy to follow guide on setting it up to put an image from online into an imageview in your app.
Good luck
P.S.
This could be found within seconds of searching on Google.
Picasso allows for hassle-free image loading in your application—often in one line of code.
Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);
Glide, An image loading and caching library for Android focused on smooth scrolling.
Glide.with(this).load("http://i.imgur.com/DvpvklR.png").into(imageView);

Images should only load when scrolling down to reduce bandwidth [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
well, i am reading out an image folder with lets say 300 images with php.
It runs fine.
To reduce bandwidth, i want to load the images only, if they are in the viewport.
If I'm not wrong you want your images to load when you scroll down the page. So, you need to use lazy loading in your application.
See this example
Let me know if you have any question.
So you are looking for an infinite scrolling, as far as I understand.
You have some plugins that may help you:
http://jscroll.com/
http://infinite-scroll.com

How to add webcam feed to my webpage [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
its me again.. is it possible to take webcam stream and add it to webpage? I checked page source. looks like it creates image in folder on their server
(http://www2.hak.hr/rmt/?l=135) is it posible to get that image to my webpage? Thanks anyone for help
You can embed the image with something like this:
<img src="http://www2.hak.hr/hak_webcam/cam.asp?id=22" alt="img"></img>
You just have one problem when the image adress is changing you have to do it too! To prevent the embed from another site it seems like they are adding as url parameter a timestamp.
As you can see they have a copyright on this so you aren't allowed to embed it.

Read text from an image with PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I would like to try to read some of text from an image with PHP.
So if I have an image like this:
How can I extract the text "Some text" into a string.
All help and suggestions are appreciated.
The process you are looking for is called Optical Character Recognition.
http://en.wikipedia.org/wiki/Optical_character_recognition
There is a package available, called phpOCR, that does exactly what you need.
http://sourceforge.net/projects/phpocr/
phpOCR ist not the best choice, I would recommend TesseractOCR for PHP "A wrapper to work with TesseractOCR inside your PHP scripts."
https://github.com/thiagoalessio/tesseract-ocr-for-php
That's called OCR. (See http://en.wikipedia.org/wiki/Optical_character_recognition ).
It's not a trival task (that's why captcha's work as good as they do).
You'd be better of googling 'OCR PHP' if you want to find solutions.

Categories