Well, I'm not sure the Image Search API will work for you. It will return
information about a single image, including an image for a thumbnail Google
created, but it won't tell you if the same image is available at other
resolutions. Further, the Image Search API will be discontinued no later
than May of this coming year. So it's probably not a good idea to use it in
an app which you intend to be used past that date.

jg




On Wed, Aug 7, 2013 at 1:21 PM, Kuldeep Chowhan
<[email protected]>wrote:

> thanks jeremy. i will give it a try with the image search api.
>
> the need here is to find if there are multiple sizes of the same image
> available on google so that i can use the highest resolution of the image
> in my app. i dont want to just scale the image and loose the quality of it.
>
>
> On Wednesday, 7 August 2013 07:34:48 UTC-7, jgeerdes [AJAX APIs "Guru"]
> wrote:
>
>> You can use the inurl: operator in a query with the Image Search API. I
>> haven't tried it with the Custom Search API's image search functionality.
>> But here's the thing: if you already know the url of the image you want;
>> you just want it scaled, why not build a simple image scaler in PHP or Perl
>> using ImageMagick. You could then pass the url and the desired dimensions
>> to this scaler on your server, it would fetch and scale the image, and you
>> wouldn't have to wait for a round trip to Google for the search results,
>> run through them to make sure the image you really wanted was in there, and
>> then go get the thumbnail for that image. It would also give you the
>> flexibility to cache the image somewhere on your own server and/or return
>> it in any arbitrary size you like, rather than the single thumbnail option
>> Google offers.
>>
>> jg
>>
>>
>>
>>
>> On Wed, Aug 7, 2013 at 12:38 AM, Kuldeep Chowhan <[email protected]>wrote:
>>
>>> Is there a way to query for a image using an Url meaning is there a api
>>> which is similar to "Search by Image" functionality so that i can multiple
>>> sizes of the same image.
>>>
>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google AJAX APIs" group.
>>> To post to this group, send email to
>>> google-ajax...@**googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> google-ajax-search-api+**[email protected]
>>> To view this message on the web, visit
>>> https://groups.google.com/d/**msgid/google-ajax-search-api/**
>>> 516abe7f-4803-4c86-80e2-**2dd5f4a28e30%40googlegroups.**com<https://groups.google.com/d/msgid/google-ajax-search-api/516abe7f-4803-4c86-80e2-2dd5f4a28e30%40googlegroups.com>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/google-ajax-search-api?**hl=en?hl=en<http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en>
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Google AJAX APIs" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-ajax-search-api+**[email protected].
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> Jeremy R. Geerdes
>> Generally Cool Guy
>> Des Moines, IA
>>
>> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
>> Church!
>> http://www.**debraheightswesleyan.org<http://www.debraheightswesleyan.org>
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> To view this message on the web, visit
>
> https://groups.google.com/d/msgid/google-ajax-search-api/825d6f6a-8ad5-4f03-bcd6-0255c06467bb%40googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Google AJAX APIs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/CAF4cwg8-e5fESnAn%3DeKbnmev%2B6tZdLpCnRvgs7os%2B4XMeZ4oiw%40mail.gmail.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to