2
Answers

Using Google Search Engine In Website

Chakshu Jindal

Chakshu Jindal

12y
1.7k
1
Hi,

What I want is :

There is a google search engine in my website, and when I input anything to search for, it uses the actual www.google.com or I should say google database but the thing is searched results must be displayed on my site, I don't want that when I search for a particular thing in search engine, a new tab is opened or redirects to another website, I just want to have results on my website and then after clicking on the result, user may be redirected to another website.


Hoping for earliest reply.

Thanks
Answers (2)
0
Santiago Felipe
NA 2 0 9y
Do you mean you want to convert the JPEG image to PNG while loading the JPEG image (and not after)?

Are you selecting and loading the JPEG image using the OpenFileDialog Class?

If yes, you can get the name of the JPEG file, pass it Image.FromFile method:
https://msdn.microsoft.com/en-us/library/system.drawing.image.fromfile.aspx
And then save it to PNG using the
Image.Save method (Stream, ImageFormat):
https://msdn.microsoft.com/en-us/library/ms142147.aspx

But if you face any problem while loading or saving the JPEG or PNG images, you can try using loading and saving features from leadtools programming toolkit.
0
Raja T
NA 7.4k 6k 9y
Hi,

Please refer below URLs

http://stackoverflow.com/questions/17294737/converting-an-image-to-png-on-upload


http://stackoverflow.com/questions/3906260/how-can-i-convert-a-jpeg-image-to-a-png-one-with-transparent-background


http://www.c-sharpcorner.com/UploadFile/scottlysle/ImageConverter09132006105604AM/ImageConverter.aspx

Thanks