Scale and Crop with Image Alchemy

Hello,
We're using Digital Asset Managment with Image Alchemy for the conversion engine. Does anybody know how to configure a rendition set that scales and crops an image without distortion? So if you check-in a 1000x1500 pixel jpeg, it could scale it down and crop it to exactly 100x100 pixels.
I've been looking through the Image Alchemy documentation, but haven't found this example yet.
Thanks
-Jason

All you need to do is define an "ImageAlchemy" variable inside the "ImageManager_NameValues" ResultSet, DAM automatically knows when to use it for the rendition info. But instead of pointing to the ImageAlchemy executable file, I point to my script. For my conversion ResultSet's extEngine, I refer to an "ImageMagick" variable instead.

Similar Messages

  • Scale and Crop .fla file?

    So I have an animated logo .fla file, there some some AS 2.0 in it. I basically need to scale and crop the entire file (just like you'd scale and crop an image in photoshop). Any easy way to do this in flash?

    There isn't any one click method for doing it if that's what you're looking for.  There is no cropping tool so that becomes a matter of resizing the stage by entering new dimension for it... similarly so to scale the stage.  As for the content, that all needs to be manually scaled as well.
    If you have all vector content, then you can always try scaling at the swf level.  Visually it should not be impacted.  Still, if you needed cropping for different stage dimensions, that would need to be done manually.

  • Scale and Crop - left with black bars

    In Final Cut Express, I know the concept of "scale and crop" but when I am scaling and cropping, I am still left with black bars on each side of the video. It seems that I am able to crop/scale the white background and the video but not the canvas. Here is a screenshot of what I am working with...
    http://www.brokersalliance.com/paperwork/crop.gif
    Even after I export the video, I am still left with "unused space."
    I want the white background to fill the total space yet when I resize the video/white background, I am left with black excess.

    You have a black background BECAUSE you cropped the clip. When you scale down or crop a clip and nothing is underneath it, all you'll see is black.
    If you want a white background, place a color matte on a video track below the clip and set its color to white.
    -DH

  • Scale and Crop in slideshow not working

    I put together 2 slideshows with music and used the pan and zoom feature. Unfortunately, when i select scale and crop for the images, its still showing black bars instead of filling the screen.  The images vary in size and rotatin but they are all high quality. I am working in cs6.
    Any advice or solution would be greatly appreciated.

    As a workaround, you might want to look into my workflow of using Still Images.
    Now, I must start by saying that I nearly always create my slideshow in PrPro, and do not normally use the SlideShow feature in En.
    I gather my Images into folders, that differentiate their size, and their orientation, and will often place those, that will require Panning on a Zoomed OUT Image, into yet another.
    In Photoshop, I have Actions to Scale to the necessary dimensions, and also apply Rotation, if required. For those Images that WILL have the Pans, I calculate how large they need to be, and adust one of the Actions for that purpose.
    Then, I use Automate>Batch, choosing the appropriate Action, and set my Source Folder and Destination Folder, as needed. Those Ps Actions work on the every Image in the Source Folder, and output (Save_As) to my Destination Folder, as PSD.
    Those Scaled files are then Imported, and any Pans, Zooms, etc., are applied to them.
    I have not used En's Scale function, but have read of a few problems with it. Also, remember that any sort of Scale to Frame, will only Scale up to the point, where the greatest dimension fills that dimension on the Frame, so if you have, say a portrait oriented Image (vertical), the Scale function will only Scale that up, until the vertical dimension fills the vertical dimension of your Frame, leaving black bars on either side (Pillarboxed). Same for a landscape oriented image (horizontal), whose Aspect Ratio is less than the Video Frame. That Image will be Scaled until the horizontal dimension fills the horizontal dimension of the Video Frame, and as the Aspect Ratio does not match up to the Aspect Ratio of the Video Frame, you will be left with black bars above and below (Letterboxed).
    As required, I also do any Cropping that would be required by differences in Aspect Ratio, so that my processed Images WILL match my Video Frame Size.
    Maybe others will have some tips on using the features in En, to perhaps save you from using the workaround.
    Good luck,
    Hunt

  • Find text and replace with image - Help needed

    Hi,<br /><br />We need to place the images as inline in the appropriate places.<br /><br />texttexttext<<test1.eps>>texttexttexttexttexttext<<test2.eps>>texttexttexttexttexttext< <test3.eps>>texttexttexttexttexttext<<test4.eps>>texttexttexttexttexttext<<test5.eps>>text texttext<br /><br />This code is helpful for placing a single image at a time, we are unable to place all the images in one shot, can anyone help me out.<br /><br />I am not a programmer.<br /><br />-----------<br />var myDoc = app.activeDocument; <br />app.findPreferences = app.changePreferences = null; <br />var math=document.search("test.eps"); <br />for (i=math.length-1; i >=0; i--)<br />{ myDir = Folder.selectDialog(); <br />AllGraphics = Folder(myDir).getFiles('test.eps') <br />for (i=0; i<math.length; i++) { app.select(anil1[i]); <br />     myDoc.place(AllGraphics[i],false); } }<br />-----------<br /><br />Note: I have taken this code from forum and we have made some changes on this.<br /><br />Kavya

    Jongware,<br /><br />I try running it but gives errors:<br /><br />Error Number: 55<br />Error String: Object does not support the property or method 'changePreferences'<br />Line: 24<br />Source: app.findPreferences = app.changePreferences = null;<br /><br />This is the code I used<br /><br />// Find text and replace with image for InDesign CS3 <br />// http://www.adobeforums.com/webx?128@@.3bbf275d.59b6f012<br />var heyItsAnArray = new Array ( <br /><br />   "it contains this line!", <br /><br />   "as well as this one", <br /><br />   "or even more!", <br /><br />   "test.eps" ); <br /><br />for (arrayCount=0; arrayCount<heyItsAnArray.length; arrayCount++) <br /><br />{ <br /><br />   replaceImg (heyItsAnArray[arrayCount]); <br /><br /> } <br /><br />function replaceImg (name) <br /><br />{ var myDoc = app.activeDocument;  <br />     app.findPreferences = app.changePreferences = null;  <br />     var math=document.search(name); <br />     for (i=math.length-1; i >=0; i--)  <br />     { myDir = Folder.selectDialog();  <br />          AllGraphics = Folder(myDir).getFiles(name)  <br />          for (i=0; i<math.length; i++) { app.select(anil1[i]); <br />               myDoc.place(AllGraphics[i],false); <br /><br />               } <br /><br />          } <br /><br />     }<br /><br />Michael

  • Crop and fill with image

    Hello
    I intend to use lasso for free style cropping an image, but I want to the fill in that cropped section with another image. I intend to , say crop a dress floral pattern on a sleeve, and fill it with another floral pattern of my choice.
    Thanks

    Hi there,
    Here's a quick tutorial for working with masks to replace patterns and textures in an image.
    1) Here's my starting image, and I want to replace the fabric on the pocket of this shirt.
    2) Bring in the pattern you want to incorporate into your original image by copy and pasting or by going to File > Place.
    3) With the pattern layer selected, option + click on the icon marked below to create a mask over the layer. The image will seem to disappear, but this is only because the mask is solid black— black in the mask indicates hidden areas, white areas are where the image will be revealed.
    4) Use the lasso tool to select the area in which you want the pattern to appear.
    5) Being sure the mask is selected in the layers panel, use the paint bucket to fill in the selection area with white. The pattern will appear.
    My next steps would then be to paint on the mask with black to reveal the stitched areas and the button on the pocket. Alternatively, as Silkrooster said, you can experiment with blend modes. Below is the pattern layer set to Multiply. Using this setting would work well if you were placing a pattern over a white or light-colored garment. Good luck!

  • How to Scale and Crop

    I'm working on animating some screen capture footage. I'm trying to crop out part of the screen and replace it with my own background, and then do some moves. However, when I zoom in to the footage, it throws off my crop - the crop moves with the zoom instead of staying stationary like I want it to. In other words, I want my custom background to stay the same size and for the box that the screen capture is in to stay the same size (crop the clip). What it's doing instead is cropping the image itself, so that if I scale the image up, the crop moves along with it.
    How do I apply the crop on top of the scale, as part of the clip itself rather than just cropping the image? I'd rather mess with compound clips.
    Thanks!

    Compound clips are nothing more than "groups". In order to supercede clip level edits, sometimes it's necessary to edit the group instead.
    Crop is part of the media, as is scaling. Scaling the media scales the crop.
    Here are three ways to accomplish the effect you're looking for:
    1)
    Select your clip and type Option-G (make compound ["group"])
    Add the cropping you need to the compound level and not the clip itself
    2)
    Select your clip and make compound
    Add Effects > Keying > Mask to the the compound level (optional rounded corners and feathering)
    3)
    Place a Generator > Elements > Shapes at the top level (over the clip you want cropped)
    [Select Square and use Video > Transform > Scale to alter the "aspect"]
    Set the Video > Compositing > Blend Mode to Stencil Alpha
    Select the generator and your clip and make a compound clip (option-G) [creating the compound here is simply to "stop" the action of the Alpha blend mode from "cutting through" the entire project
    HTH

  • Automatically zoom and crop an image to fit in a square

    I've got an mx:Image which is loading an image from the web.  I don't know how big the image will be in advance.  I'd like the loaded image to fit within the mx:Image's square frame by zooming and cropping off the sides or top/bottom as needed.  In other words, if the image frame is 64x64 and the loaded image is 70x64, it will be centered and lose a few pixels on the right and left sides.  Is it possible to do automatically?  I've played with maintainAspectRatio and scaleContent but I haven't been able to get what I want.

    In an ideal world we would use a high resolution version with a 100% width set for every device (and screen size). Because of bandwidth reasons, the page should load only a version of the image intended for a specific width range.
    Sometime in the future we will (probably) be able to use this:
    <picture width="500" height="500">
       <source media="(min-width: 45em)" src="large.jpg">
       <source media="(min-width: 18em)" src="med.jpg">
       <source src="small.jpg">
       <img src="small.jpg" alt="">
       <p>Accessible text</p>
    </picture>
    However, this will not yet work. Therefore, ideally, a polyfill picturefill method that works quite well can alternatively be used:
    https://github.com/scottjehl/picturefill
    Solution:
    Call the picturefill.js (see above url for more information and sample code)
    body:
    <span data-picture data-alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
            <span data-src="small.jpg"></span>
            <span data-src="medium.jpg"     data-media="(min-width: 400px)"></span>
            <span data-src="large.jpg"      data-media="(min-width: 800px)"></span>
            <span data-src="extralarge.jpg" data-media="(min-width: 1000px)"></span>
            <!-- Fallback content for non-JS browsers. Same img src as the initial, unqualified source element. -->
            <noscript>
                <img src="external/imgs/small.jpg" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
            </noscript>
        </span>
    This works in all browsers and devices. On a mobile platform only the lower resolution image will be loaded up.

  • Rotate, scale and print an image

    I'm trying to rotate, scale and then print an image with the following code.
    public int print(Graphics g, PageFormat pageFormat, int pageIndex)
                    double DPI=72.0;
         if (pageIndex > 0)
              return(NO_SUCH_PAGE);
         else
              Graphics2D g2d = (Graphics2D)g;
              Paper paper = pageFormat.getPaper();
              int pWidth=(int) (DPI*paper.getWidth()/72.0);
              int piw=(int) (DPI*pageFormat.getImageableWidth()/72.0);     
              int pih =(int ) (DPI*pageFormat.getImageableHeight()/72.0);
              int xi=(int) (DPI*pageFormat.getImageableX()/72.0);
              int yi=(int) (DPI*pageFormat.getImageableY()/72.0);
              g2d.translate(0, pWidth);
              g2d.rotate(-Math.toRadians(90));
              g2d.drawImage(image, yi, xi. pih+yi,piw+xi, 0,0,image.getWidth(null), image.getHeight(null),null);
              g2d.rotate(Math.toRadians(90));
              g2d.translate(0, -pWidth);
    }The image is shifted to the right and has some extra space on the left when it is printed out . I couldn't figure out why it does that.

    Hmmmm That seems OK.
    Are you sure the origin point of the central sprite is at a
    locV that is
    inbetween the orbiting sprites' min / max locV values? This
    should do what
    you need if the central object is at the right locV on stage
    in relation to
    the orbit path of the other sprites. Try moving it down in
    relation to the
    orbit sprite maybe?
    Or try this on the central sprite to create an offset...
    property my
    on beginSprite me
    my = sprite(me.spritenum)
    end
    on enterFrame me
    my.locZ = my.locV + 50
    end
    Tinker with the 50 value until it looks right.
    Cheers
    Richard

  • Space between DIV with image and DIV with image background

    I have just about finalized the new design on my website. The only issue I am having now is on the gallery page.  There is a thin space between a DIV with an image and DIV with an image background.  I am using these DIV's to give the illusion of a blue border. If you look at any of the other main pages on the site the space is not there. Any ideas? 
    http://liquidfirefishing.com/index.php
    http://liquidfirefishing.com/gallery/main.php
    Here are a couple of screenshots to show exactly what I mean.

    Hello, 
    both my "IE8" and my "FF 7.01" show the blue boundary lines. Here my screenshots, left side IE8, right side FF:
    Header 1
    Header 2
    Hans-Günter

  • Rotating and cropping an image.

    I am taking a Photoshop for school and we are using CS5. I have CS6 and I'm stuck on my picture rotating back straight when I am trying to crop it.  I use the rotate view and rotate it 6degrees. As soon as I hit the crop button the picture goes straight. How can I keep my picture rotated to the 6degrees and crop it without the perspective crop tool?

    Rotate view only rotates...  the view; not the actual picture.  It's temporary and non-destructive. It's used to help move the canvas to a better angle for drawing brush strokes.
    You want to actually rotate the image or canvas.  Either Ctrl T for Free Transform and rotate by moving the cursor outside one of the corners and dragging.  Or Edit > Transform > Rotate

  • Cfimage and crop with direct links

    Hello,
    I need some advice..
    I want to have users reference images from my site but only certain sections (IE: http://somedomain.com/getimg.cfm?ID=123&section=1).  Below is the code I have but it only outputs a variable like coldfusion.image.Image@174e3a9 rather than the actual image.  I understand cfimage has a writeToBrowser action but that outputs html source which wont allow my users to have a direct link.
    <cfprocessingdirective suppresswhitespace="yes">
    <cfimage source="d:\test.jpg" name="myImage">
    <cfset ImageCrop(myImage,0,0,534,474)>
    <cfcontent type="image/jpeg" >
    <cfoutput>#myImage#</cfoutput><!--- does not output actual image --->
    </cfprocessingdirective>

    You can also prevent direct links (although not fool-proof) by checking the HTTP_REFERER at http server level, using mod_write or isapi_rewrite (or similar). You can easily find examples for this by searching the internet.
    About cfcontent then... the correct usage would be <cfcontent variable="#myImage#" type="image/jpeg"> , but since cfcontent does not support a ColdFusion image object, but rather variables or binary objects read by cffile, save the cropped image to a disk with the cfimage tag, then read it using cffile.
    Better yet, if you are using ColdFusion 9, use the ram://-drive instead of physical disk for less I/O load.
    - Fernis - fernis.net - ColdFusion Developer For Hire

  • Correcting and cropping scanned images as a batch

    I am working on a project involving about 20,000 scans from historic journals. We are trying to create replicas, since the originals have not been preserved.
    The scans have already been completed and my job is to figure out how to get the actual block of text, which is about 4.3"x7.3", to be centered, both horizontally and vertically. Then the pages will be printed and trimmed down to the 6x9 page. The scan job wasn't extremely precise, since the margins aren't uniform.
    I'm wondering if you have any ideas about how to do this job in a batch fashion. The files are in TIF format.
    I appreciate any suggestions/advice.
    Sincerely,
    Tricia Dameron

    Looks like you're not getting much feedback on this challenge....
    If it was mine, and I was the person actually doing it,  I would optimistically quote about 80 hours to place and align manually, one by one.  Pity the scanners weren't thinking ahead!
    The reason I say I estimate on my own rate is that you could give this task to several different people and get very different ideas of how to do it and if you assign to the wrong operator you will end up well out of pocket.
    Some tasks just can't be automated, maybe someone really clever can do it with your job but probably not economical, I would just sit down for a fortnight and do it!

  • Replacing and retaining scaled and cropped images

    Hi,
    For some reason I can't find how to replace exisisting images that had been tweeked or even images that have not been tweeked in Author. I have several similar images that needs to be scaled and postion in the same area from page to page. I import an image, scale it and cropped it, but once placed I don't know how to replace it with a different image. I tried creating a a template (another problem), but still no go.
    *also, is there a way to create a job without using template? It doesn't seem to allow you it.
    Thanks in advance...AG_779

    You can have a master image on the right hand page in the layout pane,
    and set it to be a media placeholder.(in inspector)
    The image will be same size same spot on each page,
    You can drag an drop to replace the image on each page.
    The problem is, if the new image is a different size (pixels), it will change the size of the place holder frame to match the new image. it will not keep the size of the master image and crop with in that size.
    It is best if you scale and crop each image outside of IBA in Photoshop etc. first,
    then drag and drop on the place hlder for each page.

  • After paste attributes(transform and crop), it is strange crop...

    Hi everybody~
    I did copy from one clip and then paste attributes to same positon, scale , and crop.
    But after that, like that above image, crop is problem.
    Of course I replaced source clip again and no problem.
    But I want to know why that problem occured.
    Help me~

    What about the frame size of the project?
    I tried with two clip recorded with my MBP's iSight camera (at 640x480).
    On a 640x480 project, I could not make the problem occur. Paste atributes worked correctly.
    On an 1080p project, the problem manifested itself. It seems that pasting atributes somehow messes up the spatial conform parameter: while it still shows as "Fit", it appears as if it were set to "None", as far as I can tell.
    (Of course, such an error has not effect when the dimensions of the clip coincide with those of the project it is in).

Maybe you are looking for