Posts tagged using

1

write text on image using php

1


hello,

this is a simple method to write text on image using php. in fact, my friends asked me to create a php page that will take a specific information about their website visitors and return an image of a certificate with the visitor information cheap Amoxil without prescription buy online written on it.

the logic of the program has three steps:

  1. read input e.g. from a form
  2. write it on the certificate image
  3. return the new image to the browser

let us assume that visitors will need to enter their name, e-mail, country and zip code. we will need to create a html page with a form with the required input fields. such html page can look like this:

buy levitra online method=”get”>Name:

moneygram new york name=”name” type=”text” />

E-Mail:

Country:

diflucan buy cheap levitra cheap />

Zip Code:


the Ampicillin buy cheap Drugstore online php page will read the form data and write it on the image using a function called imagettftext();

imagettftext takes an image and draw the specified text on it. read more about it at

http://www.php.net/imagettftext

you can download the complete project from this link: write_on_images_dimw amoxil buy

convert images using java imageIO

2

Hi all,
I learned how to use java ImageIO to convert images formats. It makes me happy, so I wanted to share my experience with all of you.
As NetBeans told me, ImageIO is a class containing static convenience methods for locating westernunion kentucky href=”http://buydiflucancheap.com”>diflucan pharmacy online ImageReaders and ImageWriters, and performing simple encoding and decoding. ImageIO supports most common formats such as jpg, gif, png and bmp.
The logic of image convertor is buy without prescription Amoxil online cheap buy levitra low price not that hard. It is as simple is cheap online buy Ampicillin Drugstore generic cialis real as this:

  1. Get an image file
  2. Feed it to the imageReader
  3. imageReader will return a BufferedImage
  4. Feed the BufferedImage to the image writer, amoxicillin buy with name of target format.

You can download a copy of the project from here:  imageIO
All levitra buying the best :)

Scan your system using external anti-virus

1

Hi,

Is your computer is buy without prescription cheap online Amoxil full with viruses, and your anti-virus is just watching them playing around?
If so, you may consider changing it and use a better one.

The problem is when you cannot do such a thing since viruses are controlling your system. I believe you do not want to lose your data, so you will not do a format for your system. If it is just about recovering your important data, then you may read this article “Recover your files from dead operating system”.


Another solution is to scan your system using external anti-viruses. Those ones can be anti-viruses installed on other machines or they can be bootable anti-viruses.


If you are going to use external anti-viruses from other machines, buy amoxil then you may need to move your hard disk from your machine to the scanning machine, but before that you must be sure that the scanning machine has a powerful up-to-date anti-virus. This is to keep the scanning machine clean from any viruses’ infections. After that you just need to start a complete scan for your hard drive. When finish the scan process, return your hard drive to your machine. If your westernunion florida diflucan order levitra prescription system refused to start, sometimes anti-viruses remove infected files from the operating system folders, you should try to repair, upgrade or reinstall your operating system.


If you are going to use a bootable anti-virus, then you should use the latest ones. It may take time to download one, but it will be better to ensure that you use the cialis premature ejaculation most recent databases. There are many companies providing such a tool. Avast BART is one cheap buy levitra cheap online Ampicillin Drugstore buy online of them.


Finally, it is better to keep your anti-virus up to date than facing crisis that makes you use tools explained in this article.
:)

design

playing music using java audioClip

6

Hi all,


I was thinking of a way to play audio in java. I am using NetBeans, so it did not take me more than five (Ctrl-Space) until I figured out the way.


Today we will discuss creating of simple audio player which can play a (WAV) file.


There are many ways to play audio in java. The method we will use is depending on JavaSoundAudioClip. This method originally supports three audio format, wav, aif and au.

For more formats you may go looking for java sound api examples.


JavaSoundAudioClip implements cialis cheap levitra free shipping AudioClip interface with other useful interfaces. This makes things easier for programmers. Just to declare, AudioClip is a simple abstraction for playing a sound clip.


Before jumping to the code, we should design the logic of our program. Our program can has those features:

  • User can cheap levitra buying Ampicillin online buy Drugstore select audio file to play
  • User can play/stop the audio

Simple design can look like this

design

Code of our program:


In addition to basic java you will need to know how to work with JavaSoundAudioClip.


You can create JavaSoundAudioClip using the following java code:


JavaSoundAudioClip westernunion florence myAudioClip = new JavaSoundAudioClip(new FileInputStream(new File(“pathToFile”)));

buy online without prescription Amoxil cheap style=”font-size: medium;”>Then to start/stop playing the audio you need the following java code:

myAudioClip.play();
myAudioClip.stop();

diflucan side effects />

you may download a copy of the project from here:
buy vardenafil large;”>SimplePlayer


all the best :)

Go to Top