iphone: scale when using glgif library - iphone

I am using glgif to display some gif picture on iphone, the gif is be downloaded from web. I display it on iphone successfully but the picture seems wrong scale. It happened to many pictures. Can anyone suggest me to fix this? I dig in to glgif but can not find a way to fix.
Thank you very much.

Uncomment [self setAspectScale:YES]; inside -(void)startAnimation:(Video*)video;

Related

iPhone: iPhoto like tile view for image browsing

In an iPhone application I want to create an UI that just look like iPhoto application where photos will be loaded like iPhoto's tile view.
I am planning to use UITableView To achieve this.
How can I manage showing random sizes images just like iPhoto app shows in there gallery view?
Any library which will help to achieve it? Can you please provide code sample url's?
Shiv you can try AQGridView that may help you to achieve what you are looking for.
You can also wait for IOS 6 and see photo tools.
check out http://three20.info/ as well and may help you. Probably you may have hit iPhone show photos/images sliding (like photo library and Facebook app)? link. but be sure to check this link.
Hope this many things would help you; I tried to give answer in noon but it take me late and it's evening now.

How can i take screen shots from running video in iphone

I have developed one application in iPhone which contains videos.
Now I want to take screen shots form that running video.I am not having much time for search.
Is anybody having any idea regarding this thing...I know i have asked a bit silly question but still want proper answer.
Try this
- (UIImage *)thumbnailImageAtTime:(NSTimeInterval)playbackTime timeOption:(MPMovieTimeOption)option
maybe this could help you:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/2353-possible-make-screenshot-programmatically-2.html
To take a screenshot on iPhone press the Home and Sleep/Power buttons at the same time.

Annotation lines for iphone videos

I am working on an iPhone application where i be creating an video where i can annotate the video with lines .
I have gone through the library but could not find anything that could help me till now .
I would really appreciate it if anyone could show some light on this matter at the earliest.
Thanking You,
If you want to add yourown graphics or text or lines to the video have a look at AVFoundation, should be able to do what you wAnt

how to use .gif files in iphone sdk?

I am getting a problem in displaying the .gif file in my view.Actually I am getting the .gif files from the parser and I need to display the into my view.Can anyone suggest how to use the .gif file in our app.I am struggling a lot for this.Can we convert .gif,.tiff and .jpg files into .png with progrmming?
Anyone's help will be much appreciated.
Thank to all who helped me,
Monish.
UIImage already support gif file. So you should be able to show it in UIImageView. What is the problem that you are getting actually? There might be some other problem. Please post some code so that we can further check.
For testing you can use a png and check whether the problem is actually causing by gif or not.
Best way I found is to use this perfect UIImage Category
https://github.com/mayoff/uiimage-from-animated-gif/

How to rotate QTVR image 360 degree in iPhone?

I want to develope one iphone based application in which i want to rotate one image (type:QTVR) 360 degree. So, i can get the same behavior like street view in google map.
If anybody has done this then please share code snippet here or any useful url for any related article then please paste it in reply.
Any help is greatly appreciate.
Thanks in Advance,
I guess you mean you wanna "rotate" your point-of-view to "scroll" a panoramic image...
I'm using the software "Pano2vr"
It can export panoramas in HTML+javascript+css, so you can embed all the files in your project
and load it in a UIWebView
You can download the demo version to have a look here:
http://gardengnomesoftware.com/pano2vr.php
ciao, luca