Export portion of an Image using Lyr "Bounds"

Hello,
I extract PNG export code using listner and it has following basic steps.
Enumerated PNG filter for an action descriptor.
Put class PNG format
Give image path and alpha channels
Play 'eventSave' over the action descriptor.
Now, this will export entire layer as a PNG. I wanted to export just a part of an image.
Therefore, I have modify above steps as below.
Get layer bounds.
Select are rect using top, left, right, and bottom.
Crop image.
Enumerated PNG filter for an action descriptor.
Put class PNG format
Give image path and alpha channels
Play 'eventSave' over the action descriptor.
Do event playback
But unfortunately above additional steps get huge execution time.
Is there a better way to implement same requirement without playing extra events ?
Since I have image bounds, width and height, should I be able to do this without cropping and play back history?

you have to cut out the yellow rectangle and include transparent areas because the java 2d system, jframe, jpanel, paintcomponent only allows square rectangles as far as i know. it looks like you have some manual editing to do with the eraser tool in your favorite paint program.
-Nathan Nelson

Similar Messages

  • How can I export a folder of images using the original file data?

    I have edited my images within the "Develop" mode, but now need to export as jpg's using those settings (note: some are now B&W) and then I also need to process as jpg's using the original settings (color), so my client has all the original color files as well. My files were all shot in the Nikon RAW format, but I can't figure out how to export all the images without using the develop adjustments I have made to each file, including having changed many to B&W. Is there a way to do this? Note that I also don't want to lose all of my adjustments, so can't just reset them all, if that's even an option.

    2) Now I need to export all the images that have at least 2 stars
    (around 1200), so I can give the client a folder of "originals." This
    way, they can view images that didn't make the final edit (album) and
    will also be able to print an image that I converted to B&W for
    their album in color.
    First of all, I think making a backup of your directory (using Explorer or Finder or whatever) might be prudent before you start this little experiment!
    So, all of your originals are in one folder, and ~1200 of those are 2-star and 384 are 5-star and have edits, correct?
    What might be easiest (although not the most effecient) is to just click on the folder, then use the Library Filter to select everything that's 2 stars and above. This will select all the images that need exporting.
    Then follow Jao's instructions for creating a new collection and removing the edits. Make SURE you create your new collection with VIRTUAL COPIES or you're going to wipe out everything you've done. 
    Your new collection should then  have virtual copies of everything 2-star and above, in their original unadulterated state. You can then export to JPG.
    I think from now on I will export those files with 2 stars first, then narrow down the the final 384 and make adjustments
    You could always create a collection of your "keepers" (2-stars and above). Then, for every image you want to edit, be sure to edit the virtual copy  and then put it in a subcollection under the main collection.
    That way you kind of have a history of what you did, and you can export (or re-export) at any time. You don't even really need to keep the exported JPGs around, since you can always re-export.
    Scott Kelby has a Lightroom book that illustrates this kind of workflow much better than I can. I highly recommend it.

  • My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp  to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need t

    My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp  to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need to. It appears as if I selected the entire layer on purpose (which I did not)
    The below items appeared when I opened Photoshop CS 5:
    “Photoshop has encountered a problem with the display driver and has temporarily disabled G & U enhancements. Check the video card malfunctions website for latest software. GPU enhancements can be enabled in the performance panel of preferences.”
    (I believe this started after the automatically updated Windows was applied. It was coincident with the before mentioned problem . . . but I don’t really know if it had anything to do with it. )

    For the Clone Stamp problem, check the Clone Source panel and Clipped is probably unchecked.
    If so, check Clipped and see if that makes a difference.
    (Window>Clone Source)
    As to the video card problem:
    Which version of windows are you using?
    What is the make and model of your graphics card?
    Do you know which update windows installed?

  • Export sequence of still images (JPGs, TIFFs) from FCP timeline into DVD without interlaced issues using Compressor

    Hi,
    How to export a sequence with stills (jpg) into a DVD format by using Compressor without having the interlaced issue on the outcome? The stills in the Canvas look crisp but once exported to DVD format, the outcome images look interlaced. How can I best match the crisp look of the high resolution JPGs in time line when exported to DVD?
    My Sequence settings match the image settings:
    Frame Size: 1024 x 768
    Pixel Aspect Ratio: Square
    Field Dominance: None
    Compressor: Photo JPG
    I tried to export the sequence of img as an independent QT movie file by using Apple ProRes 422 output settings. The video file looks great. I then imported it back to time line into new sequence and exported into DVD format trying both: deinterlace and "same as source" setting. Both output DVD files still have the interlaced issue.
    I also tried to work with JPGs converted to TIFFs on a different sequence with same as Tiff settings and the issue still persists.
    I will appreciate any advices.
    Thank you,
    Izabela

    Dear Nick,
    Thank you, I understand now it is the aspect ratio issue.
    Are you suggesting that I should use Photoshop or Graphic Converter to convert the 1024 x 768 to 720 x 480 prior to importing them into FCP seqence?
    > Give the DVD authoring software the correct size:
    I am using FCP 7.0.3 to create the sequence of images (there has to be specific timing and transitions), which I then export to DVD format by using Compressor.
    Do you mean that I should set the FCP timeline sequnece settings to 720 x 480?
    Please let me know. Thank you,
    Izabela

  • Export gives "Unable to create" error,Can't EXPORT or SHARE modified images

    I am running iPhoto 8.1.2 and I cannot export or share any images I modify.
    Upon editing images (cropping or enhancing color profile), I am unable to drag and drop images to my desktop (gives a "∅" symbol) which I used to do all the time. I cannot export them - iPhoto gives an error: "Unable to create" filename error...
    If I look at the "Show file" and verify the contents of the folder, none of the images I have modified appear there. If I look at "Show original file" all the original files are there but do not have my edits/cropping, etc. Where are my modified images going and how can I get to them? iPhoto seems like it is getting Alzheimer's or something...
    I have tried closing and re-opened iPhoto and all the images thumbnails appear to be ok with my updated crops/enhancements. Double-clicking and opening them opens files with the correct edit/enhancements. Everything seems ok until I try to export or share any of the modified photos.
    I tried rebuilding iPhoto and selecting the first 4 options but after the rebuild the problem still persists...
    None of the files that I cropped/enhanced appear in the "Modified" folder for that date. There are some files there, but they appear to be files that I deleted!
    So, where are my cropped/enhanced photos going??? iPhoto shows them ok in the Events, etc. but they are not in the "Modified" folder and I cannot export, drag/drop, email or share them...
    This has been happening to me for awhile now and it is very frustrating. iPhoto is ok so long as I don't do any cropping or enhancing. If I do that, then it gets all screwed up...
    I know that I can use something like "iPhoto Library Manager" to rebuild stuff but I don't want to lose any of my data. I have done extensive work with faces, places, attributes, names, etc...
    I JUST WANT iPHOTO TO WORK LIKE IT IS SUPPOSED TO AND LIKE IT USED TO!
    Thanks,
    Steve

    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair Library permissions.
    If the permissions have been mucked up somehow, it's likely that your edits have not been saved.
    If the fails:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Lightroom won't export more than one image at the time

    I am having trouble exporting my RAW files as JPEG files. At first Lightroom 4.4 seemed to skip certain photos when exporting and now I'm unable to export more than one image at the time. How can I fix this? I didn't seem to have this problem before the 4.4 update, but then again, the 4.4 update has been running for a few days now. I run on a 32bit Windows 7 with 4GB of RAM.
    Lightroom has also been a considerable lot slower since the last couple of days, yet there have been no changes at all to my computer or system or anything - nothing's changed expect for the fact that Lightroom isn't behaving as it used to.
    Can anyone help me?

    I think I've found the problem - I've accidentally 'synced' my folder instead of importing the RAW files. Which brings me to my next problem and question - I've already edited the RAW files and would really like it if there's a way I could re-import the files without losing my changes/metadata, is there anyway that's possible?

  • Saving image using mobile into sap R/3

    We are using sap mobile platform version 2.3 and our client requirement is to save images using mobile apps.
    We already saved images in mime repository but for this we have to required client modifiable , but due  to security reason we can't do this.
    Please Help.

    Hi Nilesh ,
      I had a scenario to attach image to pr05 transaction from mobile, so that when click view attachment button in pr05 i can see the image . My code is based on that .
    it is the function module with import parameter base64 string and filename ,last three letters of the file name proceeding the . is the extension
    in your case you need to create custom object type instead of  BUS2089 .
    Do research regarding that ..
    -->Local Workare declaration.
       DATA : ls_fol_id   TYPE soodk,
              ls_obj_id   TYPE soodk,
              ls_obj_data TYPE sood1,
              ls_content  TYPE soli,
              ls_folmem_k TYPE sofmk,
              ls_note     TYPE borident,
              ls_object   TYPE borident.
    **--> Local internal table declaration.
       DATA : lt_content   TYPE STANDARD TABLE OF soli,
              lt_url_tab   TYPE STANDARD TABLE OF so_url,
              lt_objhead   TYPE STANDARD TABLE OF soli.
    **--> Local variable declaration.
       DATA : lv_filename            TYPE string,
              lv_file_name_with_path TYPE chkfile,
              lv_stripped_name       TYPE string,
              lv_name                TYPE char30,
              lv_url_tab_size        TYPE sytabix,
              lv_ep_note             TYPE borident-objkey.
       ls_object-objtype = 'BUS2089'.
       ls_object-objkey  = '001095510000020022'.
       ls_obj_data-objdes = I_FILE_NAME.
       ls_obj_data-file_ext = I_FILE_EXT.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer     = I_FILE
         TABLES
           binary_tab = lt_content.
       CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'
         EXPORTING
           it_contents_bin = lt_content[]
         IMPORTING
           et_contents_bin = lt_content[].
    **--> Getting folder ID to save data
       CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
         EXPORTING
           region                = 'B'
         IMPORTING
           folder_id             = ls_fol_id
         EXCEPTIONS
           communication_failure = 1
           owner_not_exist       = 2
           system_failure        = 3
           x_error               = 4
           OTHERS                = 5.
       IF sy-subrc = 0.
         ls_obj_data-objsns = 'O'.
         ls_obj_data-objla = sy-langu.
         ls_obj_data-objlen = LINES( lt_content ) * 255.
         CLEAR ls_content.
         CONCATENATE '&SO_FILENAME=' I_FILE_NAME '.' I_FILE_EXT INTO ls_content.
         APPEND ls_content TO lt_objhead.
    **-->To Create an Object and Move to a Folder
         CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
             folder_id                  = ls_fol_id
             object_hd_change           = ls_obj_data
             object_type                = 'EXT'
           IMPORTING
             object_id                  = ls_obj_id
           TABLES
             objcont                    = lt_content
             objhead                    = lt_objhead
           EXCEPTIONS
             active_user_not_exist      = 1
             communication_failure      = 2
             component_not_available    = 3
             dl_name_exist              = 4
             folder_not_exist           = 5
             folder_no_authorization    = 6
             object_type_not_exist      = 7
             operation_no_authorization = 8
             owner_not_exist            = 9
             parameter_error            = 10
             substitute_not_active      = 11
             substitute_not_defined     = 12
             system_failure             = 13
             x_error                    = 14
             OTHERS                     = 15.
         IF sy-subrc = 0 AND ls_object-objkey IS NOT INITIAL.
    *            COMMIT WORK AND WAIT.
           ls_folmem_k-foltp = ls_fol_id-objtp.
           ls_folmem_k-folyr = ls_fol_id-objyr.
           ls_folmem_k-folno = ls_fol_id-objno.
           ls_folmem_k-doctp = ls_obj_id-objtp.
           ls_folmem_k-docyr = ls_obj_id-objyr.
           ls_folmem_k-docno = ls_obj_id-objno.
           lv_ep_note = ls_folmem_k.
           ls_note-objtype = 'MESSAGE'.
           ls_note-objkey = lv_ep_note.
    **-->Link the object ID to trip No.
           CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
             EXPORTING
               obj_rolea      = ls_object
               obj_roleb      = ls_note
               relationtype   = 'ATTA'
             EXCEPTIONS
               no_model       = 1
               internal_error = 2
               unknown        = 3
               OTHERS         = 4.
           IF sy-subrc = 0.
    *            COMMIT WORK AND WAIT.
           ENDIF.
         ENDIF.   " SO_OBJECT_INSERT
       ENDIF.       " SO_FOLDER_ROOT_ID_GET
    ENDFUNCTION.

  • Exporting projects that reference images in other projects

    Hello, all. I'm wondering if anyone out there has had luck exporting projects that reference images in another project. I've just given this a try, and I get empty images (dotted gray outlines that can't be multi-selected and can't be "managed" as referenced files, even though it knows where the original file should be).
    Here's how I have things set up:
    1. main project with referenced images
    2. secondary project with an album that references images in the main project (secondary project shows 0 images, but album in secondary project shows N images)
    I export the secondary project, and import it into another Aperture instance. All images show up as dotted outlines.
    Furthermore, if I go into list view, the Activity Monitor does something bizarre. It shows the # thumbnails remaining as a moving target. See the video below for an example.
    Any help would be greatly appreciated. Thank you!
    Screen captures:
    Missing images as dotted outlines:
    http://echeng.com/temp/aperture-missing-images.png
    Small video of thumbnail creating bug:
    http://echeng.com/temp/aperture-thumbnail-bug.mov

    I do this sort of thing constantly and things a whole lot more complicated. It works fine on all three of my laptops and my macpro. I actually just tried to simulate the exact conditions you describe and I will tell you what happened.
    1)Create new empty project in library A called "export"
    2)Create new empty album in that project.
    3)Dragged multiple images from different projects (all referenced) into that new album.
    4)Used file->export project with the consolidate images checked. Imported that project into a new/different library.
    All of the images showed up and they all showed up as managed masters as expected. So I then relocated the masters from that project and did the same thing in reverse, back to the old library. I ended up with another project called "export (1)" with all of the images referenced and having nothing to do with the original project or the original referenced masters - as expected.
    I did the testing not to figure it out but to validate that nothing had changed or broken since the last update.
    You are either not doing what you think you are doing or your library/library is forked - you may want to try a rebuild or just create a brand new set of libraries and try to validate that it will work with a brand new set of libraries to try to isolate the issue to 1 - your existing libraries or 2 - your installation.
    RB

  • With PPT 2007 when I print my PPT file to Notes view why does the slide portion become an image

    I am trying to print a ppt file using PowerPoint 2007 notes view to PDF with Distiller and create a full text searchable PDF.
    Everytime I do, the slide portion becomes an image. The only textual portion of the PDF are the page numbers and the actual notes.
    This was not the case with Office 2003. The slide portion was full text searchable. Does anyone know why this is.

    Irma,
    Show the file in Finder with the pps or ppt extension, you want Powerpoint to open.
    Get info on the file, using command-I, and change the application to open all documents like this to Powerpoint.

  • Export settings to print images

    Normally I export my images and then upload them to the web and thats it but today I needed to actually make some prints and I exported a 7 inch by 7 inch images and  saved them onto a card then when to the local camera shop to print and what I found out was shocking. Apparently my images which I shoot RAW and export as JPEG were only the size of a thumbnail! When we looked at the properties of the images they were the size of a KB and the guy at the shop said they were too small to print. He said I might be able to get a 4x6 but not anything larger than that. He said they should be Megabytes!
    So I just did exported out a test image and this time I set it to the original size and when I checked the properties of that one it was in fact large enough to be to be printed large and was in the megabytes.
    So I would like to create a preset for when I want to print out images again. Some of the other settings I am not sure about and would like some assistance. As for DPI what should that be set at? Currently I have it set to 100 dpi. Should it be higher than that? I have seen some set to 72 dpi, would that signify low resolution? What about Gamma Adjust and Color Profile?
    Again this is all new to me since I hardly ever print my images. Any help would be greatly appreciated.
    Also I am planning on making some photo books for gifts and taking the images right out of my Aperture library. Is there anything special I need to do with setting that up? I have made calendars via iPhoto in years past and they turned out nice but with everything I found out today about printing my images I just want to make sure I am on point with everything before I send my images off to make the books.
    Thanks a bunch!!!

    I understand the math better now, but am still stuck on how to set the size using File>Export.
    When exporting as a JPEG file, for example, I have the following options:
    If I enter 5000 ppi in the Resolution field (or even 2400), I get an error that Illustrator can't export at that high a resolution. I tried opening the Illustrator files directly in Photoshop, but the images are distorted and unusable as they appear there.
    I don't see any options to set the image size to 2000x2000 pixels upon export. Sorry if I am being obtuse--I feel I must be missing something very basic here!

  • Search for images using Keywords Problem.

    1) In LR4, Search for images using Keywords (click on arrow next to Keyword).
    2) Select image, export to PS6, save as Tif.
    3) Tif retains all Keywords when it appears in LR
    4) Despite that, image does not show up in the same 'Search for images using Keywords'.
    Can anyone help with this, it is frustrating me!

    V. 4.1
    Thanks, I will try, but it seems to be an inconsistent problem.
    Simon Fletcher
    Simon Fletcher Photography
    Woody's Nest
    Newton of Kinkell
    by Conon Bridge
    Ross-shire
    Scotland
    UK  IV7 8AS
    Tel: 01 349 864 830
    Web: www.simonfletcherphotography.co.uk
    Work:
    The Glass Scribe
    Tel: 01 349 867 088
    Email: [email protected]
    Web: www.glassscribe.com

  • How to retain zoom position of an image using Adobe Flash Builder?

    Hi,
      I have created an Adobe Flash Builder Mobile App. I placed an image in the Homeview. I allow the user to zoom out or zoom in the image using GestureZoom.
    The problem is each time the user zooms, it does not retain the previous position.
    For ex., If I have a map image, I zoom the Bangalore area. After the zoom, I don't see the Bangalore area in the visible portion of the device screen.
    Can anyone help me in this? I feel this is a very basic requirement of zoom but I am missing something really.
    I have seen few samples of this requirement in Adobe Flash which does not work for mobile apps.

    I don't understand what you mean, but to give you a sample file so you can see what I am talking about:
    link to fla file: http://dl.dropbox.com/u/48932382/Untitled-1.fla
    link to swf file: http://dl.dropbox.com/u/48932382/Untitled-1.swf
    As you can see in this file, I am turning the green page, but when you should be seeing behind the page, it's actually transparent and you end up seeing the page underneath it.
    Here is a picture of it: (if your wondering, the pages have the same text, it's just the color of the pages are different)

  • Webdynpro abap ALV export to excel with images problem

    Hello experts,
    I'm having problems with standard excel export functionality in webdynpro abap ALV.
    In my table i have images taken from content server (employee photos) linked with URL to a table_cell Image, when i export the table to excel using standard function the images is showed as a broken picture with the following text:
    "The linked image cannot displayed. The file may have been moved, or deleted. Verify that the link points to the correct file and location."
    I'm running on sap basis 7.02 SP13 and implemented the notes 1975765 and 1985288 but not resolved this issue.
    Do you have any ideas?
    Thank you.

    Hi Jorge,
    Are you able to download the ICONs from alv table? try to use some icon source '~Icon/Add' and check out if you can download it to excel successfully.
    FYR:
    Regards,
    Rama

  • How did I export a High-Res image from my FCP Project?

    I know how to export still images using Quicktime Conversion. But it is possible to export High Resolution images from my FCP Project. You help would be much appreciated

    Wow man, that's not the most efficient way to get stills. You can do this in FCP, it's easy. Here is what you do....
    Go to EXPORT and then USING QUICKTIME CONVERSION
    You will see a dropdown box in the right corner that says FILE FORMAT. Change that to STILL IMAGE.
    Underneath you can choose which type of still Image you would like to convert the frame to (JPEG, PIC, PSD, etc) You can also change the quality
    Hope this helps.

  • Select images using keywords and view slideshow...using what?

    I have a library full of jpeg images that were created either using the export command from LR or by editing in Br/Ps and then savedAs jpeg. Now I want to watch slideshows on my monitor (30" Apple HD Cinema Display). Now I have the following Dilemma:
    - I can start a Search Command in Bridge and narrow it down to exactly the images I want in my slide show. Then from the View menu select Slideshow. The IQ is terrible. True sharpness is only revealed when zooming in 100% but that's not the idea of a slide show.
    - I can also use Apple OS's (Tiger) built-in slide show and start it from the finder. That way I get high quality, fast dissolving slide shows, that are unfortunately limited to the first 100 images in the Finder view. However, in the Finder I cannot select my images using keywords and IPTC info.
    So could there be a simple solution to the problems I'm running into with Bridge?
    Or could there be a nice viewer for MacOS that features the search option I want and renders good images and dissolve option?
    Thanks.

    @Ann Shelbourne: Thanks for your reply. I'm hesitant to upgrade to CS4 at this point. That would mean my only option is to look for a jpeg viewer other than Adobe that can select images based on keywords and iptc data. Would you know one that does?
    @Ramon G Castaneda: I apologise for being an inexperienced forum visitor. I will take note of your advice and follow the posting instructions.
    I checked FAQ's both here and at Adobe, as well as the knowledge base. No results. I also searched the forum.
    My setup: MPB dual core Intel, 2GB RAM, 30GB free disk space. Adobe CS3, just updated to Bridge version 2.1.1.9. No improvement at all so far. According to Ann only CS4 will solve the problem.
    Thank you.

Maybe you are looking for

  • Flash Chart : Percentage values in the pie chart and  values in the legend

    Hi All, Query is : SELECT null link ,GN.region Region ,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value FROM goodnews_stories GN GROUP BY GN.region I use the above query to display the flash pie chart percentage values.

  • Bridging an E3000 with a WRT-150N

    Is there a walkthrough on how to set up a Client Bridge on the WRT-150N? Will I need to change to a third party firmware? I need to have wireless access at a remote area in a new house and don't want holes in the new walls for unsightly cables. My pr

  • 10.2.0.4 Agent Pull Technique Upgrade

    We have recently upgraded the Grid Control OMS to 10.2.0.4 from 10.2.0.3 running on AIX. I would like to upgrade the management agents utilizing the "pull" technique identified in the README for the 10.2.0.4 patch (3731593). However, the instructions

  • Product Hierarchy Fields in EBS

    Hi All, We are implementing BI Apps 7.9.6.3, OBIEE 11g with EBS R12. We need to find out what are the EBS source fields for Product Hierarchy fields in OBIEE like Product Hierarchy 1, 2, 3 etc. Can anyone share these information?

  • Choosing the Return code for a scenario

    Hi, I execute an ODI scenario "AAA" from Unix with the command startscen.sh Can I control the return code of called screnario? IN the scenario "AAA" (=package) i have different path with ko/ok. I would like to choose a specific return code for each k