coordinates in pixels for the different size docs.

I am a colorsample of pixel on a particular point in a document. The problem is when the photo demesions change the point where I select changes. I was wondering if anyone has an idea to manage the different sizes. Thank you.

So I thought that my current measures percentage was and included in my calculations for my point. Thank you for your help.

That's what I used.

var w = app.activeDocument.width.as ('px');

var h = app.activeDocument.height.as ('px');

PW = w * 0,405;

pH = h * 0.48125;

Tags: Photoshop

Similar Questions

  • Change the image format for the canvas size

    Is it possible to lock the aspect ration when you change the size of the canvas to export as?  I used to use this Save permanently for the Web that I note is now labeled "Legacy".

    Hi Robert,.

    The number of pixels for the width or height should change when you change a to maintain proportions. Here is a video of what happens.

    https://www.dropbox.com/s/x125ei4k5m8o8we/quickWidthChange.mov?DL=0

    If you don't see this behavior, perhaps you run into a bug. If this is the case, please share your PSD (if possible) and let me know what you're trying to change the size.

  • The "64K limit for the total size of all the values in a registry key" rule - not more valid?

    http://support.Microsoft.com/kb/256986
    - more information -> Description of the register article, it is said:

    Note There is a 64K limit for the total size of all values of a key.

    I don't see that this rule can be valid any longer?

    In my Windows 7 SP1 x 64, I have at least 15 keys with values that add up to more than 65 535 bytes.
    In fact, I have more than 15 values (strings, binary and multiple channels) which, by themselves, have some sizes larger than 65 535 bytes.

    Here are a few examples.

    Native Instruments Kontakt 5 installation;
    [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\B354255567BB3E5479D39FE554E87D08\Features]
    -This key contains 91 string values, where 90 are under 250 bytes, but the last of them. "FE923650A" has a length of 67 401 bytes of data.

    Autodesk 3ds Max Design 2011 installation;
    [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\FFECC85A69B39040E99BEA59BF78957B\Features]
    -This key contains 14 values of string, ranging from 1 (the 'P' value) byte to 75 426 bytes (value "max7"), bringing the total size of 116 944 bytes.

    Installation of Windows 7 by default.
    [HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache]
    -This key contains a binary value of monkey 'AppCompatCache' that has a length of 259 768 bytes of data.

    Another installation of Windows 7 by default;
    [HKLM NT\CurrentVersion\Perflib\CurrentLanguage]
    -This key contains 2 channels multiple values: 'Meter' (87 950 bytes) and 'Help' (418 345 bytes), a total of 506 295 bytes for this key.

    Finally, once again Windows 7 installation by default.
    [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage2]
    -This key contains 3 DWORD and 5 binary values with the value "ProgramsCache" being the most important of all with its 795 404 bytes
    either a sum of 807 639 bytes for this key.

    Hello

    Check this box:

    http://social.msdn.Microsoft.com/forums/en-us/windowsgeneraldevelopmentissues/thread/84944bfe-4bf5-47cd-93ac-4d09076fcd40

    This problem can also be published on MSDN Forum.

  • Aftermath - change slides duration to account for the different lengths of video/image

    HI - as you can tell I'm pretty new to Ae - I use programs like hearing and first every day from work but I've never used after effects. Asked me to create a showreel by using After Effects. Like most "newbies" I headed over to a stock site and downloaded the following model https://videohive.net/item/clean-media-slideshow/15003701

    It all seems simple drag and drop the media in each slide / edit text etc. BUT I noticed that /(comps?) slides appear to be of a fixed length - I was wondering if there is a way to change the "timing" of each of these slides to account for the different lengths of video/still (while keeping synchronized animations)? Any help would be much appreciated - here is a link to what I've done so far Craig Jackson - stuff more After Effects - put... | Facebook

    I know there are tutorials on here and on sites like Lynda - and I started to go through them - but any help would be amazing.

    Kind regards

    Craig.

    I see that it's much better now, thank you.

    Here's the problem with the models. To make them easy to customize, they are awful to customize. I know it's not supposed...

    They have complicated - sometimes more than necessary - which makes them easy to drop your own photos/videos. However, this means that if you REALLY want to change something, it's going to be quite complicated. I only buy templates if I want exactly what the model has. Otherwise, it's actually faster for me to build myself something. I have over a decade of experience with After Effects, so trust me on this, don't mess with the model. Without much more experience, he'll just be frustrating.

    What you can do, is switching to the video full screen. You need not stay in the template all the time. Put your video and images in the template, but there where you want it to be longer, put the beginning and ending in the model. Then, after you have made out of AE, go in first and just cut (or use a transition from light leak any) full screen video for executives, want to be longer. TADA!

  • Trade in the i Phone for a different size.

    I have an I Phone 6 s more, now realize the phone is too large.

    I had the phone for about 1 month.

    I would like to know if I could trade for a regular size I 6 s phone?

    How much does it cost?

    You are outside the return period. You must sell your current device and use the proceeds to buy another camera.

  • Analysis of a psd for the font size.

    I am currently scanning the PSD files. I use imagick for pixelated layers, but I need to get the font data for layers of fonts from imagick can do I need to do it myself. Right now I'm able to grab text, font family, font color, but not the size of the police.

    There are some ' / FontSize xx.xxx ' in the PSD but usually not of them are suitable:

    • In some PSD files all font sizes caught here are disabled by the same scale factor.
    • In some layers of different PSD files is distinguished by the same scale factor.
    • In some files PSD, all sizes are correct.

    Adobe provides specifications for the PSD file format, but these are outdated and incomplete, they don't even mention the size of the font.

    I tried to use a copy of the same file just change the font size, but does not.

    Is there someone who have already done this or ideas pointing me in the right direction?

    Check out the forum script Photoshop there was some discussion on the scripts of text layers.

    https://forums.Adobe.com/search.jspa?place=%2Fplaces%2F1383833&q=text+layer+content

    https://forums.Adobe.com/search.jspa?place=%2Fplaces%2F1383833&q=text+layer+font

    https://forums.Adobe.com/search.jspa?place=%2Fplaces%2F1383833&q=text%2Clayer%2Cattributes

  • Registration of diagrams for the different storage types

    Hello

    the problem here is this:

    -There are two schemas X and Y, which, for objective reasons, need to be registered for different storage types

    -schema refers internally to the schema X

    X is saved as binary storage successfully model

    There is saved as structured storage and here, the system complains with the message:

    Error starting line: 1 at the controls.

    BEGIN

    () DBMS_XMLSCHEMA.registerSchema

    SCHEMAURL = > SYS. URIFACTORY.getURI('/rdm/rdmElement2.xsd').getURL (),

    SCHEMADOC = > SYS. URIFACTORY.getURI('/public/tech/xsd/rdm/rdmElement.xsd').getXML (),

    GENTYPES = > TRUE,

    ENABLEHIERARCHY = > DBMS_XMLSCHEMA. ENABLE_HIERARCHY_CONTENTS

    );

    END;

    Error report-

    ORA-31091: empty string specified as the name of SQL

    ORA-06512: at "XDB". DBMS_XMLSCHEMA_INT', line 55

    ORA-06512: at "XDB". DBMS_XMLSCHEMA", line 159

    ORA-06512: at line 2

    1. 31091 00000 - "string specified as a SQL name empty.

    * Cause: The XML schema document contains a SQL null name. For

    for example, the SQLName, SQLType, defaultTable attribute values.

    * Action: Make sure all objects specified SQL schema names in the

    XML schema document are valid SQL names. Otherwise, delete

    These attributes of the schema and try again.

    Is it really true that the types of storage should not be mixed? According to the docs, it shouldn't be a problem.

    Everything is fine when the two schemas are registered as the same type of storage.

    Any suggestions that might cause the problem?

    Thank you very much in advance for your help.

    To explain with a simple example, why mixed storage may not work...

    When we record a relational storage schema object, Oracle creates backstage of a set of object types and SQL collection that map XML to SQL data model structure.

    If you understand that it is also easy to understand why your scenario is not supported.

    For example, let's say that this is "schema X":

    Start

    () dbms_xmlschema.registerSchema

    schemaURL-online 'schema - X.xsd'

    schemaDoc =>

    "'http://www.w3.org/2001/XMLSchema" >

    '

    local-online true

    genTypes-online true

    );

    end;

    /

    Without annotations of schema, Oracle will create an object SQL like this (generated by the system name) type:

    CREATE OR REPLACE TYPE "DEV". ("' CommonType5101_T" AS OBJECT)

    "SYS_XDBPD$" "XDB". "' XDB$ RAW_LIST_T."

    VARCHAR2 (4000 TANK) "item1",.

    'item2' VARCHAR2 (4000 TANK)

    )

    NO FINAL CANNOT BE INSTANTIATED

    /

    Now, let's say this scheme registers Y, which uses the schema X Atapez:

    Start

    () dbms_xmlschema.registerSchema

    schemaURL-online 'schema - Y.xsd'

    schemaDoc =>

    "'http://www.w3.org/2001/XMLSchema" >

    '

    local-online true

    genTypes-online true

    );

    end;

    /

    Similarly, Oracle will create another type of SQL object:

    CREATE OR REPLACE TYPE 'Root5106_T' AS OBJECT)

    "SYS_XDBPD$" "XDB". "' XDB$ RAW_LIST_T."

    'Content' 'CommonType5101_T '.

    )

    FINAL CANNOT BE INSTANTIATED

    /

    As you can see, the type of 'root' reference the previously created type 'CommonType5101_T' when registering the schema X.

    If the schema X is registered for binary XML, no extra SQL type is created.

    Therefore, when we try to save the scheme there for the object-relational storage, Oracle will try to retrieve the name of the type that 'Content' attribute of the root must be based on, but since this type does not exist, an error is raised.

  • Script in Photoshop Actions for the canvas size?

    I have a variety of sizes of illustrations I want to post on my site;  that would take much less time if I could add a white border in Photoshop Actions by increasing the size of the canvas by 1/4 inch.  Thanks for your suggestions, BAB.

    Save a step size of canvas.  Leave the anchor point at the Center. Check relative and the value of 1/2 inch in width and height.  Photoshop will calculate the number of pixels needs to add to increase the width and height 1/2 "and add 1/4-inch canvas on all sides.  If there is a background layer in Photoshop the extra pixels will be 100% opaque and the color can be set in the canvas size dialog box. Can be set to the color of the background sample.  If there is no background layer, the added canvas will be empty.

  • Distances of pixel in the different devices

    I understand how you can develop for the retina, and then on the older phones that graphics are scalled down to fit the screen 320 x 480 small, that I do not understand is how this applies to pixel distances. Let's say I want to move a sprite 60 pixels on the x-axis and I design my game for the retina, which does not mean that my sprite moves now double as it takes on older phones? so it means that I have to scale my pixel distance values as well? and therefore search for the smallest screen size so that I can know the scale of values?

    If do you things the way hard and open the way to no ladder, you need to do arithmetic yourself. If you leave the scaling value by default, Flash dimensionnera step for you, without affecting the pixel distances. For example, you might have a 960 x 640 Stadium, do all your calculations on this basis, and it works perfectly on a non-Retina display.

  • Help with the cluster in table for the cluster size difference, please!

    I will admit to still hurt with the berries of LabVIEW, and as usual, the behavior in the vi attached is meaningless to me!  The attached vi shows a cluster 6 element being converted into a table, then immediately to a cluster.  The reconstructed cluster has 9 elements, even if the table size indicator display properly 6.  How to maintain the initial cluster size when converting to and then since then, a table?

    The f

    Well, if you have worked with context-sensitive help running you would see:

    "With the right button of the function and select the Size of Cluster in the context menu to set the number of items in the cluster."

    The default is new. The maximum cluster size for this function is 256. »

    You must set the size. There is no way for the function to know how many elements in the table.

  • different icon for the different entry point

    Hi all

    In the taskbar, I want to show the different icon for application launched through different entry point.

    the instructions on this?

    Thank you

    Hello

    I found a solution to my problem.

    You can get application descriptor for the entry points added in the workspace, then using CodeModuleManager you can get the descriptors of application for the entry points for a given module.

    By analyzing this table of entry points for a module, you can find that you want to use and then use this index of entrypoint in homescrren.updateicon to change the icon.

    ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(CodeModuleManager.getModuleHandle("XXXXX"));
    
    //apDes[0] is the default entry point
    //apDes[1] is the first alternate entry point
    //apDes[2] is the second alternate entry point
    HomeScreen.updateIcon(icon, 1); // updateicon for first alternate entry point
    

    Thank you.

  • Landing page for the different language in LMS options

    I need to create a landing page with options for different language for the same course that can be loaded as a single LMS-ready package.

    My solution was to create the same in each language, export in the .exe and then create an exceptional Captivate file with links to each of the languages as 'open file/URL', but I've known errors trying to do.

    I saw a person offers to write an HTML index page which links to each. I like the idea of this, but I don't know how it worked in a LMS System.

    Another idea would be to create a single Captivate project as described here: Options multilingual in a single course with Adobe Captivate 5.5 "Rapid e-Learning | Adobe Captivate Blog - but the inability to locate the bar reading/table of contents in each language, I avoid it.

    What are my options here?

    The easiest way to do this is to create a main project folder and publish all your projects DSL SCORM in specific folders, do not publish for zip.

    You create an html page that has links to specific language folders or a non-SCORM project. We could call this menu.html.

    Now you need some SCORM files.

    You need an imsmanifest.xml file to create the LMS link to your menu.html and a metadata.xml with title and description.

    We actually already have structures with the manifest and SCORM files already set up to do this associate.

    The manifest looks like this:

    xmlns = "http://www.imsproject.org/xsd/imscp_rootv1p1p2."

    xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_rootv1p2".

    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".

    xsi: schemaLocation = "http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd".

    http://www.imsglobal.org/XSD/imsmd_rootv1p2p1 imsmd_rootv1p2p1.xsd

    http://www.adlnet.org/XSD/adlcp_rootv1p2 adlcp_rootv1p2.xsd ">

    ADL SCORM

    1.2

    Metadata.Xml

    ENTER THE TITLE OF YOUR COURSE

    ENTER THE TITLE OF THE LESSON HERE

    You can contact us if you need help to put it together.

  • Import management develop presets for the different catalogs

    When I opened the different catalogues, it seems that some import settings are specific to this catalogue and others are applicable on any catalogue. For example, the option copy or simply add an image is specific to the catalog, but preset to develop is always used for the last import, or none if it was the option chosen.

    Is it possible to specify a different import develop preset on a basis by catalog? Also, is it possible to specify one develop different pre-set camera model (or maybe the other image attribute) in a catalog?

    My current version is the last level of update CC.

    Thank you

    Mario

    Many parameters "last use" tend to be one-by-system, not one-by-catalog.

    While I use multiple catalogs, I never count on these parameters are correct. so I always check them on the assumption that they are bad for the current circumstance.

  • Different Menu buttons for the different media queries?

    Hi, I searched everywhere for more information on how to make the menu buttons different on the different media and have not found an answer. I thought that I should ask here to see if one of you maybe able to help me as I have been helped here last time.

    I'm working out of Dreamweaver 5.5, and I recently implemented three queries various media; Phone, Tablet and desktop. Everything was going smoothly until I reached the menu buttons, the current menu buttons on my site are not fit for the use of the phone and could make it very difficult to navigate mobile. I went ahead and opened photoshop and created the different design bigger and easier to use the buttons. Change the layout of each quiery using CSS is no problem, but I am unable to do it with the menu buttons because they are outside the codification of the source.

    Basically what I ask, is it possible to change the graphics on the request of phone without changing them on two other requests? Like last time, this site has not yet been published and is still under construction so I won't be able to show a big part of it. I hope that my problem can be solved with just a mere mention or a method on how to do this in general for all sites, but I would be very happy for any help.

    You can use css display: none; in the css to hide and show support queries html areas you don't want display in different devices:

    Thus, in the application of media css for the smartphone would mask you 'navDesktop' and 'navTablet ':

    #navDesktop, {#navTablet}

    display: none;

    }

    I don't know if it will work, I think on my feet. I see no reason why it will not take.

  • What PSBD different format for the different versions?

    Hi all
    We are working on upgrading from 8.4 to 9.0 financials. I just want to know
    If the format PSBD for EDI different checks for different versions
    OR
    does rely on the map in inbound for VCHRDEFN?

    Please clarify for me.

    Thank you.

    Yes.
    The mapping of VCHRDEFN was changed from 8.4 to 9.0.

    Kind regards
    Hanane

Maybe you are looking for