Cropping and imageData woes
Posted: Fri Apr 20, 2012 3:38 pm
My app currently gets a picture from the camera or library and puts it into one large image area and two thumbnails, all on different cards. I do this by first putting it into a variable and then putting that variable into the images.
Now I want to crop a picture before placing it, and as I found out via a previous post, it seems it is only possible to access a cropped image via its imageData property. In other words you can't "put" it. You have to set the imageData of the target to the imageArea of the source. However, using imageData does not work when the image areas are different (as implied in the dictionary). Something appears in the target images but it is totally garbled.
So, is there any way I can crop a picture and put it into image areas of different sizes?
TIA
Don
Now I want to crop a picture before placing it, and as I found out via a previous post, it seems it is only possible to access a cropped image via its imageData property. In other words you can't "put" it. You have to set the imageData of the target to the imageArea of the source. However, using imageData does not work when the image areas are different (as implied in the dictionary). Something appears in the target images but it is totally garbled.
So, is there any way I can crop a picture and put it into image areas of different sizes?
TIA
Don