Calculating width height in script

hi i want script for comparing all layers of psd with photo with its width and height ie one psd background is opened script will read the value of that psd's layer whether it is portrait
or landscape by any way say by its width and height if height is greater than width than its portrait vice versa and then it compare with photo by opening it in sequences or firstly it will read the value of photo than compare with layer.if it got same in place of landscape, same and in place of portait same then it will run action if not than it will open new psd.and with compare same photo

If you read the documentation you will see that the scripts senses both your  Image  aspect ratio and size as well as the collages image locations  aspect ratio and size and will fit your images to the collages image location.  If you want to retain the aspect ration of your images you images aspect ratio and orientation should closely match the aspect ratio and orientation of the image location in your template.
If you want images to be rotated to match the collage image locations  aspect ratio for a better fit you can use the script PasteImageRoll.  To me if you want to create a collage as a collage not to cut out images from the print you do not want some images rotate you want them to be view upright not on their side. 
In fact the scripts only place or paste in images with the image orientation or rotated 90 degrees to match the image to the outputs orientation. If you want some images to be slightly rotated or have some form if image perspective. You will need to do that manually. After the scripts populate the images by manually altering the transform associated with the image.
Collage image location can have any aspect ratio, orientation, size, shape, perspective. Source images can be any Photoshop image file format. Therefore input images can also have any shape, size, orientation and perspective etc.  It would be a daunting task an impossible task for me to programs  a generalize solution to analyize imput images contents, size, shape orientation perspective etc and to match them any collages with content have perspective and have arbitrary image location with  any aspect ratio, size orientation shape etc to match all to any collage design your mind can dream up.
So my scripts populate images to the Collages orientation. All images will be fitted for the Collages Image Location  all populated images will be upright and take on the collages image location aspect ratio a virtual centered crop.    So Image rotation and perspective composition other the straight on must be manually tweaked by modifying the image's associated transform. You will also want to tweak strait on image population when the image aspect ratios don't closely match image locations aspect ration to improve the composition of the virtual centered crop. No cropping is actually done.  Image are just masked to the outputs aspect ratio. All populated collages are layered Photoshop documents the can be tweaked.
You can not rotate collage image location for that would alter the design of the collage image may overlap other image locations layer stacking order would effect the composition in the overlap areas and the document canvas size may virtually mask off parts of image location that have been rotated to match the aspect ratio orientation of source images.
For example if the image to replace layer 6 in your example had a landscape orientation and you rotate the collages image location to have a landscape orientation to match you new image for that location part of the image would fall outside the canvas area and part of the image would overlay other images in the collage.
Examples in the documentation shows what the scripts will do when aspect ratio don't closely match a landscape into a portrait or a portrait into a landscape.
Note: Look at how Landscape images are fitted to Portrait cutouts and how Portrait Images are fitted to Landscape cutouts. For best results when you batch populate Photo Collage Templates Images and Cutout should have the same orientation.

Similar Messages

  • Shell script to determine file width, height, resolution cs5 js

    I’ve been using a Script by Michael L Hale (that utilizes »xmp.getProperty« and Bridge’s »core.quickMetadata«) to determine files’s dimension and resolution without having to open or place them.
    Unfortunately it fails with some files (non-Photoshop generated bitmaps, it seems).
    (Pdfs I treat differently altogether to avoid the trouble of determining pdf-page counts and potential problems with pdfs containing differently sized pages.)
    Do any of you know if and how one can access files’ width, height, resolution with »app.system« in CS5?
    I may have come across it before, but can’t locate such a thread currently.
    Thanks for any input.

    These are 2 options that you could use if you wanted to dump all the info to text file then parse in JS. You could see if either of these contain the data that you are after?
    #target bridge
    var foo = File('~/Desktop/SomeFile.tif');
    getAllXMLSIPS(foo);
    //getMetaDataMDLS(foo)
    function getAllXMLSIPS(f) {
         if (f instanceof File && f.exists) {
              var shellString = "sips --getProperty allxml ";
              shellString += f.fsName;
              shellString += ' > ~/Documents/StdOut.txt';
              app.system(shellString);
    function getMetaDataMDLS(f) {
         if (f instanceof File && f.exists) {
              var shellString = "/usr/bin/mdls ";
              shellString += f.fsName;
              shellString += ' > ~/Documents/StdOut.txt';
              app.system(shellString);

  • Script to receive width, height, movie url

    I'm a complete Flash neophyte, but despite this I've been
    tasked at work with creating an actionscript for a fla file that
    will receive width, height, and URL (of a .flv file) as arguments
    so that the file can dynamically display video based on the
    arguments passed. I have to have this done by tomorrow...would
    anyone be kind enough to throw me a clue or two on how this could
    be done? I'm looking through the tutorials and documentation, but
    they all look like they're for intermediate to advanced Flash
    users. I know javascript fairly well, so I think I get the general
    concept, but I'm in the dark as to syntax, proper object and
    properties to refer to, what the function would look like or where
    to save it...
    Any help would put me way in your debt.
    Thanks,
    Christophe

    function setVideo(newWidth, newHeight, newURL)
    _root.videoGizmo._height = newHeight;
    _root.videoGizmo._width = newWidth;
    //then set the filename. That will be different depending on
    what video component you are using. If you are using flash 8 and
    using the flash 8 video playback component then it will be the
    contentPath like so
    _root.videoGizmo.contentPath = newURL;
    Keep in mind that if you are using flash 8 and that's OK for
    users then then video playback component will autosize for you if
    you set its autosize property to true.

  • Width*height vals changing in save for web ??

    Hi all
    I've opened an EPS file in illustrator cs4. And its width & height values are differing with width & height values in "save for web" option.
    For example, normally in width & height boxes shows as
    width : 247.499 pt
    height : 116.524 pt
    but in save for web
    width : 249
    height : 117
    I've checked with various figures too.

    Script lan : javascript
    thanks for ur help!
    Actually I've to resize the figure for the width 175, 525, 1400 and the height should change proportionally. So I tried, but I couldn't resize the figures using save for web. Becoz its horizontalScale & verticalScale treats values as percentage. eg. 175 treats as 175%. Then I grouped all items and changed its "width" and foud out the values' corresponding "height" values. But the problem is, exported file's values are changing nearly 3pts.
    could u help on this?

  • Calculated value for SAP Scripts

    Hi All,
    I have made changes to two seperate print programs which are used to print Invoice and Packing Slip respectively. However, I'm using the dimension details from VEKP in both. When I calculate volume multiplying the length, breadth and height (data fetched from VEKP) table, in one of the programs, the calculated value appears correctly while in the other it is not.
    The Issue:
    While calculating volume in one of the programs the system does not recognize the decimal point and considers it as a thousand separator and hence it arrives at wrong calculated value. Whilst in the other program it is working fine. This appears weird to me since it is the same system, the data being the same, the variable declarations also being the same.
    Please let me know if there is some thing I need to do to make sure I get the correct calculated value.
    You suggestions will be appreciated. Thanks.
    - Niranchan.

    Hi,
    There is no code required for this,
    Volume = Length * Width * Height.
    This data comes from VEKP table from the corresponding fields.
    Thank you.

  • Width/height/x/y value mismatch with the reality and what is coded

    hello there everyone,
    hope i got the title right..,
    so here goes the problem i need your opinion and help to solve:
    application definition:
    i have this desktop flash application that will go fullscreen what this application do is loading external asset (mostlySWF) and play it inside this application. Each external asset will be place inside a container/holder (empty movie clip created by code), each of this container have it's own dimension ( width, height, x, y).my code all working without any warning nor error.oh and i also have an image.jpg/png as it's background and place at the bottom of display list (depth = 0), the image is customly made with using photoshop and each container location and dimension also measured there so it just needed to be writen down is the XML file..,
    the problem:
    the bug is when i loaded some image of those background image each container width,height,x,y  will mismatch with what i have in the XML file.
    the funny thing is when i trace the value of each container width,height,x,y it value is the same with what the XML has yet by seeing with eye you know that is wrong..,
    here's the code i used:
    var myXML:XML; //to hold the loaded xml file
    var SWFList:XMLList; //used to hold a list of all external swf source,atribute and etc
    var xmlLoader:URLLoader = new URLLoader(); //intance of URLloader class used to XML file
    var totalSWF:int; //hold the total number of external swf there is to be loaded
    var mainContainer:MovieClip =new MovieClip();//act as the main container
    var SWFContainer:MovieClip; //hold the loaded SWF as it's child
    var swfLoader:Loader; //instance of loader class used to load the external swf
    var myCounter:int = 0; //used to track how many external swf has been loaded and added to stage
    var bgImageURL:String;//hold the url of the background image
    var imageLoader:Loader;//intance of loader class used to load background image
    // Stage Setting
    //========================================================================================
    this.stage.align = StageAlign.TOP_LEFT;
    this.stage.scaleMode = StageScaleMode.NO_SCALE ;
    this.stage.displayState = StageDisplayState.FULL_SCREEN;
    //load the xml file
    //======================================================================================== ==
    xmlLoader.load(new URLRequest("FlashBlock[s].xml"));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , processXML);
        myXML = new XML(e.target.data);
        bgImageURL = myXML.Background.text();
        SWFList = myXML.BLOCK;
        totalSWF = myXML.BLOCK.length();   
        doSizeUpMainContainer();
        loadBackgroundImage();
    function doSizeUpMainContainer():void
        //resizing the mainContainer dimension
        //in this case i just make the size the same as the screen dimension
        addChild(mainContainer);
        mainContainer.graphics.beginFill(0xFD562D, 0);
        mainContainer.graphics.drawRect(0,0, stage.stageWidth, stage.stageHeight);
        mainContainer.graphics.endFill();
    function loadBackgroundImage():void
        //load the background image
        imageLoader = new Loader();
        imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onBgImageLoadComplete);
        imageLoader.load(new URLRequest(bgImageURL));
    function onBgImageLoadComplete(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, onBgImageLoadComplete);
        mainContainer.addChild(imageLoader.content);
        imageLoader.x = (stage.stageWidth - imageLoader.content.width)/2;
        imageLoader.y = (stage.stageHeight - imageLoader.content.height)/2;
        loadSWF();
    function loadSWF():void
        swfLoader = new Loader();
        swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE , swfSetting);
        swfLoader.load(new URLRequest(SWFList[myCounter].@source));
    function swfSetting(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , swfSetting);
       SWFContainer = new MovieClip();
        mainContainer.addChild(SWFContainer);
        // i did this so i can resize the movieclip size to what i need..,
        SWFContainer.graphics.beginFill(0xff6633, 0);
        SWFContainer.graphics.drawRect(0,0, Number(SWFList[myCounter].@width), Number(SWFList[myCounter].@height));
        SWFContainer.graphics.endFill();
        SWFContainer.x = SWFList[myCounter].@left;
        SWFContainer.y = SWFList[myCounter].@top;
        SWFContainer.addChild(e.target.content);
        //load and add another SWFContainer untill all swf listed in the swf added
        if(myCounter < (totalSWF-1))
            myCounter++;
            swfLoader = null;
            loadSWF();
    i really do not have any idea why this could happen and how to solve it..,
    any help would be greatly apprecited cause i'm literally meeting a dead end with this bug..,

    hello there kglad,
    thanks for responding in this thread..,
    i did what you told me :
    i did check all of my loader instance till myLoader.parent.parent.parent and it return 1 for every single one of them
    but by removiing the "this.stage.displayState = StageDisplayState.FULL_SCREEN;"
    i do get new error which is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at slideshow_fla::MainTimeline/doAspectRatio()
    well from what it tokd me it came from my slideshow swf..,(this swf also fully code and has nothing placed on stage by manually)
    the thing is in my mine swf code i never refer to what external asset property, i just told to load it and when the load is complete i put it in the display list..,
    from googling i suspect that it played to early beacause i put the script in the first frame of the timeline of slideshow.swf
    and for the moment i'm trying to find what error do cause it..,
    (but why this didn't happen all the time??)
    here is the slideshow code:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    import flash.display.*
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    //list of global variables
    var mySlideSpeed:Number; //determine how long each image displayed
    var myTransitionName:String; //the name of the transition to be used
    var myxmlList : XMLList;//reference to the list of the image
    var myTotal:int;     //total of image to be displayed
    var myImage:Loader;//load the image into the container
    var tempWidth:int;
    var tempHeight:int;
    var myTraansitionInDuration:int = 2;//the duration of transition in effect
    var myTraansitionOutDuration:int = 2;//the duration of transition out effect
    var myThumbHolderArray : Array = [];//to hold each thumbimage of the image
    var Counter : Number = 0; //to count how many image has been successfully loaded
    var myMC : MovieClip = new MovieClip(); //as the container of the picture so that it can be manipulated with transition manager
    var container: MovieClip = new MovieClip();//hold the image after transition
    var myImageTracker :Number = 0; //to know which image is in the stage
    var myTimer :Timer; //the timer
    var myTM:TransitionManager = new TransitionManager(myMC);//instance of transitionmanager class;used to give transition effect the image
    //creating the loader instance n loading the file
        var myXML:XML;
        var XMLLoader :URLLoader = new URLLoader();
        XMLLoader.addEventListener(Event.COMPLETE, processXML);
        var base:String = this.root.loaderInfo.url;
        base = base.substr(0, base.lastIndexOf("/") + 1);
        XMLLoader.load(new URLRequest(base + "slideshow.xml"));
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, processXML);
        XML.ignoreWhitespace = true;
        myXML =new XML(e.target.data) ;
        mySlideSpeed = Number(myXML.transition.@slidespeed) + myTraansitionInDuration + myTraansitionOutDuration ;
        myTimer = new Timer (mySlideSpeed*1000);
        myTimer.addEventListener(TimerEvent.TIMER, imageRemover);
        myTransitionName = myXML.transition.@name;
        myxmlList = myXML.IMAGE;
        myTotal = myXML.IMAGE.length();
        imageLoader();
    function imageLoader():void
        for (var i:Number = 0; i < myTotal; i++)
            var imageURL:String = base + myxmlList[i];
            var myLoader:Loader = new Loader();
            myLoader.load(new URLRequest(imageURL));
            myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete)
            //transfering each thumb image loaded to a variable to be able to be refered back when the show is running
            myThumbHolderArray.push(myLoader);
    function onComplete(e:Event):void
        Counter ++;
        if(Counter == myTotal)
            e.target.removeEventListener(Event.COMPLETE, onComplete);
            showStarter();
    function showStarter():void
            addChild(container);
            addChild(myMC);
    //        myMC.x = container.x = myMC.y = container.x = 0;
            doAspectRatio();
            imageSlider();
    function doAspectRatio():void
        for (var i:Number = 0; i < myTotal; i++)
            myImage = Loader (myThumbHolderArray[i]);
            if (myImage.width > myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                //supposedly to access the container dimension holding this swf as it's child
                myImage.width = this.parent.width;
                myImage.height = (tempHeight * this.parent.height)/tempWidth ;
            else if (myImage.width < myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                myImage.height = this.parent.height;
                myImage.width = (tempWidth * this.parent.width)/tempHeight ;
    function imageSlider():void
        if (getChildIndex(container)== 1)
            swapChildren(myMC, container);
        myImage = Loader (myThumbHolderArray[myImageTracker]);
        myMC.addChild(myImage);
        //center the image
        myImage.x = (this.parent.width - myImage.width)/2;
        myImage.y = (this.parent.height - myImage.height)/2;
        if (myTransitionName == 'Fly')
            myTM.startTransition({type:Fly, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn, startPoint:7});
        else
        if (myTransitionName == 'Zoom')
            myTM.startTransition({type:Zoom, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        else
        if (myTransitionName == 'Photo')
            myTM.startTransition({type:Photo, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn});
        else
        if (myTransitionName == 'Squeeze')
            myTM.startTransition({type:Squeeze, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn, dimension:0});
        else
            myTM.startTransition({type:Fade, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        myTM.addEventListener("allTransitionsInDone", holdDelay);
    function holdDelay(e:Event):void
        this.removeEventListener("allTransitionsInDone", holdDelay);
        myTimer.start();
        container.addChild(myImage);
        if (getChildIndex(myMC)== 1)
            swapChildren(container, myMC);
    function imageRemover(e:Event):void
        myImageTracker ++;
        if (myImageTracker == myTotal)
            myImageTracker =0;
        imageSlider();
    and by the way can you tell me the reason you told me to remove "this.stage.displayState = StageDisplayState.FULL_SCREEN;" line ??

  • [svn:osmf:] 15262: Updated unit test for MediaPlayers new default width/ height.

    Revision: 15262
    Revision: 15262
    Author:   [email protected]
    Date:     2010-04-07 13:54:32 -0700 (Wed, 07 Apr 2010)
    Log Message:
    Updated unit test for MediaPlayers new default width/height. FM-300.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-300
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayer.as

    To Neoreborn:
    If I understand right, Shale only provides some mock core JSF objects and extends JUnit so that you can do junit test to your java classes.
    What I concern is to test Pages(JSP) rather than java classes. I want to assert component attribute values within all lifecycle including rendered HTML script. Currently, there isn't any good tools to do this kind of JSP Unit test, am I right?

  • Why can't I import anything? "File video dimensions (width/height) too large"

    New to PP CS4 here (that will be obvious momentarily...).  I can't seem to import any footage into any project (well, at least none of the bits I've tried, and I don't think there's anything 'wrong' with them).  Every time I attempt to do so, I get the error:
    Dialog title: File Import Failure
    Error Message: File video dimensions (width/height) too large.
    This occurs with every files I've thrown at it - admittedly, they all have a lot in common, but they're not particularly exotic.
    The files are (mostly) AVI files (I know, I know...before I get jumped, I understand it's just a wrapper, etc.). The files come from two cameras:
    1. A Sony DCR-TRV20. Opening up the AVI in QuickTime Player, I see it's listed as "DV/DVCPRO - NTSC 640X480"
    2. Canon PowerShot A620. Opening up the AVI in QuickTime Player, I see it's listed as "MotionJPEG OpenDML 320x240"
    3. I somehow managed to get the AME to spit out a FLV file. That failed to import with the same error message, too.
    I tried running these files through AME, and got the same results (although never having used AME previously, I have a question on that, below).
    New project, settings are all (I think) the defaults: Preset DV-NTSC/Standard 32kHz
    New installation of PP CS4, with the 4.1 update, on a PC running Vista 32 with all the endless MS updates applied.
    Related question: I've skimmed other threads here, and noted the advice to "always convert any non-standard footage to DV-AVI Type II" before importing....however, I see no such option for that output format in AME....only generic things like "Microsoft AVI" and "Uncompressed Microsoft AVI".
    Codec issues?  I'm a little skeptical, since these AVI files play just fine in Windows if I double-click them. Does that not suggest that there's a codec there for them?  The files are from (what I believe to be) garden-variety consumer cameras (these devices are a bit old and certainly not high-end, but they're hardly exotic formats, I think). The files are small, short clips I'm attempting to use just to learn Premiere, but it gags on every one of them, every time.
    PP is so insistent that every file I throw at it has improper dimensions, but these files appear to be perfectly reasonably sized, and I assume it's operator error (I'm withholding judgement on the quality and accuracy of the error string it's presenting me).  But I'm not sure where to look for the right knob to twist.  Pretty frustrating to be stuck on Square 1 (actually, Square Zero).
    Can someone point me in the right direction?
    Please be gentle, it's my first time....

    Thanks, but....mmmm....maybe not.
    I've tried multiple settings for New Projects. Just created a new one using the preset for DV-NTSC/Widecsreen 48kHz (frame size 720 x 480, 48 kHz audio).  Exactly the same results.
    You say "To point you in a certain direction, DV from a TRV is 720x480, not 640x480."  However, according to QuickTime's Movie Inspector panel, the file is 640x480.  This clip was captured through Premiere - that wouldn't change its aspect ratio, would it?
    The files from the Canon still camera are AVI files, not still images (so I don't see how the reference to Photoshop applies, or perhaps I misunderstood your point). They are 320x240, according to QuickTime's Movie Inspector panel. If they're 320x240, wouldn't that be the same aspect ratio as 640x480?  Attempting to import them, I get the same error....
    While not exactly Hollywood quality, I just need files to play with as I attempt to learn the program, and it's not clear to me why these files should not work - other than the fact that NO files seem to work. Also, I'm not sure what your reference to "exporting" pertains to - I can't get anything imported, I'm not trying to export anything that (I'm aware of) - I'll worry about exporting once I've managed to get something, ANYTHING to import.
    I've got some PP training videos (from "you-probably-know-who.com"). Following along using their project files and their video assets (MOV files in this case), I still get the exact same error.
    So to summarize, so far, I've seen no evidence that this copy of PP can import ANY video file.
    While I'm sure I would benefit from spending more time with the fine manual, I think there's something wrong here that's not going to be addressed in the introductory documentation.  If I can't import any footage into any project, progress is going to be slow.
    How about this: is there some known-to-be-good test file I can grab and try importing that?  I've got very strong suspicions that I'll get the same error message.
    Thanks again.

  • APIs for Adobe Reader to get the x, y co-ords,width,height of all elements (text/image) in a PDF doc

    Hi all,
    I have written a Acrobat plugin using  PDFEdit APIs to extract x, y co-ordinates, width and height of all  elements(objects) in a PDF document.
    Now, I wanted to make the same working on Adobe Reader.I have added the READER_PLUGIN macro enabled in Project settings.
    When I re-compiled the code, I got a bunch of errors saying all PDFEdit APIs are not available under Adobe Reader.
    My  objective is to parse through the entire PDF document and get x, y  co-ordinates, width, height of all PDF objects (especially Image and  Text objects).
    Can anybody help me how to achieve this ?
    Thanks
    Prasanth

    I know that we cannot obtain the PDEContent of a PDF page from Adobe Reader, as PDEContent is modifiable content and as such it cannot be accessible from Adobe Reader.
    Also, as PDFEdit API's does not work for Adobe Reader, we are trying to figure out a way to achieve this for Adobe reader.
    I am curious to know if the COS APIs can help us in this task.
    I tried to read the stream content using PDPageStmGetToken API. I get the data of this format:
    344.88 0 0 91.44 71.882 41.92cm
    Here, as per PDF reference, I am getting only distance from X Axis and distance from Y Axis. But not width and height.
    Can you knidly let us how to get the image attributes (primarly read only attributes like x and y co-ordinates, width and heoght) with Cos APIs.
    Thanks
    Prasanth

  • How to set width/height of iPad app in ipa file

    Hello,
    I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
    I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
    Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
    Any help?
    Tanu

    hi,
    How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
        <id>IPadApp</id>
        <filename>IPadApp</filename>
        <name>IPadApp</name>
        <version>v1</version>
         <initialWindow>
            <content>IPadApp.swf</content>
            <fullScreen>true</fullScreen>
            <autoOrients>true</autoOrients>
            <title>IPadApp</title>
            <aspectRatio>portrait</aspectRatio>
            <systemChrome>none</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <!-- Portrait -->       
            <width>768</width>
            <height>1024</height>       
            <!-- Landscape -->
            <!--
            <width>1024</width>
            <height>768</height>
            -->
            <!--<x>100</x>
            <y>100</y>-->
            </initialWindow>
        <supportedProfiles>desktop mobileDevice</supportedProfiles>
    <iPhone>
      <InfoAdditions>
      <![CDATA[
        <key>UIDeviceFamily</key>
        <array>
        <string>2</string>
        </array>
      ]]>
      </InfoAdditions>
      </iPhone>
    </application>
    Check your desc. file.
    -Vrushali

  • BUG or Feature?   Width & Height in Top Bar only in %, not in Pixel no Chance to change this

    Hello
    --- First: Please, im very sorry for my bad spelling - english is not my native language! Hope u can understand, what i mean. If it sounds bad or yelling someone - its not my intention! ---
    My Question:
    If i do Strg+T with a layer (ie. image or shape) in previous version you have the width & height in top bar and can easily read it or change when typing a new value in. With right mouse (Win) you can change % in px or em etc.
    In my Photoshop CC 14.2 i have only % and cant change this.
    If i try to read the dimension i can only see it on the info-panel.
    Its confusing. Is it a Bug or Feature?
    MJ

    anyone?
    .... alone ....

  • Crop Aspect Ratio, width, height, resolution locks up

    I am running PSE6 on an XP PC platform.
    This anomaly happens about 75% of the time.
    After processing a batch of raw images in Camera Raw, highlighting them and clicking on Open Image to open the converted images in PSE, I sometimes find I cannot open the Crop Aspect Ratio selection drop-down box.  Nor can I type in changes to Width, Height, and Resolution fields--I can, however change the values by using the sliders that appear when I mouseover the Width, Height or Resolution titles, but even that's limited--whatever is to the right of the decimal point remains unchanged.
    I've also experienced this Crop "lock-out" when just opening JPEG/TIFF/PSD images directly from the image file folder.
    The only way I have found to clear this anomaly has been to close and reopen PSE.  Today, for the first time, that didn't fix the problem.  It came up with Crop locked up.
    Has anyone else run into this?  If so, what, if any, solution is there?
    Thanks,
    dale

    First try clicking the little arrow at the far left of the options bar and choosing reset tool. If that doesn't do it, quit the editor, then restart it while holding down ctrl+alt+shift. Keep holding the keys till you see a window asking if you want to delete the settings file. You do.

  • How to export layer width, height, and position to a text document?

    I am working on an automated workflow for which I need to know the exact width, height, and position in pixels of certain layers in a PSD.
    I am pretty sure this is possible with applescript but does anyone know of a way to have this info included automatically in the documents metadata?
    thanks,
    ryan

    Hi Gabriele - how did you add the subs to FCP? if you added them using the text tools built in then you need to try to extract those first. Neither FCP or DVDSP are good places to create subtitles, but apps like STL Edit and Belle Nuit are. These will both create subs that can be imported into DVDSP. You can also use a text file to import the subs as long as the text file is set up correctly. The precise format is listed in the manual for DVDSP and a tool like BBEdit is ideal if you want to do the subs this way. Some folk even use Excel to set up the timecodes, etc, but personally I find that too distracting, preferring to work with STL Edit when I need to add subs.
    One thing is almost universally agreed upon in here - create the subs outside of DVDSP and import them in, since if you need to move, alter or otherwise change them it is a lot easier from within a text file than from within DVDSP.

  • Setting width/height of a control with CSS

    Hi,
    I am styling a button a button in CSS and set a background-image for the button in my stylesheet.
    The problem is, that the button should scale to the width/height of the image.
    I added:
    -fx-width: 32px;
    -fx-height: 32px;
    but it has no effect.
    I also tried it with
    -fx-min-width: 32px;
    -fx-min-height: 32px;
    If I use setMinWidth(32); in Java, it works.
    But I rather want to set it in my stylesheets, because the image can change, if we use another skin.

    CSS documentation (http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html) states:
    "JavaFX CSS does not support CSS layout properties such as float, position, overflow, and width. However, the CSS padding and margins properties are supported on some JavaFX scene graph objects. All other aspects of layout are handled programmatically in JavaFX code."
    I thought you might be able to do something using the -fx-shape property, but the shape does not affect the size of the button - so that didn't work.
    I had more luck with the -fx-graphic property - you could try to enhance the stylesheet below to get what you want.
    .root   { -fx-background-color: azure; -fx-padding: 20; }
    #smurf-button { -fx-graphic: url("http://bluebuddies.com/smurf_fun/smurf_race/jpg/Smurf_Race_100x100.jpg"); -fx-background-color: transparent; }
    #smurf-button:hover { -fx-effect: dropshadow( three-pass-box , rgba(184,134,11,0.6) , 20, 0.0 , 0 , 0 ); }
    #smurf-button:armed { -fx-effect: innershadow( three-pass-box , rgba(0,200,0,0.6) , 30, 0.0 , 0 , 0 ); }
    public class ButtonStyle extends Application {
      public static void main(String[] args) throws Exception { launch(args); }
      public void start(final Stage stage) throws Exception {
        final Button button = new Button();
        button.setId("smurf-button");
        final Scene scene = new Scene(StackPaneBuilder.create().children(button).build());
        scene.getStylesheets().add(this.getClass().getResource("style.css").toExternalForm());
        stage.setScene(scene);
        stage.show();
    }

  • No width/height set for items.This will cause an infinite loop. Aborting....... How do I get out of this?

    How do I get out of this?

    What are you talking about? The width/height of what? Is this some sort of error message? If so from what?

Maybe you are looking for

  • New Features/Ideas for FLASH related work?

    Let's see....I know there are always new cool and money making features and ideas floating in our industry. I am looking for this kind of ideas. The goal for me is to maximize utilization of Interactive team and bring more revenue. No different from

  • Improper cuts appearing in my final output with Quicktime

    Hi everyone. I've been struggling to output what, in my opinion, is a fairly simple project I've edited from an old home video (originally shot on miniDV). It's mostly just cuts and some simple text titles. Forgive me for some ignorance regarding Fin

  • Lightroom 4 - Catalog problem?

    I recently installed Lightroom 4.0 on my new Windows 7 Home Premiun SP1 (64 bit) computer and imported my Lightroom 3.6 catalog into a Lightroom 4 catalog. I have two problems which may or may not be related. First: While working in the Library, addi

  • Very Poor Image Quality In Viewer, JPEG Artifacts

    I upgraded to Aperture 3 some time ago, and purchased a new Mac Pro specifically for this application.  I am an amature/ sometime professional photographer and I have been using Aperture since Version 1.  This weekend I finally had some time to sit d

  • Sales Order and WBS

    Dear Experts, Any way to validate the WBS element at Account Assignment( profit Segment) for each line item in an SO? Please comment on the above question. Please tell if it is programatically or functionally possible to solve the above problem. I wa