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.
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
I wrote web service which will generate label from certain parameters and will return it as PDF. Now I must improve it by returning generated label as PDF or ZPL format.
Unfortunately, I have zero knowledge on working with ZPL. What is ZPL? Is it some kind of file format? What is used for? How its generated? Any open-source PHP libraries for it?
It would be nice if someone would provide some whitepapers or some kind of reference about ZPL.
Web service is written in PHP.
I think you are looking for this information:
https://en.wikipedia.org/wiki/Zebra_(programming_language)
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
How to hide or cut or blur for example car numbers on image?
so if i have thousand of image with cars like this
and i want to get something like this
So in which direction i should work to do this thing? There are default tools for this?
What you need is a face detection tool. For PHP, I know this script:
https://github.com/mauricesvay/php-facedetection
(Here is the detailed usage: http://www.codediesel.com/algorithms/face-detection-in-images-using-php/)
Just for fun, take a look in Google's Algorithm for Maps License Plate Blur tool:
http://static.googleusercontent.com/media/research.google.com/pt-BR//archive/papers/cbprivacy_iccv09.pdf
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
Is there any php class that detects numbers in a picture? for example detecting a license plate in a picture.
I couldn't find any usfull information in google search.
Have a look to this library: phpOCR
phpOCR is an Optical Character Recognition system written in PHP. It can be used in automated scripts as well as web interface. Works best for small images like numeric SMS/email authorization codes, bar-code numbers and others.
http://phpocr.sourceforge.net/
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 8 years ago.
Improve this question
I have two text file. I want to compare this two text file and want to create new text file with difference of this 2 files
Old_file.txt Contents:-
XYZ,Desc,46,XYZ,1.6000,0
XYZ1,Desc,56,XYZ1,8.6000,0
XYZ2,Desc,66,XYZ2,10.6000,0
XYZ3,Desc,76,XYZ3,11.6000,0
new_file.txt Contents:-
XYZ,Desc,46,XYZ,1.6000,0
XYZ1,Desc,86,XYZ1,9.6000,0
XYZ2,Desc,66,XYZ2,10.6000,0
XYZ3,Desc,100,XYZ3,11.6000,0
Need file:- (new_file.txt - old_file.txt)
XYZ1,Desc,86,XYZ1,9.6000,0
XYZ3,Desc,100,XYZ3,11.6000,0
Thank You in advance.
You are coping what is usually refered as "longest common subsequence problem", there are a looot of implementations of the most common algorithm. You can spot the solution of your problem working on the script provided here.
You could use the Text_Diff pear package which is pretty robust. There's also the xdiff extension, which you can do this with, using the xdiff_file_diff function
xdiff_file_diff('Old_file.txt', 'new_file.txt', 'diff.txt');
Where diff.txt would be the resulting file with the comparison between the two files.