How to save an edited viceo clip in premier elements 11 to my organizer (windows 07)?
How to save an edited video clip in premier elements to my organizer so that I can add teh edited video clip to my slide show on windows 7 operating system?
sanford5
This is not Adobe. We are Premiere Elements users trying to help other Premiere Elements users with their Premiere Elements workflows. Under those conditions, only Adobe may have the opportunity to access your computer in troubleshooting session between you and them. You can use the following link to contact Adobe via its Adobe Chat.
http://helpx.adobe.com/contact.html?product=premiere-elements&topic=using-my-product-or-se rvice
When the link opens, click on the statement "I still need help" to bring up Adobe Chat.
I have no idea if they will charge you a fee for the service ($40 US dollar/hour). It might not even help you (fee or no fee) because you do not have the latest version of Premiere Elements.
What you ask is easy enough. Let me try again with a step by step to see if we can get this working for you in principle and then fine tune the details.
1. Export your Timeline to a file, using Publish+Share/Computer and then one of the choices
Adobe Flash Video, MPEG, AVCHD, AVI, Windows Media, QuickTime, Image, Audio. I do not know what your project settings are, but I am going to guess at NTSC/AVCHD/Full HD1080i30. That would represent 1920 x 1080 @ 29.97 interlaced frames per second.
The following is going to be a mini test run in principle so we will cut to the core and overlook some things.
Go to Publish + Share/Computer/AVCHD/ and set Presets = MP4 - H.264 1920 x 1080p30.
Note that there is a field for Save In: near where you set Presets. Set the Save In for Libraries/Documents not C:\Program Files\Adobe\Adobe Premiere Elements 11. Keep out of the Program Files for matters such as these.
Go to the Elements Organizer 12 File Menu/Get Photos and Videos/From Files and Folders and then browse to and select your MP4 file that you have saved in Libraries/Documents.
You now should have your video represented in the Elements Organizer 12 with a thumbnail.
Please let us know if that works for you. If not, then please let us know where you need supplemental help to get the task completed. I will re-write if necessary.
We will be watching for your results.
Thank you.
ATR
Add On...A little side note for later...If you took your file saved to the computer hard drive and imported that back into Premiere Elements with Premiere Elements' Add Media/Files and Folders, you would get
a. the file imported into a new project
but also
b. a copy of the file automatically placed in the Elements Organizer 12.
If the ideas seem overwhelming, please take the steps on one at a time and follow exactly what is written. You should do fine.
Similar Messages
-
How to save an edited album order in Photoshop Elements 11 organizer
How do I save an editid picture-order in an album?
How do I save an editid picture-order in an album?
-
How to save and edit a Word template and excel??
How to save and edit a Word template and excel (extension. doc and. xls) in an XE database, which can be opened to allow the document and record all changes made by the user of the palicacion.
or where it a clear tutorial on this topic.?
I appreciate your attention and collaboration.
good day ...You should not expect to do this in Oracle. But by .net, it can be fine
http://www.codeproject.com/Articles/36432/Edit-Microsoft-Word-Document-From-Your-Application -
I am trying to figure out how to save/share only a clip out of an entire project.
I am trying to figure out how to save/share only a clip out of an entire project. I do not want to delete the rest of the timeline as I want to cut/copy out several smaller clips and save/share them as their own files. I am working on a copy of my original video, and I know I can just bring the project timeline down repeatedly to isolate this clip by deleting all else, but feel there must surely be a simple way to do this.
Sirole11
What version of Premiere Elements are you using and on what computer operating system is it running?
For now I will generalize the principles involved. If more details needed then, please supply the details of your situation and Timeline track placement.
You would place the gray tabs of the WorkArea Bar to span just the area to be exported.
The tabs are set...
Move the Timeline Indicator to the start of the segment, hold down the Alt key of the computer main keyboard as you hit the left bracket key [
then
Move the Timeline Indicator to the end of the segment, hold down the Alt key of the computer main keyboard as you hit the right bracket key ]
The critical step is to make sure that you have a check mark next to the "Share Work Area Bar Only" option in the export dialog (if the dialog has that option).
Please review and remember that the answers are in the details.
Thanks.
ATR -
I recently had some 8mm film transferred to DVD. I am trying to edit the film clips using Premier Elements 4.0. so I can reburn the films on a single BluRay disc. Some of the film clips copy into the project but others don't. I tried copying the VOB filed onto my hard drive and then changing the file extensions on the VOB files to MPEG but this was no help. Some of the VOB files contain numerous film clips but my software does not appear to be able to recognize them as such. I need to know if replacing my old Premier Elements with the new Version 13 would solve this problem or not. Any advice would be greatly appreciated!
BobBob
What do you have now.....
What computer operating system do you have?
We can go into the finer points of source and your intentions, but for now it would appear that you are using SD 4:3 source media to get to a HD 16:9 result. Lots to discuss in this regard.
What was given to you on the DVD disc? DVD-VIDEO 4:3 or something else?
If DVD-VIDEO on DVD disc, you should expect to find on the disc a folder named VIDEO_TS. That is your target for your video files.
If you were given a DVD-VIDEO on DVD disc, then all you want from it are the video files, specifically
VTS_01_1.VOB, VTS_01_2.VOB, and so on through that series until possibly getting to
VTS_02_1.VOB, and so on. How many files you have beyond the VTS_01_1.VOB file will depend on the size of the DVD-VIDEO.
Does the above scenario apply to you?
The alternative might be someone giving a DVD disc (data disc) which contains just the VTS files mentioned which were copied from
the VIDEO_TS Folder. So, you do not get the whole VIDEO_TS Folder, just the essential video files. Does this scenario apply to you.
I see no need to replace your Premiere Elements 4 with a later version unless you have a huge project and need a later version that will be a 64 bit application running specifically on Windows 7, 8, or 8.1 64 bit computer.
Consider...Premiere Elements 4 and if you have DVD-VIDEO on DVD....
1. Place the DVD disc in the burner tray
2. Open Premiere Elements 4 and set the project preset for NTSC DV Standard (assuming you are working in a NTSC setup)
3. Go to
Get Media
"DVD, Digital Camera, Mobile Phone, Hard Drive Camcorder, Card Reader"
"Adobe Premiere Elements - Media Downloader" and its Advanced dialog.
Set the Source in the latter dialog for the drive which has your DVD disc inserted in its tray
You should see your VTS_01_1.VOB thumbnail in the "Adobe Premiere Elements - Media Downloader" Advanced dialog.
With this VOB selected, click on Get Media to get the file from there into the project.
Should work fine.
Complications may be involved if the people who processed your footage gave you something other what is described above.
Please review and consider, and then we can plan our project strategy accordingly.
Thank you.
ATR -
how can I play MPEG-4 files in Premier Elements? It plays in iTunes but I only see video in Elements
LGSh
Lots of questions, lots of answers needed as mentioned by Hunt. But please include what version of Premiere Elements that you are using when you reply.
How are you importing these file into your Premiere Elements project?
After you drag your file to the Timeline, do you see both an video and audio component (on Video 1/Audio 1) or is there nothing on the Audio 1 track? If you can see a wave form or file on Audio 1, have you checked all the program's volume settings including Edit Menu/Preferences/Audio Hardware and the ASIO settings?
More later.
Please do not hesitate to ask if you need clarification on anything written.
Thank you.
ATR -
How to send FCP edited audio clips for processing in Soundtrack?
Hello
How do I send just the edited audio clips from hour long files to be processed in Soundtrack from Final Cut?
I need help as I'm trying to adjust some edited audio clips in Soundtrack Pro but when I send them from FCP to Soundtrack - it opens the whole original audio file and then any adjustments I apply in Soundtrack are being processed over the whole audio file not just the short edited audio clip that I want to adjust.
Normally I don't mind as my scenes are usually short and Soundtrack analysis over the whole scenes audio is usually desirable, but this projects files have been transfered from tapes as hour long AVI files (all the tapes clips transfered into one hour long files) and every FCP edited audio clip I send is being treated as an hour long audio file in Soundtrack.
I'm sure there's a simple answer for settings but I haven't been able to find it. Any advice appreciated.
BarraThanks Javi, my sequence is an hour and half duration so what I'm trying to do is save processing time in Soundtrack by just processing adjustments on the few audio clips that need processing.
I have set Soundtrack to open referenced audio only and with 5 sec in and out handles, but it still imports the whole original audio file into Soundtrack timeline upto the selected clip, I then double click in Soundtrack on the clip in brackets, and it then selects just the audio clip I want to adjust, then Soundtrack will just process on the edited clip but when I 'render to action' it seems to apply changes to whole original audio file - taking longer than I want.... frustrating
Also the sound always sounds very different in FCP than Soundtrack even after 'rendering to action' and rendering in FCP... this is not the easy workflow I expect from such expensive software programs, I understood that they work together in a fully integrated way, what's the problem! This is wasting my precious time and preventing me from editing not helping me, this is a common problem and yet I can find no help in the user manual - I'm not impressed! -
How to save new edits and text to photo without creating a new file
I am a new user of PSE 7. I am able to enhance and add text to my photos but can't save the edits without creating a new PSD PSE file in addition to the original unedited photo. How do I save the phto itself as edited?
99jon wrote:
If you really want to make your changes irreversible then use “Save As” and select file type from the dropdown list e.g. jpeg and enter the exact same file name as the original. Click OK to save and OK to overwrite the original.
While this of course is the answer to the question, the idea of overwriting the original is simply a bad idea. If you do this, you can never get back to your original and start again. That text will always be there.
I advise the original poster not to do this. Save your edits as a different name. -
How to save the edited datagrid using array collection?
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="demo2">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.events.FlexEvent;
import spark.components.gridClasses.IGridItemEditor;
import spark.components.gridClasses.IGridItemRenderer;
import spark.events.GridItemEditorEvent;
[Bindable]
private var myDP:ArrayCollection = new ArrayCollection([
{label1:"Day1 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day2 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day3 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day4 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day5 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day6 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "}
protected function myDG_gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void
// TODO Auto-generated method stub
protected function button1_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
navigator.popView();
protected function button2_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
myDG.editable=false;
myDP
protected function myDG_exitStateHandler(event:FlexEvent):void
// TODO Auto-generated method stub
]]>
</fx:Script>
<s:DataGrid id="myDG" x="10" y="45" width="460" height="240" dataProvider="{myDP}"
editable="true" exitState="myDG_exitStateHandler(event)" fontSize="11"
gridItemEditorSessionSave="myDG_gridItemEditorSessionSaveHandler(even t)"
rowHeight="30" variableRowHeight="true" selectionMode="singleCell" >
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="label1" headerText="day" editable="false" />
<s:GridColumn dataField="label2" headerText="9-10am"/>
<s:GridColumn dataField="label3" headerText="10-11am"/>
<s:GridColumn dataField="label4" headerText="11am-12noon"/>
<s:GridColumn dataField="label5" headerText="1-2pm"/>
<s:GridColumn dataField="label6" headerText="2-3pm"/>
<s:GridColumn dataField="label7" headerText="3-4pm"/>
</s:ArrayList>
</s:columns >
</s:DataGrid>
<s:Button x="404" y="10" width="53" height="27" label="Back" click="button1_clickHandler(event)"
fontSize="13"/>
<s:Button x="24" y="10" width="56" height="27" label="Save" click="button2_clickHandler(event)"
fontSize="14"/>
</s:View>
please help me with this code...i dontknow how to save the data edited in the datagrid back to my arrayollection!!!please help with this......
-
How to save RAW edits as 16-bit TIFF? Can't find in Aperture, easy on iPhoto
In iPhoto there is "advanced preferences" options to save RAW edits as 16-bit TIFF. Where is this option in Aperture?
I suppose I do not understand how Aperture saves processed RAW photos then; in iPhoto by contrast, the default saves them as JPEG unless the TIFF option is selected.
If you are shooting RAW, Aperture will always store the original RAW file and the sequence of adjustments to produce the image version. It does not render the edited image and create an image file. Only when you export the edited image or share it, will a file of the processed image created.
All editing is always done starting from the RAW file and adding all adjustments. You will see the resulting image in the browser, but the rendered image file will only be created when you need it outside Aperture, and then you can select a suitable export preset. Edited image versions do not take up much extra space, only for thumbnails and optional JPEG previews. -
Importing MOV clips into Premier Elements 10
I'm trying to import Qucktime MOV clips into Adobe Premier Elements 10 but they install as audio files only. How can I get them to load as video clips so I can construct a movie from them?
Hi
I'm using a Mobius 1080p HD camera shooting in HD producing MOV files.
I've inspected one of the files using Quicktime/Windows and the information is
Format - H.264. 1920 x 1080. Millions 16 bit Integer (Little Endian). Mono. 32.000 Htz
Movie FPS = 30.00
Playing FPS = 30.00
Data Size 401.47 MB
Data Rate 18.19 mbits/sec
Duration 00.03.05.00
Normal Size 1920 x 1080 pixels
Current Size 1920 x 1080 pixels
The clips play in excellent quality HD and without a problem in Windows Media Player
I have reformated some in MP4 format and they will play back in Premier Elements after a fashion.. but very slow and jerky making editing just about impossible. I have reloaded Adobe Premier Elements on another computer but get the same results.
It appears Adobe Premier Elements is not up to dealing with these files. -
How to import AVI files created in Adobe Premier Elements 2?
I have captured video in Adobe Premier Elements 2 on my PC from my Canon Optura camcorder. I have a few hundred small .avi files that I need a friend to import into his Final Cut Pro so they can be edited along with other footage that he has created. What is the best way to do this? Should I output a different file type from Adobe to make it easier for him to import?
Thanks in advance.
BobDavid Bogie Chq-1 wrote:
Should I output a different file type from Adobe to make it easier for him to import?
<
No, it would be easier to give him the camera and let him capture natively.
bogiesan</div>
Unfortunately the clips are dispersed throughout many tapes so it is not reasonable for my friend to capture directly from the tapes.
I'm new to video editing and I don't know what format is recorded by my camcorder. Reading in this forum indicates that the .AVI files are just "wrappers". Is the compressor part of Final Cut? Would he be able to convert the files? Is it a problem if the time codes are lost. Can I do anything else in Adobe to make the conversion easier?
Sorry for all the dumb questions. -
How do i close dynamiclinkmanager when downloading Abobe Premier Elements 10
How do I close dynamiclinkmanager while trying to re-download Adobe Premier Elements 10?
You need to look at this article: http://forums.adobe.com/thread/503132, and change your e-mail notifications in your Adobe Forums I.D. Profile.
If you are unable to do that, please post to the Forum Comments Forum: http://forums.adobe.com/community/general/forum_comments. There Adobe-Admin (John C.) can track your subscriptions, and can tell you how many accounts you have, plus exactly what you are subscribed to.
Good luck,
Hunt -
How to save the edited fields in ALV list
Hi
hope you could help me find a solution, I made my fields editable in ALV grid display as you can see in the code ZID_NUM, ZLAST_NAME and ZMIDDLE_NAME is editable..
an example scenario would be if I execute the program it will show me 5 lines, all the fields can be edited by the user...(example he edited all data in the result). When he press save, it will automatically update the ztable (ZMEMPLIST in this case). How do you go about the saving?
thanks!!
select * from zmemplist client specified
into corresponding fields of table it_ztable.
it_fieldcat-fieldname = 'ZID_NUM'.
it_fieldcat-seltext_m = ' ID Number '.
it_fieldcat-col_pos = 1.
it_fieldcat-input = 'X'.
it_fieldcat-edit = 'X'.
append it_fieldcat to it_fieldcat.
clear it_fieldcat.
it_fieldcat-fieldname = 'ZLAST_NAME'.
it_fieldcat-seltext_m = ' Last Name '.
it_fieldcat-col_pos = 2.
it_fieldcat-input = 'X'.
it_fieldcat-edit = 'X'.
append it_fieldcat to it_fieldcat.
clear it_fieldcat.
it_fieldcat-fieldname = 'ZFIRST_NAME'.
it_fieldcat-seltext_m = ' First Name '.
it_fieldcat-col_pos = 3.
it_fieldcat-input = 'X'.
it_fieldcat-edit = 'X'.
append it_fieldcat to it_fieldcat.
clear it_fieldcat.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
it_fieldcat = it_fieldcat[]
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
tables
t_outtab = it_ztable.
*& Form user_command
Handling custom function codes
-->R_UCOMM Function code value
-->RS_SELFIELD Info. of cursor position in ALV
form user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case r_ucomm.
when 'SAVE'.
endformHi Lawrence,
Include follwoing code on your user command for 'SAVE'.
*& Form user_command
* Handling custom function codes
* -->R_UCOMM Function code value
* -->RS_SELFIELD Info. of cursor position in ALV
form user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case r_ucomm.
when 'SAVE'.
DATA ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
CALL METHOD ref1->check_changed_data.
............... " your action
* endform
Hope this will sovle your query.
Pratik Vora -
HI, I am small iphone developer,i have one problem in my app,please give the guidence to me.
THIS IS MY PROBLEM:
I HAVE SELECTED ONE PICTURE FROM ALBUMS OR TAKE PICTURE FROM CAM SO I WANT TO CHANGE THE HAIR STYLES PART WITH ANOTHER HAIR STYELS AND SAVE THE PICTURE INTO ALBUMS HOW CAN GENRATE THE CODE OR LOGIC TO ME......I AM TRYING IT FROM 3WEEKS SO COULD YOU PLEASE GIVE ME GUIDENCE TO ME.................HI, I am small iphone developer,i have one problem in my app,please give the guidence to me.
THIS IS MY PROBLEM:
I HAVE SELECTED ONE PICTURE FROM ALBUMS OR TAKE PICTURE FROM CAM SO I WANT TO CHANGE THE HAIR STYLES PART WITH ANOTHER HAIR STYELS AND SAVE THE PICTURE INTO ALBUMS HOW CAN GENRATE THE CODE OR LOGIC TO ME......I AM TRYING IT FROM 3WEEKS SO COULD YOU PLEASE GIVE ME GUIDENCE TO ME.................
Sir I am did it by using Objcetive-C code in iphone as fallows
demoprojectViewController.h
#import <UIKit/UIKit.h>
@interface demoprojectViewController : UIViewController<UIImagePickerControllerDelegate,UINavigationControllerDelegate >
UIImageView *imageView,*editingimage,*maskimage;
UIButton *takePictureButton;
UIButton *selectFromCameraRollButton;
UIView *myview;
@property(nonatomic,retain)IBOutlet UIImageView *imageView;
@property(nonatomic,retain)IBOutlet UIImageView *maskimage;
@property(nonatomic,retain)IBOutlet UIImageView *editingimage;
@property(nonatomic,retain)IBOutlet UIButton *takePictureButton;
@property(nonatomic,retain)IBOutlet UIButton *selectFromCameraRollButton;
@property(nonatomic,retain )IBOutlet UIView *myview;
- (IBAction)getCameraPicture:(id)sender;
- (IBAction)selectExistingPicture;
-(IBAction)pickHair:(id)sender;
-(IBAction)done;
-(IBAction)back;
@end
demoprojectViewController.m
#import "demoprojectViewController.h"
@implementation demoprojectViewController
@synthesize imageView,editingimage,maskimage;
@synthesize takePictureButton;
@synthesize selectFromCameraRollButton;
@synthesize myview;
CGFloat lastScaleFactor = 1;
CGFloat netRotation;
CGPoint netTranslation;
NSArray *images;
int imageIndex = 0;
- (void)didReceiveMemoryWarning
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
#pragma mark - View lifecycle
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
// maskimage=[[UIImageView alloc]initWithFrame:CGRectMake(50, 50, 150, 150)];
//maskimage.image=[UIImage imageNamed:@"1.png"];
if ([UIImagePickerController isSourceTypeAvailable:
UIImagePickerControllerSourceTypeCamera]) {
takePictureButton.hidden = NO;
selectFromCameraRollButton.hidden = NO;
UITapGestureRecognizer *tapGesture =
[[UITapGestureRecognizer alloc]
initWithTarget:self
action:@selector(handleTapGesture:)];
tapGesture.numberOfTapsRequired = 1;
[maskimage addGestureRecognizer:tapGesture];
[tapGesture release];
UIPinchGestureRecognizer *pinchGesture =
[[UIPinchGestureRecognizer alloc]
initWithTarget:self
action:@selector(handlePinchGesture:)];
[maskimage addGestureRecognizer:pinchGesture];
[pinchGesture release];
///---rotate gesture---
UIRotationGestureRecognizer *rotateGesture =
[[UIRotationGestureRecognizer alloc]
initWithTarget:self
action:@selector(handleRotateGesture:)];
[maskimage addGestureRecognizer:rotateGesture];
[rotateGesture release];
//---pan gesture---
UIPanGestureRecognizer *panGesture =
[[UIPanGestureRecognizer alloc]
initWithTarget:self
action:@selector(handlePanGesture:)];
[maskimage addGestureRecognizer:panGesture];
[panGesture release];
//---swipe gesture---
images = [[NSArray alloc] initWithObjects:
@"1.png",
@"2.png",
@"3.png", nil];
//---right swipe (default)---
UISwipeGestureRecognizer *swipeGesture =
[[UISwipeGestureRecognizer alloc]
initWithTarget:self
action:@selector(handleSwipeGesture:)];
[maskimage addGestureRecognizer:swipeGesture];
[swipeGesture release];
//---left swipe---
UISwipeGestureRecognizer *swipeLeftGesture =
[[UISwipeGestureRecognizer alloc]
initWithTarget:self
action:@selector(handleSwipeGesture:)];
swipeLeftGesture.direction = UISwipeGestureRecognizerDirectionLeft;
[maskimage addGestureRecognizer:swipeLeftGesture];
[swipeLeftGesture release];
[super viewDidLoad];
-(IBAction) handleTapGesture:(UIGestureRecognizer *) sender {
if (sender.view.contentMode == UIViewContentModeScaleAspectFit)
sender.view.contentMode = UIViewContentModeCenter;
else
sender.view.contentMode = UIViewContentModeScaleAspectFit;
-(IBAction) handlePinchGesture:(UIGestureRecognizer *) sender {
CGFloat factor = [(UIPinchGestureRecognizer *) sender scale];
if (factor > 1) {
//---zooming in---
sender.view.transform = CGAffineTransformMakeScale(
lastScaleFactor + (factor-1),
lastScaleFactor + (factor-1));
} else {
//---zooming out---
sender.view.transform = CGAffineTransformMakeScale(
lastScaleFactor * factor,
lastScaleFactor * factor);
if (sender.state == UIGestureRecognizerStateEnded){
if (factor > 1) {
lastScaleFactor += (factor-1);
} else {
lastScaleFactor *= factor;
//---handle rotate gesture---
-(IBAction) handleRotateGesture:(UIGestureRecognizer *) sender {
CGFloat rotation = [(UIRotationGestureRecognizer *) sender rotation];
CGAffineTransform transform = CGAffineTransformMakeRotation(
rotation + netRotation);
sender.view.transform = transform;
if (sender.state == UIGestureRecognizerStateEnded){
netRotation += rotation;
//---handle pan gesture---
-(IBAction) handlePanGesture:(UIGestureRecognizer *) sender {
CGPoint translation =
[(UIPanGestureRecognizer *) sender translationInView:maskimage];
sender.view.transform = CGAffineTransformMakeTranslation(
netTranslation.x + translation.x,
netTranslation.y + translation.y);
if (sender.state == UIGestureRecognizerStateEnded){
netTranslation.x += translation.x;
netTranslation.y += translation.y;
-(IBAction) handleSwipeGesture:(UIGestureRecognizer *) sender {
UISwipeGestureRecognizerDirection direction =
[(UISwipeGestureRecognizer *) sender direction];
switch (direction) {
case UISwipeGestureRecognizerDirectionUp:
NSLog(@"up");
break;
case UISwipeGestureRecognizerDirectionDown:
NSLog(@"down");
break;
case UISwipeGestureRecognizerDirectionLeft:
imageIndex++;
break;
case UISwipeGestureRecognizerDirectionRight:
imageIndex -- ;
break;
default:
break;
imageIndex = (imageIndex < 0) ? ([images count] - 1):
imageIndex % [images count];
imageView.image = [UIImage imageNamed:
[images objectAtIndex:imageIndex]];
#pragma mark -
- (IBAction)getCameraPicture:(id)sender {
UIImagePickerController *picker =
[[UIImagePickerController alloc] init];
picker.delegate = self;
//picker.allowsImageEditing = YES;
picker.sourceType = (sender == takePictureButton) ?
UIImagePickerControllerSourceTypeCamera :
UIImagePickerControllerSourceTypeSavedPhotosAlbum;
[self presentModalViewController:picker animated:YES];
[maskimage removeFromSuperview];
[picker release];
- (IBAction)selectExistingPicture {
if ([UIImagePickerController isSourceTypeAvailable:
UIImagePickerControllerSourceTypePhotoLibrary]) {
UIImagePickerController *picker =
[[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:picker animated:YES];
[maskimage removeFromSuperview];
[picker release];
else {
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Error accessing photo library"
message:@"Device does not support a photo library"
delegate:nil
cancelButtonTitle:@"Drat!"
otherButtonTitles:nil];
[alert show];
[alert release];
#pragma mark -
- (void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingImage:(UIImage *)image
editingInfo:(NSDictionary *)editingInfo {
imageView.image = image;
[picker dismissModalViewControllerAnimated:YES];
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker {
[picker dismissModalViewControllerAnimated:YES];
- (IBAction)btnSave_Clicked:(id)sender;
UIImageWriteToSavedPhotosAlbum(editingimage.image, nil, nil, nil);
//UIImageWriteToSavedPhotosAlbum(imageView.image, nil, nil, nil);
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Success" message:@"Image saved successfully to iPhone photo albums..." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert show];
[alert release];
-(IBAction)pickHair:(id)sender;
//[maskimage setMultipleTouchEnabled:YES];
// [maskimage setUserInteractionEnabled:YES];
//[maskimage setContentMode:UIViewContentModeScaleAspectFit];
maskimage.image=[UIImage imageNamed:@"1.png"];
[imageView addSubview:maskimage];
-(IBAction)done
NSLog(@"hiafjdkfj");
UIGraphicsBeginImageContext(imageView.image.size);
CGRect rect1 = CGRectMake(netTranslation.x,netTranslation.y,maskimage.image.size.width , maskimage.image.size.height);
CGRect rect = CGRectMake(0, 0, imageView.image.size.width, imageView.image.size.height);
[imageView.image drawInRect:rect];
[maskimage.image drawInRect:rect1];
UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[editingimage setImage:resultingImage];
[myview addSubview:editingimage];
[self.view addSubview:myview];
-(IBAction)back
[myview removeFromSuperview];
//[editingimage removeFromSuperview];
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
maskimage.center = location;
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
[self touchesBegan:touches withEvent:event];
- (void)viewDidUnload
self.imageView = nil;
self.maskimage=nil;
self.takePictureButton = nil;
self.selectFromCameraRollButton = nil;
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceO rientation
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
- (void)dealloc {
[imageView release];
[images release];
[takePictureButton release];
[selectFromCameraRollButton release];
[super dealloc];
@end
but i can not put the hair to the proper place means on edit image when am saving the image please help meee
Maybe you are looking for
-
Creation of Notification with new customer address
Hi, We have a problem with the creation of notification when it is a new customer. If there are many users who are creating new notifications at the same time, sometimes the address of the new customer is not created in the ADRC table. So the noti
-
I can not open documents using adobe reader because I have to accept "end user agreement". How do I get to agreement?
-
I am going through startup on Macbook Air 11. When I get to the "Sign in with Your Apple ID" screen, I keep getting the message, "Couldn't sign in because of server error." I am connected to wifi. Any ideas on how to proceed?
-
I am facing a problem in the sales order the purchase requistion no is not
Hello SD Gurus, I am facing a prob in the sales order the purchase requistion is not coming, is there any config settings is required. In my bcness process after creating the SO automatically through wokflow the Purchase order will trigger. I have ch
-
Uploading from CF card to Bridge 2.1.1.9 XP PRO & VISTA
Hi, I often have problems when uploading from the CF card. Sometimes many or all will not display in Bridge CS3. I can only open in PSCS3/ACR but when I click done, just an icon shows, not the thumbnail. Most of the time another upload will work fine