0
-(IBAction)changeslidervalue:(id)
   {
      imageView.alpha = sliderValue.value;
   }

I am using this code, can anyone help me or solve my issue..

Thanks in Advance...

Vikas S Singh
  • 1,748
  • 1
  • 14
  • 29
Shriram Kadam
  • 394
  • 1
  • 4
  • 20
  • are you getting any value from the slider? – Tripti Kumar Nov 07 '12 at 06:10
  • NO If you are open the camera then you change the brightness your device as like brightness setting in your device.I am using UISlider for change the extra Brightness on our device as a run time.. – Shriram Kadam Nov 07 '12 at 06:57

2 Answers2

0

Have you tried changing the screen brightness instead of changing the videos alpha?

Try this code:

-(IBAction)changeslidervalue:(id)
{
    [[UIScreen mainScreen] setBrightness:sliderValue.value];
}
pedros
  • 1,197
  • 10
  • 18
  • Ok! Thanks !this code is working but after choose image on library.If you are open the camera then you change the brightness your device as like brightness setting in your device.I am using UISlider for change the extra Brightness on our device as a run time.. – Shriram Kadam Nov 07 '12 at 06:43
  • I am using UISlider for change the extra Brightness on our device as a run time its possible? – Shriram Kadam Nov 24 '12 at 22:03
0

Apple developer have one demo GLImageProcessing for images related processing. You can find it here http://developer.apple.com/library/ios/#samplecode/GLImageProcessing/Introduction/Intro.html. Import your image here and after processing you need to save it again in image view. Actually this demo is working with OpenGL ES api. (If this demo is use full for you comment here,i will provide you code for change EAGLView to image view)

Sudesh Kumar
  • 569
  • 3
  • 13