For some reason, I can't get SVG images to show up on my phone, only the simulator. Is this bug / feature that is in progress / expected? I can't find any documentation on file formats in the guide.
Don't know if this affects it, but I'm using API.AI's Actions on Google tab to create the carousel.
Thanks in advance!
The phone doesn't support SVG, and that's the expected behavior.
You can use JPG, PNG or even GIF with animations.
I agree that this should be available in the documentation.
Related
a few days ago I realized that my homepage www.blog-it-solutions.de will not correctly represented in iPhone Safari.
This is how it looks:
Has anyone an idea what happend?
Maybe it's a png which is somewhere in the page, i've had the same problem on my website and I solved it by converting the png into jpeg and it worked
You may either:
Re-save the files as other image files (JPEG, GIF)
If it is a gradient image, then you may use CSS3 Gradient to achieve the effect.
I was wondering how to go about creating an image app for the iphone. I know how to create an iphone app. I was just wondering what the best way to make an image app is. I want the user to be able to import an image, and then the app will add an effect to it like blur it or tint it or warp it. How can I do this? I've been searching forever. Please help.
I encourgae you to look into a few image processing libraries for iOS that are out there. A search on Google will return a few options..
Here's one > http://mobileorchard.com/a-simple-iphone-image-processing-library/
You should also look into the sample code provided by Apple on GLImageProcessing > http://developer.apple.com/library/ios/#samplecode/GLImageProcessing/Introduction/Intro.html
Regarding importing pictures into your app; there are several examples out there on how to do so through the UIIMagePickerController. Here's one >
http://maniacdev.com/2010/02/uiimagepickercontroller-using-the-camera/
How to picker some pictures from the library, and convert them to a gif?
There's ImageMagick for iPhone.Check Using ImageMagick to create animated GIFs on the iPhone.
Or search "ImageMagick for iphone" at Google
Check these Links
According to Apple,
Xcode automatically optimizes your PNG images using the pngcrush
utility shipped with the SDK. (You’ll find the program in the iPhoneOS
platform folders in /Developer. Run it from the command line with the
–iphoneswitch to convert standard PNG files to iPhone- formatted
ones.) For this reason,use PNG images in your iPhone apps where
possible as your preferred image format.
Better prefer to use PNG's for your image requirements
For Picking Image :
http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/
http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.html#//apple_ref/doc/uid/TP40010406
For Conversion :
http://blog.objectgraph.com/index.php/2010/04/05/download-an-image-and-save-it-as-png-or-jpeg-in-iphone-sdk/
Hope this Helps
You can create a GIF using the ImageIO framework, which is part of the iOS SDK. You don't need ImageMagick or any other third-party library.
Look at this answer for code that uses ImageIO to create an animated GIF. If you don't want an animated GIF, just add a single image instead of a bunch of images.
As for picking images from the library, there are many questions about this already on stackoverflow. Just search for [iphone] pick image from library.
Hi
I am developing an ipad Magazine app where I need to display pdf files.I am using leaves project for page curl effect.This works great.
But in landscape page fits to height(768px) and it becomes difficult to read the font.
Thats why I want to support zoom in/out on this view.
I am a newbie to Core Graphics.I think in leaves project they parse pdf to show image of each page.But I dont know why zoom is not supported if it is an image.
There are some more branches of leaves project for implementing this feature but all of them are not perfect.
Shall I continue using leaves or UIViewAnimationTransitionCurlUp/Down will help me for both the problems?
Thanks
here is the code for your requirement. check out this
You can refer this tutorial. Provided by APPLE
Hope it helps.
I was wondering what is the best way to display a big PDF file (it's a map actually) using iPhone SDK (the file is around 5MB), because it's really slow in a UIWebView.
I want to be able to scroll through the PDF and zoom in/out.
Also do you think that it would be better to convert it to a PNG?
Thank in advance
You can display the PDF using quartz it is faster, but it requires more code to handle it. You can download the quartz example from Apple. The only drawback I have seen is that zooming isn't as smooth.