My question is: Since I have an app that downloads images from TMDB (the movie database) and I can't edit them in Photoshop before adding them to my application I was wondering if there was a way to add effects. Like a nice drop shadow and a 1 pix border to my images dynamically as they are downloaded or referenced from within application? (during development)
I can't seem to find a way to do this. I'm probably looking in the wrong place though.
Any help?
You can easily do all that using Quartz.
Related
I would like to animate using Adobe Edge (html5). I would then like to proceed to import my animation in Xcode for an iPad app (IOS 8). I will be using Objective-C for this project. Is there any way to do so?
If not what are my alternatives? Keep in mind I want to animate using some sort of GUI application.
I think it depends on what sort of animations you want to create and how they will be used in your app. One possible way is to integrate the SpriteKit library into your UI, which can be useful for making animations or interactive artwork in your UI.
If you go this route, you can create an animation as a movie clip symbol in Adobe Animate. (Adobe Edge Animate has been discontinued and effectively replaced by what is currently called Adobe Animate). Then right-click your symbol in Animate and select Export PNG Sequence. This will produce the frames of your animation as PNG images, which you can then animate in your app using SpriteKit. Animate can also export art assets as a sprite sheet or texture atlas.
You would need to get familiar with the SpriteKit library to go this route. As other users pointed out, there are alternate approaches you could take.
The only way I know this would work would be to use a webview in your ObjectiveC code. Then you would point your web view to the local HTML/JS files generated by Edge Animate. Basically this is how Cordova does things.
You could user alternatives like Phonegap, or create your own UIWebView and charge the www folder.
My iOS app (objective-C) handles photos. I'd like it to be able offer the user a way to automatically "adjust" an image, like how iOS itself does in the Photos app (little magic-wand icon), or how facebook does it. This basically means auto-brightness and auto-contrast adjustment.
So far i've found "filtrr" (more concerned with adding color it seems), and OpenCV (uhh, feels like using a nuclear missile to swat a fly with). Any other hints? Is there some library or a way of even doing this natively in iOS?
thx!
Look into Core Image for info on filters and how to apply them. Apple's programming guide is a good place to start.
Once you're up and running with Core Image, see the autoAdjustmentFilters method for getting a set of filters that's preconfigured for "one touch enhance" kinds of usage.
Is there any tutorials that show how to make a Image display similar to the Album Art diaply in iTunes? Or anything similar. I followed code posted here, but I just cannot seem to get it working in the new XCode. Opening his project works fine, but using it in my own, the UIImageView renders the images beyond it's borders, making them appear over each other.
Any help would be appreciated.
I assume you're talking about CoverFlow?
I wrote a free, very easy to use CoverFlow library. It's modelled on the way that UITableView works, so if you can use that, you can use this. You can get it from here:
https://github.com/nicklockwood/iCarousel
I am working with a small camera app for a client and I have now finished all functionality of it. In the standard camera controls i need to modify one thing , the cancel button should say gallery instead.
But unless i am missing something i will need to remove the overlay by setting showsCameraControls to NO and then building my entire overlayView from scratch.
I have found this solution but I am afraid to go this route due to the warning in the beginning of the post.
So is there any valid way of doing simple small modifications to the existing camera overlay control UI or do you have to build it from scratch if you need to change one tiiiiiiny thing?
Unfortunately, having been in this situation I can safely say you need to build the controls from scratch. You really only have two options: create your own camera overlay, or use the default one.
Now, you could use the techniques described in the link you cite, and iterate through the various subviews and modify them 'blind'. The rather large danger with this is every time Apple change the internal structure of the image picker it could potentially break your solution. So I'd definitely stay clear of it.
I'm currently scoping out a project for the iPad which is rather text and font heavy. There are many pages of styled text, which also need custom fonts. I have toyed with the idea of simply rendering PDF or PNG files on-screen, but I think we need to be able to dynamically repaginate the text.
We've used UIWebView in a previous project quite successfully, however there are a few things I don't like about it... Firstly, you have to hide all the silly drop shadow elements to stop them showing when the user scrolls beyond the bounds, and we had to add some JavaScript to find out actually when a page had fully loaded. Overall, the experience seemed a bit clunky, as well as worrying if the project could potentially break if Apple decided to update the subviews...
The other thing we've been looking at is Core Text, which looks very powerful. The only worry with this is that it appears to be a rather steep learning curve for us since we've mainly been working in UIKit (with a bit of Core Graphics). I couldn't even work out how to change the size of the font after a morning's work.
Are there any other alternatives*? Should I stick with Core Text? Is there any way of using UITextView with multiple fonts and styles?
Thanks!
:-Joe
EDIT: *by alternatives, I am really looking for built-in iPhone SDK alternatives only please... I would rather not mess with third party frameworks because I don't have the time... Thanks :)
You could use Pango, which uses CoreText when on iOS.