RGB curves in Quartz Composer - objective-c

I'm trying to figure out how to translate (even if roughly) RGB curves from Photoshop into Quartz Composer - and ultimately into iOS. Any ideas on the best way to do this? Thanks!

For generating a LUT in Photoshop use File > Export > Color Lookup Tables.
For importing LookUp Table into Quartz Composer composition you may use JavaScript patch. Look at this post: How to use LUT with JavaScript?
Touching iOS development, you should get acquainted with Quartz Composer runtime implementation for iOS on GitHub (by Joris Kluivers). Find it here:
https://github.com/kluivers/qc-mobile

Related

React native video as GL texture

It seems it’s not possible to use a video as a texture with expo-gl (texImage2D is not able to take any video params, cf. context definition and API documentation). This feature is currently requested on the canny.
I'm looking to convert an expo-av video to an ArrayBuffer with pixel data or any way to pass a video as a texture to a shader.
I made some research but I didn't find any solution for the moment:
gl-react: video processing: https://github.com/gre/gl-react/issues/215
react-native-gpuimage (react-native-video is not working inside GL.Node): https://github.com/CubeSugar/react-native-GPUImage/issues/1
Actually, this could be interesting: https://github.com/shahen94/react-native-video-processing. This library purpose is to edit, trim and compress videos, but there's actually no way to pass custom shaders.
A lot of issues has been open on Github (even on the expo org expo-three package) but there's no answer yet. I'm looking for resources or any advice to accomplish this. For the moment, the best solution I can see is to do a sprite sheet.

How to make android animation like new Google app, "Playbook for Developers"?

This is the link for the app Playbook for Developers.
these are examples of animations::
I think, this app use AnimatedVectorDrawable.
However it is very difficult to create a complex animation, unless there is any tool that converts vectors as svg2android made ools as Adobe Illustrator into vectors android can identify.
I would be most grateful if you tell me how to make these animations and if there is any tool to make using tools such as Adobe After Effects.
Unzip the apk and you will find out that they are gif files.
And it seems that they are using https://github.com/koral--/android-gif-drawable to load gif files.

Animation/Transition-Creator for iOS/Objective-C?

Together with an illustrator I want to create some screens with lots of animations/transitions (moving sprites). I need the illustrator to do the animation. He knows how to use AfterEffects so best would be some kind of timeline-tool to create the transitions/scalings/alphas etc.
My question is now: Is there some kind of tool out there that could be used to create animations and then export the used parameters to objective-c to import it to xcode?
Thanx!
To my knowledge: No.
We spend some time a couple of months back trying to find something similar to Expression blend, just for iOS, but without luck.
If you however are planing to make your app for MacOS and not iOS you can take a look at quartz composer. For iOS you could also take a look at storyboard (here is a link to fairly good tutorial), but I'm afraid your needs will not be met by the features of storyboard.
I found Flash2Cocos2D and I think this is the best solution available right now.
Also promissing: cocosbuilder!

Showing multiple simultaneous tool tips in Cocoa

I want to add a feature to my Mac app inspired by the Help mode in iPhoto for iPad, pictured below. I would love to do this using built-in APIs, so I don't have to build my own tool-tip-like view. Is there any way for me to either show multiple tool tips at the same time, or to achieve something similar using NSHelpManager?
If you are targeting 10.7 or later you could do this fairly easily using NSPopover. You would have to create quite a few popover windows but it isn't difficult to do.

How can I create an animated .gif from a movie?

How can I create an animated .gif file from a movie I have?
I guess it is pretty simple in objective-C and cocoa, by using the QTKit, to extract images from a movie, now how can I glue them together as an animated gif?
I don't think there's anything built into OS X for creating animated GIFs. Your best bet would be to look at the gifsicle project. You could either call it via command-line, or borrow the code if your license allows it. (it's GPL)
http://www.lcdf.org/gifsicle/
There is a pretty good lib (even if 'old') for this task (and other kinds of image processing): libgd. It appears it is built into Mac OS X or easly installable through MacPorts. Here some doc about animated GIF creation from single images.