Re size multiple  canvas to a fixed size

Hi,
I have Around 1000 picture to Resize them to a fized size of 900x1000 pixels.
All images are of different sixes and proportions.
Anyone who can suggest an action to do that.
Thanks

I think you could record a two step action then batch that action to do all the images.
Step 1) Menu Automate>Fit Image.  In the fit image dialog enter 900 in the width and 1000 in the height.  There will be recorded into the action step and when the action is player no dialog will be displayed the image will just be re-sized to fit within a 900x1000px area.
Step 2)Menu Image>Canvas Size.  In the canvas size dialog leave the anchor point in the center un-check relative and enter 900PX width and 1000 PX high.  Again these will be recorded into the action step no dialog will be displayed when the step is played.   If the canvas is not 900px x 1000px because of the images aspect ratio is not 9:10  Canvas will be added to the two sides or the top and bottom to make the canvas size 900px x 1000px.
You can batch the action with menu File>Automate>Batch or meny File>Scripts>Images Processor.

Similar Messages

  • Creating a panel with multiple canvasses on it, in complementary colors

        public Dancefloor(Dimension patches, int size, Color color)
            //create JPanel
            super();
            backgroundColor = color;
            numberOfPatches = patches;
            patchSize = size;
            //set Size of Dancefloor, make a conversion because the returned type isn't int but double and the setSize
            //function is only able to handle int
            setSize((new Double( numberOfPatches.getWidth() * patchSize) ).intValue(),
            (new Double( numberOfPatches.getHeight() * patchSize) ).intValue() );
            //set bacground color of the panel
            setBackground(backgroundColor);
            //create a number of patches, as submitted to the constructor(at the moment as Canvas)
            //Create a for loop which will be looped as much times as the number of patches
            for(int d = 0; d < new Double(numberOfPatches.getWidth() * numberOfPatches.getHeight()).intValue(); d++)
                //create a new canvas and set a background for it
                patch = new Canvas[new Double(numberOfPatches.getWidth() * numberOfPatches.getHeight()).intValue()];
                patch[d] = new Canvas();
                patch[d].setBackground(backgroundColor);
                //set another background for the patches that are not even, but have an odd number
                if(d % 2 != 0)
                    float[] colorHSB = color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null);
                    colorHSB[0] += 0.5;
                    if(colorHSB[0] > 1) {
                        colorHSB[0] -= 1;
                    patch[d].setBackground(new Color(Color.HSBtoRGB(colorHSB[0], colorHSB[1], colorHSB[2])));
        }Above is the code of the constructor of my class called Dancefloor, it attempts to create a panel(the 'dancefloor') with multiple canvasses('patches') on it. The even patches should have the color specified in the constructor, the others should have a complementary color as background. this is done using the last if-statement.
    When executing however, all patches have the color specified in the constructur and so you all you can see is a panel with a background instead of a panel with a patchwork of 2 different color canvasses on it
    I hope this explanation was pretty clear, I hope someone is able to help me out
    thomas

    i would suggest if you are going to use a JPanel, simply create an array of Rectangles that represent all of your patches. Then override the paintComponent(Graphics g) method of the JPanel to and use the fillRect(int x, int y, int width, int height) method from the graphics class to draw all of your rectangles something like this
    JPanel floor = new JPanel() {
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              for (int j = 0; j < myRectangles.length; j++){
                    g.setColor(whateverColor)
                    g.fillRect(myRectangles[j].x, myRectangles[j].y,
                                     myRectangle[j].height, myRectangles[j].width);
    }btw, you can use the field values width and height from Dimension class to retrieve an int value, insted of using getWidth() and getHeight just call myDimension.height or myDimension.width

  • Create Multiple Canvas depend on user need

    Hello everybody.. can anybody tell me how to create automatic
    Multiple Canvas depending user need. For example user need to
    display 3 information and flex get the data from HTTP XML. After
    that flex system build automatic create 3 canvas that contain the
    information been given. How can we do that? It's using repearter
    the way to solve?

    "Wirawannaga" <[email protected]> wrote in
    message
    news:gkgspl$b8b$[email protected]..
    > Hello everybody.. can anybody tell me how to create
    automatic Multiple
    > Canvas
    > depending user need. For example user need to display 3
    information and
    > flex
    > get the data from HTTP XML. After that flex system build
    automatic create
    > 3
    > canvas that contain the information been given. How can
    we do that? It's
    > using
    > repearter the way to solve?
    So glad you asked. Check out:
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
    Q1

  • Picture or Canvas solution for fixed aspect image

    Hello all,
    I am trying to use either a Picture or Canvas to display an image at fixed aspect ratio (so that it fills the control but only shirnks symmetrically). The Picture control allows one to scale to control but both X and Y are both scaled skewing the image. I would like to be able to use a fixed value in the y axis to size an unknown in the x axis - or vice versa.
    Does anyone have a quick and handy way to do this?

    An alternative to using an external application can be a tricky use of native picture control :
    1. Create a hidden picture control with fit mode set as VAL_SIZE_TO_IMAGE
    2. Load the picture on the control and get control dimensions
    3. Set the control as VAL_SIZE_TO_PICTURE; calculate the new dimensions to maintain the correct H/W proportion and resize the control
    4. Get the scaled picture with GetCtrlDisplayBitmap
    5. Load the bitmap into the visible picture control set as VAL_PICT_CENTER
    6. Discard the hidden picture control and the bitmap
    you'll have the picture proportionally sized to the maximum dimension compatible with the destination picture control, centered into it.
    If you prefere, you can do the whole procedure into one control only: if you don't update the screen in the meanwhile the user will know nothing of it. I'm not sure, but in this case it is possible that hiding the picture control during these operations makes the whole thing faster.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Multiple canvas windows -- my problem

    And so I used the wireframe to put 4 pictures (camera views) on the canvas. Watched all four corners, wrote down times for the change of focus. Went on to slice with the razor blade, with the intention of removing the top video clip if I wanted to see camera 3 only, remove the top 3 clips to watch camera 1 only, etc. I figured I would only have to change the wireframe back to the original size once for each track (camera).
    It appears to me that I need to resize the wireframe for each clip--"each & every time" I decided to change camera views.
    I bet that isnt the case, but I cant find a quick & easy way to do it. Or have I dug myself into a hole? Should I have left the razor blade alone until after I have resized the camera views back to original, and then cut the scenes?
    Next question: I resize the views by grabbing a corner and dragging. Is there a better way that will insure the same size for all the views?
    Thanks in advance. Will continue to search for answers in the docs, books, and in FCE4

    Yes, you did, and I apologize for re-posting. I didnt see your reply post. The posts must have crossed in the mail.
    In the meantime, I did mark all the razor cuts, erased the razor cuts, and am ready to resize the tracks.
    Thanks for the direction on how to resize the wireframe. Will give it a try.

  • Multiple canvas navigation help

    Hi all
    I'm developing a form with multiple canvases like A,B,C and D
    I'm able to navigate to the canvases successfully during run time by having some go_item code
    B-->D-->C-->A
    i don't want to navigate like this
    my need is if I close any the canvas B,C and D during runtime the control should be navigate to canvas A and the form won't be closed
    my problem is
    If i close any canvas during runtime the entire form is closed
    Help me!!
    Note:Is there any possibility to have a separate window for each canvas? If it so then how to code in the when-window-closed trigger for navigating between those multiple windows

    Hi user2233
    Here is an example ...
    Pls create a button in ur tab or content canvas (A) in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('SAL'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('TAB_CANVAS'); -- or canvas  (A)
    In order to return back to ur tab_canvas pls create a button in this button pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS'); -- or canvas  (A)
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    Hope this helps...
    Regards,
    Abdetu...

  • Multiple contacts...fix on the way???

    I have Outlook 2003 with all my contacts in it.
    When iTunes 5.0 (aarrgghh!!!!) came out when you synchronized your contacts you'd multiple contact entries on your iPod if it had a business phone number (I think this was the offending field).
    Then 5.01 came out (with no release notes) but as far as I can tell Apple never fixed this issue.
    Is there a fixed version of iTunes that address this on the way?

    I believe the dropped calls and reception issue is why they displayed the "bumbers" at the keynote.
    They knew all along of the problem and thought the bumpers were the fix.
    It's looking more and more like a recall or some type of software fix that is legit; not a signal bar redux.
    Message was edited by: DaddyOFTheMacDaddy

  • Is there a way to use multiple canvas tags with the ToolKit for CreateJS for Flash in one HTML5 doc?

    Hey everyone, I was wondering if someone could help point me in the right direction for solving this. I have created 5 short animations using Flash and when I published each ".fla " (with Toolkit for CreateJS extension) I get 5 different html5 files with their own respective javascripts. Is there a way to get all those canvas tags in one html5 file and still have it work. I'd love a hint on where to begin so I can begin researching the solution.
    Thanks!
    -DJ

    Why do you think that one will be over written?
    You can sync as many ipods/iphones/ipads as you like to one computer.  Each is different and will only sync what you select.

  • Multiple depreceation areas in Fixed asset module

    Hi All
    My customer wishes to implement the fixed asset module and is currently running three separate books in his asset register.
    Each asset has a separate net book value for each book (i.e. depreciation area) since they are depreciated at different rates.
    Now i need to upload all the fixed assets but need to upload the three different net book values per asset based on the depreciation area selected - but cant seem to find a way to do this.
    If i create a new asset and then depreciate it, SAP shows the different net book values - so the system obviously supports the process. But how can i put in the assets?
    Any assistance would be appreciated.
    Thanks
    Wendy

    Hi,
    Good Morning,
    We are using Oracle R 12 Version 12.1.3
    and the issue i m facing Corporate Book as we have not yet started Tax Book
    The Addition posted period is closed, but I want to change life in Open Period Mar 12 ( latest open period).
    Yes Depreciation Run for March 12.
    Please help
    Regards
    Anant Danve
    9820077180

  • One ITEM in multiple canvas

    All,
    One simple question... I am new to forms and that is why asking this question..
    I have created a DATABASE... case these items be shared in 2 canvases ??
    Thanks,

    I have created a DATABASE... case these items be shared in 2 canvases ??Not directly, no. An Item can only be assigned to a single canvas (check the property pallet for the item), however, you can create a second (non-database item) that you would display on the second canvas and then set the item to copy the value from your database item. This can be done through the properties of the second item or you can use code. I prefer the properties approach.
    Craig...
    p.s. It is always helpful to include your Forms Version when asking a question! ;-)

  • Multiple canvas overlapping other canvas

    I have 3 canvases in one form. The first one will appear at the top and the other 2 will appear at the bottom. I have created a radio button in the first canvas to allow the user to have to option to choose. If the first option is choosed, the 2nd canvas will appear at the bottom of the screen(3rd canvas will be hidden) and if the 2nd option is selected, the 3rd canvas will appear same position as 2nd canvas and the 2nd canvas will be hidden.
    The "VIEWPORT_Y_POS" and ""VIEWPORT_Y_POS_ON_CANVAS" for the 1st canvas is set to ZERO while the 2nd and 3rd is set to 200.
    The "HEIGHT" property for the 1st canvas is 155 and the other 2 canvases is 480.
    During the POST_NEW_FORM and after the user selected the second option, the 1st canvas and 3rd canvas display nicely(the 2nd canvas hidden). But after the data being displayed and some of the fields in the 3rd canvas has been enabled, the 3rd canvas being overlapped by the first canvas at the top portion.
    I have double checked the coding and there is no run-time setting the canvas viewport Y position property. What was wrong with the setting? This program has been running in our production server(Application Server 9.0.2) quite some time without any problem. But, when copied to our development server(application server 9.0.4), it gave me this kind of problem.
    Is this a bug for the newer version of application server? or it's the setting problem to the canvas?

    I have tried to set the viewport of the canvas programatically during run-time, but seems like the same problem happened.
    I tried to set the viewport Y position on canvas to Zero instead of 200 and then the viewport Y position to 200 at design-time. My problem solved!
    But the question is why the 2nd canvas didn't give me this kind of problem even I have set the viewport Y position on canvas same as the 3rd canvas(the canvas will appear same position as the 3rd canvas) wherelse the 3rd canvas did?
    Another question is why when I run this form on the Apps Server 9.0.2 no problem but Apps Server 9.0.4 did?
    Thanks.
    Cheong

  • Thread Problem during Multiple Canvas....

    Hi,
    I have designed two games for a suite while integrating these into a single MIDlet, the flow of the canvas are good but when i go to the secomd game the thread is not executing which cause paint also not executing.. so i don find any interaction with key events.Please help in this.
    1. From the main MIDlet i set the DISPLAY.SETCURRNT to the first canvas.
    2. From the First canvas i set the DISPLAY.SETCURRNT of the second canvas using the main MIDlet.
    3. The setCurrent method is working and as i started the Thread from here.
    4.But Run is executing only one which cause Paint also only once.
    Please Help me regarding...

    Dear Bhanu,
    Firstly FRC1 is quantity based condition now you want the quantity check in MIRO (FRB1 is absolute value based , FRA1 is Percentage based)
    Lets take 1 example
    PO quantity 100 Kg price 100 Rs/Kg. with 3 FRC1 conditions values are 5 Rs/kg ,6 Rs/kg,7Rs/kg (3 separate vendor A,B,C)
    so total PO with freight =100100 +51006*1007*100
                                          =10000 +  1800
                                          =11800 Rs
    Now say you have received 10 Kg of material
    And for freight vendor A you are performing MIRO ->Enter PO ->Select planned delivery cost-> Pop up will appear
    Select vendor A.
    Now it will propose 50 Rs and 10 KG
    If you enter qty as 11 kg it will show you warning ( that Qty exceed from GR) but
    TO achieve this you need to set tolerance key DQ (Qty check) for your company ->select check limit in OMR6
    and if want price check too set tolerance key KW this will check the amount of FRC1
    You can also make this warning as error in OMRM message no M8 081 as error
    Edited by: redriver on Dec 12, 2011 6:55 AM

  • Multiple Canvas Multiple Datablocks Reload Query

    Hi I am running form 9.0.4
    I have a problem where I have two datablocks which have there a canvas each and each canvas has its own window.
    When I try and load both only the last one refreshes.
    EG
    go_block('team_case_load_view');
    execute_query;
    go_block('ds_team_case_load_view');
    execute_query;
    The 'ds_team_case_load_view is shown if I do
    EG
    go_block('ds_team_case_load_view');
    execute_query;
    go_block('team_case_load_view');
    execute_query;
    The team_case_load_view is shown
    Are there any known issues which would cause this behavouir?
    Thanks

    Try putting a Synchronize; after the first Execute_query.

  • Multiple Errors, tried all fixes, nothing seems to work.

    My phone was working perfectly and has been for the 2 months since I got it...
    All the sudden I went to use it and there was a white screen with some kind of error that wouldn't do anything so I did the battery pop reset.
    Now when it starts up it says Uncaught exception: java.lang.NullPointerException(looked it up, tried all fixes, none worked) and I also get the Application Registry.waitF or(**************) timeout and I had  Module 'net_rim_pdap_resources' not found error.
    None of my music will play and when I start it up it now goes to a screen that says Blackberry Device Platform and lists everything instead of showing any icons or the homescreen.
    I did a wipe hoping that would work and it didn't so now i've run out of options, can anyone help me?
    It sounded like a good idea at the time....

    You will need to use JL_Cmder to wipe the device and subsequently load the OS to the device. Follow the instructions here:
    http://www.blackberryfaq.com/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F
    If JL_Cmder does not work, follow this instructional:
    http://www.blackberryfaq.com/index.php/What_to_do_next_if_Jl_Cmder_will_not_connect_and_wipe
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Extracting multiple variables of different fixed length from a string ( Java )

    Dear all,
    I am expecting an input string of
    NationalBroadCastTony12245tv0930113024213tv0820230022214tv0915140024213rd10002300
    I need to display it in the following format:
    Telecastor: NationalBroadCast
    Presenter:Tony
    ch_code
    pg_code
    source
    start_time
    end_time
    1
    2245
    tv
    0930
    1130
    2
    4213
    tv
    0820
    2300
    2
    2214
    tv
    0915
    1400
    2
    4213
    rd
    1000
    2300
    I know the starting and ending position of Telecastor, and Presenter in the input string. I also know the position of the start element of the table(starting of the loop). I also know the length of a single row( allows me to contruct the loop). I reckon regex is probably not the best way since there is no pattern matching. I am looking at some sort of a config driven logic.
    Are there any java string function that I can use together with some form of config driven configuration that anyone can suggest?
    I am looking along the line of some configuration like eg
    telecastor 17
    Presentor  4
    pg_code 4 ( anything after character 21 is the loop)
    source 2
    start_time 4
    end_time 4
    For example another input I can expect is
    ElementaryScienceAccessment223-Feb-131500-1730RegentHallE32344390E21235487A23443564G23443246
    I need to display as
    Exam:ElementaryScience
    Nature: Accessment2
    Date:23-Feb-13
    Time:1500-1730
    Venue:RegentHall
    Student ID
    Score
    E323443
    90
    E212354
    87
    A234435
    64
    G234432
    46
    Exam:17
    Nature:11
    Date:9
    Time:9
    Venue:10
    Student ID:7 (anything after 56 is a loop)
    Score:2
    Unfortunately the input stream is not in XML format. What sort of string function/config driven logic can I use to allow me to define a 1 config fits all mechanism?

    Are there any java string function that I can use together with some form of config driven configuration that anyone can suggest?
    Well there is the obvious one: the 'substr' method of the String class.
    http://docs.oracle.com/javase/6/docs/api/java/lang/String.html
    Your 'config' would be the list of start/end or start/length values for each of the components.
    The usual parsing issue is knowing how to determine when one element ends and the next one starts. For this fragment of yours:
    12245tv
    How do you know if the first component, 'ch_code', is '1', '2', or '122'?

Maybe you are looking for

  • How can I install iPhoto on a 10.6.8 Macbook?

    Hello all- I had a quick question regarding the newest version of iPhoto '11.  Quite a while ago, I had to replace the hard drive of my (very old) Macbook Pro, and during this process I installed 10.6.8 on the new SSD.  Everything works perfectly, bu

  • Error while exporting the database - using expdp

    Hello, I am trying to export the roger's schema ('scoala' database). I'm using: D:\oracle\product\10.2.0\db_1\BIN>expdp roger/mypass@scoala directory=D:\EXP ORTSCOALA dumpfile=scoala.dmp logfile=scoala.log Export: Release 10.2.0.1.0 - Production on W

  • How to declare top of page in alv grid disply

    Hi Can any ine let me know how to declare the top -of -page?? Arun Joseph

  • How to mantain the custmer bom version wise.

    Dear sir iam useing customer bom by cs61. with respect to sales order.when received the sales order , iwll create customer bom by cs61. now i want change the bom components or quality number of times . but in in cs62. when ever change the bom compete

  • Please help, Nokia c2-02 browser troubles

    It's been 3 months since I've updated my nokia browser and since then the browser is not working I have updated my phone using nokia suite 3 times (today was the 3th time) I've been searching online for a solution but all whatI've seen was to downloa