Script or Action - Make image square

Need to add this to an action, rather than making all images square manually before batching them all.
- All 500+ images are various sizes both portait, landscape and possibly square already.
- They are all cropped tightly around the product with a white background.
So currently: I just use canvas size, anchor to the centre and change the smallest pixel dimension to make it square, so none of the product is cropped.
Any ideas?
I couldn't get JJMack's aspect ratio script to help me.
Automate -> Fit Image will take it to 1000 pixels but still won't be square.
EDIT: Oh my. I just found this, looks like it'll do the job. Will test some more in the morning.
var savedRuler= app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var w = app.activeDocument.width;
var h = app.activeDocument.height;
if(w>h) app.activeDocument.resizeCanvas (w, w, AnchorPosition.MIDDLECENTER);
if(w<h) app.activeDocument.resizeCanvas (h, h, AnchorPosition.MIDDLECENTER);
//if w==h already square
app.preferences.rulerUnits = savedRuler;

I have a need for this script as well...is this the entire script?  If not, can you post the complete script?
I just need to increase either the canvas width (as white area for the added width/height) or the canvas height to match the longest side of an image so they they are perfectly square.  No cropping or reduction in image sizes.  These are product images on white background.
Is this the full script?
var startColor = app.backgroundColor; 
if(startColor.rgb.hexValue != 'FFFFFF'){ 
var white = new SolidColor(); 
white.rgb.hexValue = 'FFFFFF'; 
app.backgroundColor = white; 
var savedRuler= app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var w = app.activeDocument.width;
var h = app.activeDocument.height;
if(w>h) app.activeDocument.resizeCanvas (w, w, AnchorPosition.MIDDLECENTER);
if(w<h) app.activeDocument.resizeCanvas (h, h, AnchorPosition.MIDDLECENTER);
//if w==h already square
app.preferences.rulerUnits = savedRuler;
if(white != undefined) app.backgroundColor = startColor; 

Similar Messages

  • How can I automatically make images square?

    I'd like to, using actions (preferable to scripts), automatically make images a square. Here's what I want to do (I'm on CC, so I have conditional actions available to me):
    (IF
         ([IMAGE SIZE] HEIGHT = [IMAGE SIZE] WIDTH),
       THEN
         (DO NOTHING/RUN UNRELATED ACTION),
       ELSE
         (IF
              ([IMAGE SIZE] HEIGHT > [IMAGE SIZE] WIDTH),
            THEN
              ([CANVAS SIZE] WIDTH = [CANVAS SIZE] HEIGHT),
            ELSE
              ([CANVAS SIZE] HEIGHT = [CANVAS SIZE] WIDTH)))
    The way I was thinking I'd go about this is:
    Have a conditional action for the first if statement (Called "Square")
    Have a conditional action for the second if statement (Called "Square 2")
    Have an action that does whatever I want it to do once the document is square (Called "BlahBlah")
    Have an action that will bump Canvas Height up to Canvas Width if Canvas Width is bigger, and then does "BlahBlah" as part of the action (Or rather, will make a Landscape image square) (Called "Landscape")
    Have an action that will bump Canvas Width up to Canvas Height if Canvas Height is bigger, and then does "BlahBlah" as part of the action (Or rather, will make a Portrait image square) (Called "Portrait")
    "Square":     IF Document is Square, THEN PLAY ACTION "BlahBlah", ELSE PLAY ACTION "Square2"
    "Square2":   IF Document is Landscape, THEN PLAY ACTION "Landscape", ELSE PLAY ACTION "Portrait"
    "Landscape": (Width > Height) Canvas Size -> Width = x, Height = y -> Width = x, Height = x
    "Portrait": (Height > Width) Canvas Size -> Width = x, Height = y -> Width = y, Height = y
    "BlahBlah": Whatever I want it to do next
    Is this possible with actions? If not, is it possible with Scripts? How would I go about doing that?
    Thanks in advance!

    You may want to look at IrfanView freeware.
    I can add canvas to square, resize, add watermark, and convert to jpg.
    300,000 images in groups of 10,000 in a few hours.

  • Canvas Resize to Square for a large number of images using script. E.g. image is currently 1020 x 600, I would like to change this to 1020 x 600. PLEASE HELP

    Hi All,
    I have a large number of images that I need to resize the canvas sizes to a square, the images are currently in different sizes. For example, if an image is 1020 x 600 I would like to change the canvas to 1020 x 1020 so that the image becomes a square. I am using CS3 and all the images are jpeg's. I have done research on scripts but the ones I have tried have not worked. Please help.
    Thanks.

    Since you do not want to crop your images to a square 1:1 aspect ratio changing the canvas to be square will not make your images square they will retain their Aspect Ratio and  image size will be changer to fit within your 1020 px square. There will be a border or borders on a side or two borders on opposite sides.   You do not need a script because Photoshop ships with a Plug-in script to be used in Actions.   What is good about Plugins is the support Actions.  When you record the action the plug-in during action recording records the setting you use in its dialog into  the actions step.  When the Action is played the Plug-in use the recorded setting an bypasses displaying its dialog. So the Action can be Batch.  The Action you would record would have two  Steps.   Step 1  menu File>Automate>Fit Image... in the Fit Image dialog enter 1020 in the width and height  fields.  Step 2 Canvas size enter 1020 pixels in width and height  not relative leave the anchor point centered it you want even borders on two sides set color to white in the canvas size dialog. You can batch the action.
    The above script will also work. Its squares the document then re-sizes to 1020x1020  the action re-sizes the image to fit with in an area 1020 x 1020 then add any missing canvas. The script like the action only process one image so it would also need to be batched. Record the script into and action and batch the action. As the author wrote. The script re size canvas did not specify an anchor point so the default center anchor point is uses  like the action canvas will be added to two sides.

  • Action Script problem with scrolling images

    doing a tutorial and got to the stage of action scripting mouse control for scrolling images.
    checked the script in Actions. And said it was ok...No errors found.
    Tested the movie and there were 2 compiler errors reported.
    Scene 1. layer 'action script', Frame 1, line 1: 1120:Access of undefined property _root. _root.onEnterFrame=funtion(){
    Scene 1. layer 'action script', Frame 1, line 2: 1120:Access of undefined property _root. _if(_root._xmouse<50){
    Scene 1. layer 'action script', Frame 1, line 1: Warning: 1058: Migration issue: The property _root.onEnterFrame=funtion(){
    Can anyone help me understand this.
    thanks

    It sounds like you are mixing up AS2 code with AS3 compiling.  You may need to change you publish settings to AS2.

  • Action repeating image on all sides

    I am trying to create an action that takes one image and repeats it on all four sides to make a square (we are picture framers and am trying to create image files of our frames from one picture of a piece of frame). I have managed to create the action to do this, but some of the frames are different widths and if I set the action to go on a smaller frame it doesnt push the image up to the edge of the canvas. It leaves a white space between the edge of the image and the edge of the canvas.
    I tried to set the point of origin with co-ordinates in the transform mode when creating the action, to make sure that every image went where I wanted it to, but this hasnt worked.
    Do you know of any way that I can paste an image into a new canvas and pin point where I want that image to go?

    How about a simple script?
    #target photoshop
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var doc = activeDocument;
    doc.selection.selectAll();
    doc.selection.copy();
    app.activeDocument.resizeCanvas(doc.width*2, doc.height*2, AnchorPosition.TOPLEFT);
    doc.paste();
    doc.selection.selectAll();
    align('AdRg');
    align('AdTp');
    doc.activeLayer.rotate(90);
    doc.paste();
    doc.selection.selectAll();
    align('AdRg');
    align('AdBt');
    doc.activeLayer.rotate(180);
    doc.paste();
    doc.selection.selectAll();
    align('AdLf');
    align('AdBt');
    doc.activeLayer.rotate(-90);
    doc.selection.deselect();
    app.preferences.rulerUnits = startRulerUnits;
    function align(method) {
       var desc = new ActionDescriptor();
               var ref = new ActionReference();
               ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
           desc.putReference( charIDToTypeID( "null" ), ref );
           desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
       executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );

  • Bridge CS6 Script to Find Multiple Images in Multiple folders.

    Is it possible to have a script to find multiple images within multiple folders that is on a external hard drive?
    For instances I have a external hard drive assuming it's for a library of pictures.
    Inside this hard drive has folders named as below
    1-1000
    1001-2000
    2001-3000
    3001-4000
    If I had a perfect csv file for example that calls out for specific pictures for example 2, 10,1500 and 2000 (remember think big, it may be a larger list than this it could be hundreds or thousands of pictures); is there a script that would allow me to find these images and save a copy of them on to my desktop so that way I don't have to hunt for them in the old fashion way? I can read scripts but writing them is a different story.

    If you want to go with Batch I would recommend creating an Action of more or less these steps:
    • set the resolution to the same as the background image’s
    • change the image from Background Layer to regular Layer if necessary
    • convert it to a Smart Object
    • add a Drop Shadow Layer Style to the image (do not use Global Angle)
    • place the background image (File > Place …)
    • move it behind the image layer
    • Image > Reveal All
    • make Selection from that layer’s transparency (cmd-click its icon in the Layers Panel) and use Image > Crop
    • select and transform the image layer to fit the intended position
    This would naturally work out best if the images had the same size and proportions.
    For the reflection on the floor duplicate the image, flip it vertically, move it in position and reduce its opacity to maybe 10%.
    Realistically you may have to hide it partially behind the pillows, a Vector Mask would be an option.

  • Scripting Illustrator actions, incorporating calls to Excel

    Hello all, I need some help...
    I am building a series of logos — based on word strings —  using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file.
    Normally for one or two iterations of the process, I would not hassle with a script, but this is a mind-numbing repetitive task, and I have to make 6,000 logos!! Seems the ideal use for a script.
    We have tried to work with ExtendScript Toolkit (ESTK) but we can't get our heads around how to make it do certain things, and I can't find anyone who really knows how to use ESTK correctly.
    I have a MAC, so the script has to be written in Java Script or Apple Script.
    Here's what I need to do:
    Execute Action: Open a Master Illustrator doc. This doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set. <pause Action>
    Run Script: Retrieve the word string from a cell in Excel worksheet (or CSV??). Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm". There are two additional charaters "tm" at the end of the word string that will be acted upon (remember these two characters for item 7 below)
    Run Script: Place this WordString into the predefined type box in the Illustrator Master doc. That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator? <pause Script>
    Execute Action: Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm  <pause Action>
    Run Script: Select all caps in word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select last two letters of word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select text box. <pause Script>
    Execute Action: Apply Stylize > Drop Shadow — On contents of text box, preset DS parameters in either Appearence panel or Effect menu.
    Execute Action: File > Save As .ai document. <at Save As dialog, pause action>
    Run Script: Retrieve file name from Excel and place in Save As dialog (copy & paste?). In next column in Excel doc, same row, is a SEO-friendly file name. Example: word string is "DinnerParties"; file name (next column) is "logo-dinner-parties"
    Run Script: Select folder to save the .ai doc into. Example: Folder is "Logos AI". <pause Script>
    Execute Action: Complete Save As. Example: in Folder "Logos AI" now we have the file "logo-dinner-parties.ai"
    Execute Action [assumes that the Saved As document — logo-dinner-parties.ai — is now the active one in Illustrator]: Save for Web & Devices. Preset to PNG24/Transparent. Correct file name will NOT be in Save field. <at Save dialog, pause action>
    Run Script: Repeat retrieval process to get same file name from Excel.
    Run Script: Select new folder to save the .png doc into. Example: Folder  is "Logos PNG". <pause Script>
    Execute Action: Complete Save for Web. Example: in Folder "Logos PNG" now  we have the file "logo-dinner-parties.png"
    Execute Action: Close
    Repeat steps 1 though 19 until all word strings processed: Script has to know to go to next word string (next row) in Excel doc.
    This is a tricky one, but there's got to be a way to automate the process... otherwise I'll go crazy doing this manually!!
    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Thanking you in advance for any assistance.
    All the best.

    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Depends on what you mean by "help." Are you asking someone to do the whole thing for you (would require more detail), or do you intend to do it yourself, but are stuck on something? (You say you "tried to work with ESTK" and "can't find anyone who really knows how to use ESTK correctly"; but you don't say specifically what you're struggling with in ESTK.)
    ...doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set.
    Much of what can be done with any approach depends largely upon what Appearances and/or Effects are involved, and where. You imply that you want all of the "logo" to be contained in a single textFrame object. But Drop Shadow Effect cannot be applied at the character level, so it can't be included in a Character Style.
    So if you don't want all the text to have the same drop shadow, you will be involving multiple textFrame objects. That will lead to the complication of having to position the two textFrames relative to each other, depending on their dimensions after the varying text is inserted.
    Retrieve the word string from a cell in Excel worksheet (or CSV??)
    With scripting, it would be inefficient and unnecssary to go back-and-forth to the spreadsheet to extract values one at a time. Typically, you would create an array containing the full set of values, and then iterate through the elements of the array.
    Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm".
    So you're going to need a sub-routine of some kind (in Javascript, a function) to find capital letters.
    There are two additional charaters "tm" at the end of the word string that will be acted upon...
    If this is the same in each instance, and if you are going to script this, there is no need to include it in the data.  Insert the "tm" programmatically.
    That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator?
    Using script, you don't have to select the textFrame, copy, or paste in order to insert content. You would declare a variable, assign its value (from the above-mentioned array), add the variable's value as text to textFrame's content.
    Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm
    Here you will run into a difficulty inherent in Illustrator's poor implementation of stroked text. You can apply a Stroke at the Character level and include that Appearance in a Character Style. But Illustrator always positions such strokes in front of the fill--something you almost never want, because it "chokes" the fills, wrecking the shape of the characters. The workaround is to Add New Stroke and position that below the Characters listing in the Appearance Palette. But script provides no access to added strokes or fills and Added Strokes cannot be applied at the character level.
    Select all caps in word string. Example: DinnerPartiestm
    Illustrator cannot select discontiguous text strings. Again, script does not have to select objects in order to change their properties.
    Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm
    Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm
    The applyTo method of the CharacterStyle object. Or, just set the size and baselineShift properties of the characterAttributes property of the textRange directly.
    Apply Stylize > Drop Shadow — On contents of text box
    Drop Shadow Effect cannot be applied to the contents (character level) of a textFrame--only to the textFrame object itself.
    My very limited understanding of ESTK is that it is a scripting tool for  use in Illustrator.
    It's a script text editor included with the Creative Suite. You can use it to build scripts for any of the CS products (or entirely other purposes, for that matter). Or, you can choose to not use it at all. A Javascript is just a text file. Tools like ESTK add conveniences, references, etc., geared toward scripting.
    So, I'm only acting on the word string....
    But I am also not a coder...
    Which is why I would look into simpler already-built methods before jumping into a tedious solution scripted for Illustrator. For example: Many, if not most, AI users are familiar with InDesign. InDesign provides a proper dataMerge feature that can handle ordinary tab-delimited text. It's handling of strokes on text is correct, unlike Illustrator. If you set it up accordingly, it can create all the separate pages for you.
    You would:
    1. Draw the fixed graphic in Illustrator.
    2. Place the Illustrator graphic on InD's master page.
    3. Set and style the text objects. Insert DataMerge tags.
    4. Import the data and run the Merge function.
    InD builds individual pages for each row of the data. You're done. Export to PDF. InD and Acrobat also have their own scripting models. Either one can handle the specific naming convention, if really needed.
    Again, it depends on what exactly is "special" about the text object(s) you are manipulating with variable content. For example, if you're using an AI-specific Warp effect, you'd be back to Illustrator.
    Anyway, you want a paying gig?
    I do some freelance work as time permits and interest strikes, but I'm not cheap, and that's not why I frequent these forums.
    Scripting your solution entirely in AI may very well be possible, but whoever does it will need to see the specific objects, styles, etc., involved to avoid unnecessary guessing and time-consuming round-tripping. Why don't you post an image and/or an AI file?
    JET

  • Actions and Image Trace

    Hello,
    I'm doing some work that requires line art to be created from simple grey-scale images. I am using Adobe Illustrator Creative Cloud as well. What I'm wanting to do is create an action that utilizes the image trace feature to help speed up the processes. The problem is, I cannot change the settings in the image trace section inside (it just uses the default setting in the image trace) which just creates a white image (usually a square) and doesn't actually trace around my image. What I'm wanting to do is be able to select the silhouette preset and have that command be sent to my action macro.
    Here is what I'm wanting my Action to look like
    - Rasterize Layer
         - Defined Settings
    - Image Tracing
         - Switch to Silhouette settings rather than Default (this is where I can't change the settings)
         - Make image trace
    - Expand Image
    It's not that complex, but I can't seem to get anything to work. I've done a lot of hunting around and I really haven't been able to find anything to help get me started on trying to figure this out. If anyone has any insight please let me know!
    Thanks!

    PhotoLady,
    If you have Windows, I believe they are if nothing to the contrary is indicated.
    May I ask which 8 and which 4?
    It seems that there may be something else causing the issues.
    Unfortunately, our forum staff friends have been absent since the forum change.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • "Type mismatch" error in IE7/8 when using custom Actions Menu Image

    Hi all,
    in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Actions Menu Image" field empty, everything works fine. The error doesn't seem to happen in IE9 (unless using compatibility mode), or in any non-IE browser.
    I've been able to reproduce the issue in an application on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=69347:1
    Some debugging seems to indicate that the following line in widget.interactiveReport.js is the culprit:
    lTemp.parentNode.replaceChild($x('apexir_WORKSHEET'), lTemp);Does anybody know if this is a known issue, or if there is some workaround?
    Thanks,
    Tobias

    Hi,
    Great solution Paul! It cost me a while before I found out the Action Menu Image was causing my interactive reports to stop refreshing in IE10 and not other browsers. Your solution works great, I've implemented it with a few minor adjustments:
    - Put the css in report template (for some reason it didn't work in our own application stylesheet)
    - replace  'url("/c/action_dropdown.gif")' with 'url("&APP_IMAGE_PREFIX./<path_to_image>")'
    - place one dynamic action on page 0: after refresh of '#apexir_DATA_PANEL' , set event scope to "Dynamic".
    - Let the Dynamic action also fire on page load.
    - To make sure the dynamic action only works for pages with an interactive report add condition of type 'Exists' with expression:
    select 1
    from   dual
    where  :APP_PAGE_ID in (select page_id
                                            from   apex_application_page_ir
                                            where  application_id = :APP_ID
    Best regards,
    Vincent Deelen

  • Photoshop scripts within Actions

    Ok so I am currently trying to run a photoshop script within an action specifically Image processor.
    I can include the script by importing menu item although evyerthing i run the action i have to set up the script aka choose folder locations etc.
    My question.. is there a way to set the defaults so that the action automatically runs the script?
    Please help its driving me mad!

    Not sure what you mean exactly, but that the dialog is raised when you trigger Image Processor seems as expected.
    Why an Action anyway and not a proper Script for the whole operation?

  • Upload Images and giving an action to image

    Hi,
    I  want to upload images  and by clicking that image it must go to next view.
    Could you please suggest me some of the steps to upload image and to make an action on image.
    Regards,
    Anitha

    You can use FileUplod UI Element for uploading your photo.
    and to make image as action you can use LinkToAction UI Element and put the full image name(with file Ext) in ImageSource property of LinkToAction UI Element, after that create a action and put the required code for next level of prcessing
    use this running code for uploding you file
    String FileName = "temp;
           InputStream input = null;
           int i=0;
              FileIncreament();
              try {
                        String directory =".\\temp\\webdynpro\\web\\local\\yh1245_ftp"+
                        "\\Components\\com.yash.yh1245.Upload\\"+FileName+wdContext.currentContextElement().getCounter();
                             boolean sucsss = new File(directory).mkdir();
                             if(sucsss){
                                  wdComponentAPI.getMessageManager().reportSuccess("Directory Created ");
                                 File file = new File(directory+"\\"+wdContext.currentContextElement().getResourceURL().getResourceName().toString());
                                  FileOutputStream fos = new FileOutputStream(file);
                                  wdComponentAPI.getMessageManager().reportSuccess(file.getAbsolutePath());
                                  FilePath = file.getAbsolutePath();
                                  wdComponentAPI.getMessageManager().reportSuccess("AbsolutePath......."+file.getAbsolutePath());
                                  if(wdContext.currentContextElement().getResourceURL()!=null){
                                       input = wdContext.currentContextElement().getResourceURL().read(false);
                                       //wdComponentAPI.getMessageManager().reportSuccess("Resource is not null ");
                                       while((i = input.read())!=-1){
                                            fos.write(i);
                                  fos.flush();
                                  fos.close();
                                  wdComponentAPI.getMessageManager().reportSuccess("File Uploaded on server directory ");

  • How do you make images transparent in inDesign?

    How do you make images transparent in Adobe InDesign CS5.5?

    Dittco wrote:
    It IS possible: Select the image. Open effects (Window > Effects). Switch from "normal" to "multiply". Viola! White background is gone.
    That only works with a white background. In addition, it introduces a transparency effect, with its associated problems.
    With a rather light background: Select the image. Open clipping path (Object > Clipping Path > Options). Select Type > Detect Edges; use Threshold and Tolerance to get as close as possible to the edge of your image. This may be difficult because of a too low resolution image, or too much fringe on the edge -- if all fails, use the Inset Frame value to force the mask "into" the image. Click OK, and the background is gone.
    But that's not the only way: you can always create a clipping path manually, and then you are in total control, not limited by transparency side effects, auto-edge detection, and busy backgrounds.

  • Quick, easy ways to make images look better?

    What are the best ways to make images look a bit better? I shot my footage using a pretty bad camera, so quality already isn't the greatest, but what is the best way to make images look a bit more "movie-like"? The 3way color correstion is nothing for me, it's too hard to make images look good, they'll quickly turn too yellow or red, etc... Something to improve contrast maybe? Using Image Control: Brightness and contrast (bezier) doesn't seem to help much.

    Okay, I took a couple of screenshots:
    http://www.majhost.com/gallery/TheDarkBrickX/Random/film/afbeelding_1.png
    http://www.majhost.com/gallery/TheDarkBrickX/Random/film/afbeelding_2.png
    http://www.majhost.com/gallery/TheDarkBrickX/Random/film/afbeelding_3.png
    http://www.majhost.com/gallery/TheDarkBrickX/Random/film/afbeelding_4.png
    Now I don't know alot about image quality or color, but I think there is not enough contrast? It all looks very cold. Luckily, image quality isn't the most important thing in this project, but it would be nice to be able to touch it up a little bit.

  • Script to rotate an image in InDesign CS4 from an Excel Spreadsheet

    Hi all,
    Is there a script for InDesign CS4 that reads degrees from an excel spreadsheet and then rotates a specific image by the same amount of degrees that was written in this excel spreadsheet? I would like to create a column in Excel full of rotation degrees and then go to InDesign, run the script for a specific image and the image will rotate automatically.
    If there isn't a script like that already around, can you let me know if it is possible to be done and also if it is possible, can you help me create one please?
    Thank you in advance for your help.
    Lucas

    a script to rotate images... only one at a time and marijan tompa had the answer for that: http://forums.adobe.com/message/2998073
    as for referencing an excel file or txt/csv, i don't know, but perhaps other posters could assist.
    colly

  • HOW TO MAKE IMAGE TRANSPERANT

    Hello All,
    I have two images one as background and another one is to
    place on background image.
    Upper one I need transperant. How to write code to
    make image transperant?
    CAN ANY ONE HELP?
    Sharmila.

    If you want to do on the fly image transparencies then you want to look in the java.awt.image package. There is are some pretty powerful image filters in here and after the initial learning curve, it isn't terribly complex to create your own image filters. For a school group project we created a logic puzzle game based on a shareware program alreay out there. The shareware program had a tileset format that we wanted to use in our application, but the transparencies weren't set up correctly. We ended up adding the transparencies on the fly. I wish I had the piece of code handy but I can remember enough to point you on the right path.
    If you subclass java.awt.image.ImageFilter and override the two setPixels() methods, you can provide any manipulation you need to. Basically the image producer will pass in the pixels in one huge byte (or int) array top left to bottom right order. What we did, was get the color out of the first pixel and make that our transparency color. The byte method has two bits per color while the int method has 8 bits per pixel. The color is divided into r(ed), g(reen), b(lue), a(lpha) (I can't remember if alpha was first or last, a little expirimentation will tell you). The alpha is opaque at one extreme and fully transparent at the other extreme. Loop through the array and if the color is the same as your first pixel then set the alpha to 0 (or was it 15/255?).
    Good luck!

Maybe you are looking for

  • UOM Conversion to be used in transformation

    Hi Experts, I am trying to make use of the BI 7.0 UOM conversion feature in one of our InfoCubes where the source quantity which is in Base UOM needs to be converted to cases. I went through all the steps which are as follows: 1. I have 0BASE_UOM as

  • Recovering from a hard drive failure

    My HD recently failed, I just got my machine back from my friendly Apple Store. Thankfully, my iTunes library is on an external HD. I got my music up and running, but I can't get the TV shows I had back in my library. They are all in the iTunes Music

  • Can someone tell me why Safari windows follow from space to space?

    I open a new space via Mission Control.  I want to have only a couple terminal windows in there.  For some reason Safari windows follow me when I switch from one space to another.  Why is this?  It doesn't happen with email, Firefox, or any other app

  • Actionscript 2 and Flash Publish Settings

    Hi Everyone, I have posted a couple questions as of late and received fantastic support from other members (Thanks K-Glad). I do have what I'm assuming to be a basic question however I cannot find an answer for it. I added some login script to a page

  • Google maps doesn't display

    hi, just a little problem with my brand new macbook: google maps doesn't work. the maps never appear on the screen. thanks for help.