TRIM Command Capture

Is it possible to capture TRIM commands in an Xperf trace? And if so, what provider do I need to use?
Thank you,
Dennis Ginley

Trimming  selecting white from a corner should leave the smallest image with no white pixels anywhere on the image border rectangle.  If you are using the measure tool to straighten image it is likely that non-white corner points of the image touch the bounding box (left, right, top, bottom of the image rectangle boundaries), so it is not possible to trim to a smaller rectangle without cropping some non-white image pixels.  You would in this instance see white wedges at the sides, not white all the way around the straightened image.
A way to test this:  After using the ruler tool to straighten your image, go to Image > Canvas Size and increase the canvas size by some amount. and select Canvas extension color  to be white.  Now try trim from a corner and see what happens.

Similar Messages

  • Trim command doesn't work fix

    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download

    Nancy K Lindway wrote:
    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
    Have you tried to reset the tools to see if corrects itself?  To do this, launch a blank image in Editor under Expert mode tab.  then at the bottom look for something like this (you will need to click on the image to magnify it):
    The reset button is at the red box shown on the right-side of the picture.  You need to click on the arrow icon to reach it.  You can reset all tools or reset only the selected tool.  I would reset all tools and done with it.
    This might or might not fix it but worth a try.
    Good luck.

  • Cannot use Trim command in CS4

    I am trying to use the Trim command in CS4 (I am using Vista 64-bit).   While I've used Photoshop for several years, I use it intermittently and am a complete novice.  I am trying to create an irregularly-shaped image (a map), and am trying to cut off the white areas around the map so that I can insert it into an Indesign document.   When I click Image-Trim, and click Bottom Right Pixel Color (which is a white area of the image), I then click the bottom right corner and NOTHING HAPPENS.   Sometimes, I get a message that I cannot do this because the "layer is locked," but there are no layers except the single background layer, and I have no clue about how to "unlock" this. 
    Earlier, I had clicked Image-Trim and the crop-like boundaries appeared around the white areas, but I was not certain what to do after that.   I pressed Enter, but nothing happened.   I closed the image and placed it into Indesign, but the white areas still appear.
    Is there a step by step description of how to do this?  It's obviously not doing what the Adobe Photoshop Help instructions say to do, which ends with "Select one or more areas of the image to trim away: Top, Bottom, Left, or Right" but doesn't say what to do after you've selected the area!!).
    Thanks in advance!

    To unlock the background layer, to make it a 'real layer', just double-click it in the layers palette.
    Once you have done that, you can erase any part of the image to become transparent, then you place the PSD file into InDesign.

  • TRIM command (as it applies to SSD) and the vanilla arch kernel

    According to this wikipedia article, the TRIM command has been implemented in Linux since kernel version 2.6.28.  I'm wondering if the vanilla Arch kernel (x86_64) has support for this compiled in and if so which module would one need to modprobe to use it?
    Thanks!

    graysky wrote:hmmmm... is NOMMU_INITIAL_TRIM_EXCESS the so-called "TRIM" support in the kernel?
    I don't think so, that seems to be memory (ram) related (NOMMU.... MMU is related to memory access as far as I know).
    All I could find with a quick google search were a few posts saying there are submitted patches and some scripts .... nothing too certain.
    As always things seem to be going at the windows development speed instead of the pace technology could go, also it seems that the spec for the trim command is/was still being finalized.
    http://www.linuxquestions.org/questions … ux-713006/
    http://marc.info/?l=linux-kernel&m=124169431911648&w=2
    http://forum.soft32.com/linux/Linux-ATA … 83626.html
    http://www.ocztechnologyforum.com/forum … fb&t=60882

  • Trim Command CS4

    My trim command will not work in CS4, both 64 bit and 32 bit. I use the measure (ruler) tool to straighten the horizon which leaves a white border. I'm unable to trim off the white excess. I do choose an appropriate white corner. Any ideas?
    Thank you.

    Trimming  selecting white from a corner should leave the smallest image with no white pixels anywhere on the image border rectangle.  If you are using the measure tool to straighten image it is likely that non-white corner points of the image touch the bounding box (left, right, top, bottom of the image rectangle boundaries), so it is not possible to trim to a smaller rectangle without cropping some non-white image pixels.  You would in this instance see white wedges at the sides, not white all the way around the straightened image.
    A way to test this:  After using the ruler tool to straighten your image, go to Image > Canvas Size and increase the canvas size by some amount. and select Canvas extension color  to be white.  Now try trim from a corner and see what happens.

  • Enable Trim Command for SSD

    How can I enable Trim Command for SSD in my Windows 7 O/S?

    Unfortunately, using "fsutil behavior set disabledeletenotify 0" will not tell you if TRIM is actually working.
    How do you know it is not already working?
    You can try using this tool to check
    http://files.thecybershadow.net/trimcheck/
    Copy the exe you download to a folder on the drive you wish to test (eg c:\test) and double click it. Follow the instructions.

  • TRIM command

    Hi everyone,
                        just read about the 'new feature' in the latest SL update for those of us who have a MBP with a SSD.
    Can anyone tell me what the 'TRIM command' does and how it works ! Do I need to do anything, ie; in Terminal ?
    Or does it just 'do it's thing' ...
    Steve

    Actually the TRIM command was added in 9i. The usage is
    TRIM
    ( [{ { LEADING | TRAILING | BOTH } [trim_character])
    | trim_character
    FROM
    trim_source
    TRIM enables you to trim leading or trailing characters (or both) from a character string. If trim_character or trim_source is a character literal, then you must enclose it in single quotes.
    * If you specify LEADING, then Oracle removes any leading characters equal to trim_character.
    * If you specify TRAILING, then Oracle removes any trailing characters equal to trim_character.
    * If you specify BOTH or none of the three, then Oracle removes leading and trailing characters equal to trim_character.
    * If you do not specify trim_character, then the default value is a blank space.
    * If you specify only trim_source, then Oracle removes leading and trailing blank spaces.
    * The function returns a value with datatype VARCHAR2. The maximum length of the value is the length of trim_source.
    * If either trim_source or trim_character is null, then the TRIM function returns null.
    Both trim_character and trim_source can be any of the datatypes CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. The string returned is of VARCHAR2 datatype and is in the same character set as trim_source.
    Examples
    This example trims leading and trailing zeroes from a number:
    SELECT TRIM (0 FROM 0009872348900) "TRIM Example"
    FROM DUAL;
    TRIM Example
    98723489

  • PLEASE HELP! OLE DB COMMAND - capturing Stored Procedure output run from an OLE DB Command

    I've searched through the related posts but cannot find exactly what I'm looking for.
    I have an OLE DB Source that produces multiple rows (around 200) through a stored procedure. I need to take 3 values in each row and pass them to an OLE DB Command that runs another stored procedure for each row.
    What I need is to get the output of the second stored procedure. I've read posts regarding using lookup, merge join, derived column but I still don't understand exactly how to put it all together. My destination is an excel file. Once I've obtained this output,
    I believe I can figure out how to merge the OLE DB Source results and the OLE DB Command results into one table.  The output columns of the second SP are not available to be mapped to my destination file.
    I've also explored running an Execute SQL task and passing the rowset to a variable but don't know how to pass that variable into the next stored procedure and then capture the second stored procedure results.
    OLE DB Source contains Stored Procedure X:
    DECLARE @return_value int
    declare @newdate smalldatetime
    set @newdate = convert(smalldatetime,convert(varchar(10),getdate(),101))
    EXEC @return_value = [dbo].[getnumbers]
    @dtAfterDate = @newdate,
    @dtBeforeDate = '2099-12-31 5:00:00',
    @Status = 'Any'
    NEXT IN THE PIPELINE
    OLE DB Command contains Stored Procedure Y:
    EXEC [dbo].[getaddress] ?,?,?
    One more thing, CREATING A TEMP TABLE ISN'T AN OPTION!
    Thanks!

    Thanks again for your help David!  Let me rephrase.  I'm working a server that doesn't need to be altered in anyway by me.  I just need to pull the data to my server so I can use it as needed.  I can't build any links either.  The
    only other option I'd have would be coding SQL code with some sort of cursor similar to.
    EXEC
    @return_value = [dbo].[getnumbers]
    @dtAfterDate = @newdate,
    @dtBeforeDate = '2099-12-31 5:00:00',
    @Status = 'Any'
    For every number in the resulting table:
    EXEC
    [dbo].[getaddress] something1, something2, something 3

  • Expect script and show command capture problem.

    Hello everyone.
    I want to capture the output of 'show interface status' to text files for our +600 switches.  Unfortunately, we have many old 2924's and other models running code prior to 12.0(21) that cannot support 'show command | redirect tftp....'  My hope was to use this command set and run it in an Expect script to capture this information on a daily basis.  Running the 'show interface status' in an Expect script is pretty easy, but I cannot see how to capture the show command output to a file for transfer to a server.  Has anyone else faced this problem and found a solution?
    Thanks,

    To write the "show" commands output to a text file in Expect/Tcl:
    set filename "/path/to/output.file"
    exp_send "show running\r"
    set var $expect_out(buffer);
    set fid [open ${filname} w+]
    put $fid $var
    close ${fid}
    Large "show" output can often exceed the default size of $expect_out(buffer) however. This can be tuned accordingly:
    http://wiki.tcl.tk/9407

  • TRIM Command Availablility on W510 SSD

    Hi all, does anyone know if the 128GB SSD option on the latest W510's come with TRIM support out of the box?
    Solved!
    Go to Solution.

    I just got my OCZ Agility 2 SSD yesterday and finished installing everything again.  I went with this one for the value, it is also SATA II only, supports TRIM, 240gigs at $455 after $30 mail in rebate this month, one of the best values I found.  And this thing is fast, usually after log in all the programs that load at start used to take forever but now it's like 5 seconds and everything is loaded completely.  My Windows Experience Index for the hard drive is a whopping 7.7 right now

  • Unable to capture C drive using Dism and imageX commands

    I am trying to capture C drive using dism command but it did not work, but the same command is capturing E drive. i am using following command.
    dism /Capture-Image /ImageFile:E:\image.wim /CaptureDir:C:\  /name:"Image File"
    I am getting following error.
    Deployment Image Servicing and Management tool
    Version: 6.3.9431.0
    Error: 32
    The process cannot access the file because it is being used by another process.
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    An in the log file the error is:   DISM   DISM.EXE: WimManager processed the command line but failed. HRESULT=80070020

    Hi,
    As far as I know, Dism command doesn't support hot image backup, that to say, you do need to complete the image backup job at Windows PE enviroment.
    The contents of the link below also list the Dism command capture image requirement:
    http://technet.microsoft.com/en-us/library/hh825072.aspx
    Roger Lu
    TechNet Community Support

  • I can not zoom whenever i capture a video on my i phone 5

    I am very dissapointing from this issue. I can not zoom whenever i capture a video. Is there any solution for this issue?

    Connect the iPhone to the MacBook Pro with the USB cable.
    Open QuickTime Player (Applications folder).
    Select "New Movie Recording" in the "File" menu.
    Click the ↓ to the right of the Record button ⦿.
    Select the iPhone Camera and Microphone.
    Click the Record button ⦿.
    Play the video on the iPhone.
    When the video finishes click the Record button ⦿ again to stop recording.
    Close the recording window (Red button at top-left) and save the video file.
    Open the video file and use the "Trim" command in the "Edit" menu to get just the desired part of the video.

  • Can I do a screen capture a video on my iphone?

    I want to capture a 6 second video playing on my iphone so that I can use it on my macbook pro.

    Connect the iPhone to the MacBook Pro with the USB cable.
    Open QuickTime Player (Applications folder).
    Select "New Movie Recording" in the "File" menu.
    Click the ↓ to the right of the Record button ⦿.
    Select the iPhone Camera and Microphone.
    Click the Record button ⦿.
    Play the video on the iPhone.
    When the video finishes click the Record button ⦿ again to stop recording.
    Close the recording window (Red button at top-left) and save the video file.
    Open the video file and use the "Trim" command in the "Edit" menu to get just the desired part of the video.

  • "The movie contains an incorrect time value" error - saving a trimmed video

    I am attempting to trim a video shot on my Samsung CL65. The video was shot in High Quality HD 1280 x 720. I open the video in QuickTime and then use the Trim command to remove the last part of the video and then close it to Save it. When I save it I get the following error: "The document SAM_0306.MP4 could not be saved as "SAM_0306". The movie contains an incorrect time value." I think this has to do with an encoding error in the original file or in the trimmed file but I have no idea how to get around it.
    Any ideas?

    This info probably won't help with your problem, but it's information for others who get this error.
    It's probably the software that made the MP4. ffmpegX, for example, and the mencoder program inside it, do this with every H264 encoding when the video is longer than 1 hour. Time codes are correct up to 1 hour, then the seconds value gets wacky (3600 is added to it). Quicktime won't save a movie with a time code like 1:20:3623.120 (although it will correctly display 1:20:23 in the player).
    Apple used to offer quicktime scripts that would allow you to see what the time code in a stream really looked like. Applescript appears to have officially and quietly gone missing, though, and those scripts are no longer available online as far as I can tell. There were some really handy other scripts that would allow you to view all sorts of movie properties and manipulate tracks (great for syncing poorly synced sound, for example), but time code problems like the above would invariably mean the movie couldn't be saved.

  • Capture picture with nokia 6680

    I'm developing an application for Nokia 6680, and need to access the videoplayer through my gui so I can capture a picture and send it to a webserver.
    I'm having trouble initializing the player. It throws a MediaException with Symbian OS error -5, "the operation requested is not supported".
    It works just fine in WTK 2.2 and with SE K700.
    I've also checked the supports.video.capture system-property, and it returns true.
    Here's the code:
    class CameraForm extends Form implements CommandListener {
      private final MyMIDlet midlet;
      private final Command exitCommand;
      private Command captureCommand = null;
      private Player player;
      private VideoControl videoControl;
      private boolean active=false;
      private StringItem messageItem;
       public CameraForm(MyMIDlet midlet){
          super("Camera");
          this.midlet=midlet;
          messageItem = new StringItem("Message","start");
          append(messageItem);
          exitCommand=new Command("Exit",Command.EXIT,1);
          addCommand(exitCommand);
          setCommandListener(this);
          //initialize camera
          try {
             player = Manager.createPlayer("capture://video");
             player.realize();
             //Grab the videoControl and set it to the current display
             videoControl=(VideoControl)(player.getControl("VideoControl"));
             if(videoControl != null){
                 append((Item)(videoControl.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE,null)));
            captureCommand = new Command("Capture",Command.SCREEN,1);
            addCommand(captureCommand);
            messageItem.setText("OK");
        }  else{
            messageItem.setText("No video control");
    } catch(IOException ioe){
          messageItem.setText("IOException:"+ioe.getMessage());
    } catch(MediaException me){
          messageItem.setText("MediaException cameraForm(): "+me.getMessage());
    } catch(SecurityException se){
          messageItem.setText("Securityexception:"+se.getMessage());
    }Thanks!

    Peter,
    Sorry for the late reply, have been really busy the past weeks.
    Yesterday I got another Nokia 6680 on which my MIDlet wouldn't run. Got the MediaException -5 (meaning "Not Supported") again.
    I tried the code *#7370# to hard reset the phone (see Step 1 below), with no success. But I did manage to get it working (after continuing with the procedure below).
    The following explains the steps I followed:
    NOTE: Backup all data on your phone before continuing as all will be lost!
    Step 1:
    a.) Enter the code *#7370#
    b.) Answer [Yes] to the following prompt: "Restore all original phone settings? Phone will restart."
    c.) Enter the security code when the phone prompts for it. (Default: 12345)
    d.) The phone will now restart.
    e.) Once restarted, all data will have been erased and the phone will ask you for some settings.
    Step 2: This is a bit tricky...
    a.) Turn off the phone.
    b.) Press and hold the following keys: [Answer] + [*] + [3]
    [Answer] = Answer key (green phone)
    [*] = Star key
    [3] = Numeric 3 key
    c.) While holding the above keys, press the [Power] button to switch on the phone.
    d.) Once again all data will have been erased and the phone will ask you for some settings.
    Step 3:
    Follow Step 1 again.
    Install your application after each step and test to see if it isn't maybe working. My MIDlet only started working after completing Step 3. I am not sure if Step 1 is actually necessary, but I have listed it as this is the path I did folow.
    That is it, hope this works for you.

Maybe you are looking for

  • How can I attach a document to an iCal event invitation?

    I tried doing some research on this and tried the "Help" part of iCal.  The option given there said Attach a file to an event If you want to associate a particular file with an event (for example, a document you need to remember to take to an appoint

  • Help required on a freezing screen

    Hi, I have an application containing a login screen. This screen has a create profile button, which triggers the opening of a new screen to create a profile. When this button is clicked, the login screen is closed. When the profile is created, the pr

  • Launch new web browser during webGui transaction

    Question: Is there as easy way to launch a new web browser window (IE) during a webGUI transaction (from the ABAP code). Background: We have a transaction linked to a simple ABAP report that is launched from a web based non-SAP reporting tool via the

  • Urgent Problems with Web Start Security

    Has anyone used Java Web Start to load application? I have given all-permissions to the application when loaded and also give the AllPermission in Policy.setPolicy() inside the code. I encountered the following problems right now. (1) In the applicat

  • Apps Don't Always Load - Phone or Service Issue?

    I have the iPhone 4S (AT&T as my provider) and awhile back when I did the software update iOS 5.1.1, I am now running on 4G. Now, I've heard many things about 4G - that it doesn't make your phone load any faster, it's not really 4G, etc. However; eve