iPhone Core Graphics - merge two images

Cerrado Publicado Mar 24, 2009 Pagado a la entrega
Cerrado Pagado a la entrega

I need some sample code on how to do the following on iPhone with Core Graphics using the blending mode. I do not want to get the pixel data and manipulate them directly. 1. Merge two images.

2. Separate an image's color channels (R, G, B or combination of 2).

So, this project should work like this.

1. A Navigation controller based app.

2. Main view is a table view with two items: "Merge images" and "Separate channels".

3. When "Merge images" is selected, it goes into the view controller #2.

? ? ? 3.1 The view has an image view and a toolbar.

? ? ? 3.2 The toolbar has three buttons: "Left", "Right" and "Save".

? ? ? 3.3 When "Left" or "Right" is tapped, it prompts an image from the photo albums.

? ? ? 3.4 If only "Left" or "Right" image is set, it displays the single image.

? ? ? 3.5 If both "Left" and "Right" images are set, it merges them and displays the merged image.

? ? ? 3.6 When "Save" is tapped, it saves the merged image to the camera roll.

4. When "Separate channels" is selected, it goes to view controller #3.

? ? ? 4.1 The view has 4 image views and a toolbar.

? ? ? 4.2 The toolbar has two buttons, "Separate" and "Save"

? ? ? 4.3 When "Separate" is tapped, it prompts an image from the photo albums.

? ? ? 4.4 ImageView1 displays the original image.

? ? ? 4.5 A new image is created with the red channel only from the original image. ImageView2 displays the red channel image.

? ? ? 4.6 A new image is created with the blue+green channels from the original image. ImageView3 displays the blue+green channel image.

? ? ? 4.7 Then the Red channel is merged back with the blue+green channel. The merged image is displayed in ImageView4.

? ? ? 4.8 ImageView4 should be exactly the same as the original image.

You should use Core Graphics for this project, using CGContextRef. Do not get the raw pixel data and manipulate the image yourself.

? ?

Programación en C Cocoa Ingeniería iPhone MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #3757863

Sobre el proyecto

3 propuestas Proyecto remoto Activo Apr 15, 2009

3 freelancers están ofertando un promedio de $963 por este trabajo

ipadcoder

See private message.

$2507.5 USD en 7 días
(65 comentarios)
7.3
winsoluvw

See private message.

$297.5 USD en 7 días
(29 comentarios)
6.1
danringwalt

See private message.

$85 USD en 7 días
(11 comentarios)
4.4