Two questions about the PSD file format specicaition

I'm a programmer dealing with a project to parse PSD files. When reading the official file format specification, I found that some fields of the file are not clarified:
1. There is a rectangle structure containing 4 fields: top, left, buttom, right. I wanna know whether these 4 fields can be negative values and is there a rule that the buttom shoud be larger than the top and the right shoud be larger than the left
2. The PSD file contains a color mode section. But if the color mode is RGB, the color mode section contians no data but a 4-byte length field whose value is set to 0. This is true for files in RGB mode 8-bit channel. But after convert the files to RGB mode 32-bit channel using photoshop, the whole color mode section is no long exist.
These two questions may be somehow technical, I would be thankful if someone can give me a hand.

1) was covered in the documentation at one time.  Yes, many of them can be negative, that's why they're signed values.  Valid rectangles will have the bottom greater than the top, and the right greater than the left. But you can also have empty rectangles, and sometimes invalid rectangles (because the values don't matter).
2) Not sure what you're asking...  color mode is just a single enumeration for RGB, CMYK, etc.

Similar Messages

  • Two questions about the new iWeb

    Hi
    I've got two questions about the new iWeb.
    1. Is it possible to blog online now? Meaning adding a new blog entry without having to be on your own Mac? This is a feature I've been waiting for since iWeb first was released.
    2. Is it possible to choose the format of images? Earlier editions had the option to "optimize" images but that meant it changed it into .png meaning the site got a lot heavier than if .jpg was used. And since I have relatives who still only have an isdn connection I need to be able to have the website as light as possible.
    thanks

    Ah well... thanks for the quick answer
    Message was edited by: Guðlogi

  • Details about the PSD file of a mobile application

    I have some questions or blurry ideas about the use of photoshop to design mobile applications, in fact I have a problem to choose the resolution for the new file is what I take 72px / inch oubien 160px / inch or 240px / inch?
    the size of the screen of my working interface:
    Do I selected a standard size of the mobile 800 / 480px or I done the artwork for each mobile screen? also same question for tablets?
    I want to know all about mobile apps design

    please, is there anyone to guide me

  • Two questions about the Nokia 920 to Nokia experts...

    Hi,
    I am considering the Nokia 920 for replacing my Apple 4. However I have two questions that nobody in a phoneshop can answer. Furthermore I can test it myself as about all Nokia 920 in shops seems to be a dummy for showroom purposes.
    Therefore I would appreciate it if somebody can answer these two questions:
    1. Which versions of MS-Office can be read on the Nokia 920? 
    2. I have heard there are some difficulties with the Nokia 920 to watch Youtube movies. Is this true? If so, what is  the solution of Nokia. If have heard to load a Metro app that solves these Youtube problems.
    I have seen many videos by now about the Nokia 920 but none does cover really these questions. Thanks for taking the time to write me an answer.
    Regards,
    Jan
    Solved!
    Go to Solution.

    Works with Office 2010 at least.
    There is at least the latest MS Youtube app to stream video without problems.

  • Question about the java files which created by Web Dynpro

    After I create a new project under Web Dynpro, there is no any java file is generated.
    Now I create a new application in the project with the following names:
    application name: QuizApp
    package name: com.sap.tc.webdynpro.tutorials.quiz
    component name: QuizComp
    window name: Quiz
    view name: WelcomeView.
    Now, 5 java files are generated under the package:
    QuizComp.java,
    WelcomeView.java,
    QuizCompInterface.java,
    QuizInterfaceView.java
    QuizCompInterfaceCfg.java
    Can someone tell me what do these file mean? For what purpose?

    1)QuizComp.java -
      this is the source file for whatever you code inside the Component Controller ,
    2)WelcomeView.java -
    you get one java file for each view you create,
    3)QuizCompInterface.java -
    represents the public "face" of your component. If this webdynpro DC is used by another DC, the other DC can only "see" the methods present in this java class
    4)QuizInterfaceView.java    -
    this is to represent your view assembly (window and any views as part of it) when you want to embed UI of this DC in another DC
    5)QuizCompInterfaceCfg.java -
    (advanced concept)
    P.S: A java file is created for each Custom controller you create also. And many other classes get created too (which probably you dont need to bother about) but they require for WebDynpro concept to function properly i.e a framework
    Hope that clears things.
    Regards,
    Rajit

  • No visible cursor, and question about the help-file

    Right now I am using a temporary computer, as mine is being re-formated.
    When I opened Illustrator to change a text-line in a picture, there was no cursor when I clicked on a word. I could still make my change, but no blinking cursor to tell me where I was. Can somebody please tell me where that setting is? It feels like I am working blind...
    I looked for this in the help-file, and while doing that (and not finding the answer), I wondered, as so many times before, how they thought at Adobe when they constructed the help-file as it is now... If I open the help-file in Illustrator, select that I want an answer for Illustrator (the icon to the right of the search-box) WHY do I get answers for InDesign, Bridge and other programs???? WHY not just for Illustrator? I am NOT interested in those programs right now, I want an answer for Illustrator. Please tell me there's a setting or something to fix this, because this drives me crazy each time I want help with something.
    Lena
    Sweden

    Thanks for your answer. For some strange reason the problem is now fixed... I checked the second box in Settings/General that says something like "use exact cursors", restarted the program and no change. Then I went for a coffee break and now it works
    So how do I download the pdf help-file?
    Lena

  • Two questions about the events feature

    Sometimes I think it is OK to use different rolls for the same happening, e.g. when I have received photos from my wedding from a lot of people that did not syncronise their cameras to the second...
    If I have understood correctly, my present rolls (iPhoto '06) will all be rearranged and called "events" when I install iPhoto '08. So then I'll have to sort all those photos from my wedding manually. Is this right?
    Second question: I already have an "event" with my own photos from my brother's wedding. If another guest at the wedding sends me his photos and I import them into iPhoto, what will happen? Will those newly imported photos be automatically placed inside the already existing event, so that I will need to use an hour to find those new photos one by one if I want to place them in another event, or if I want to adjust them etc?

    Jadar:
    It depends on how you have your Events preferences setup.
    If you leave the checkbox unchecked then the import will go into a single Event. Then you can drag that event into the already created wedding event.
    If the checkbox is checked then the imorted photos will go into new events based on the date of the photo and the criteria setup for Events date. In either case you'll have to drag the new event(s) into the current wedding event.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Two Questions about the SRP527W

    Hello all,
    The SRP527 is working fine with VPN however I can't ping my local netwerk on the client side.
    The IP addres range is the same as from the remote side only start from 240.
    My internal IP addresses are:
    On the side where the router is:
    10.10.56.1 <> default gateway from the router
    10.10.56.3 <> a Server all the devices there are working and can map to local drives.
    Local:
    After connect the VPN I get IP address 10.10.56.240 who also become my default gateway.
    Ping to a local printer on 10.10.56.110 give a reply from 10.10.56.1 destination can't be reached
    In the client software I can mark Allow local LAN Network. It make no difference still not possible to ping local.
    Second question:
    Can I remote install the new firmware without getting problems with my VPN line? Can I still acces the router from remote even after update the firmware?
    Thanks for your time to  read this

    Hello Luis Arias,
    Thank you for giving me support on the issue.
    About the suggestion to change the subnet mask on one side, which I did:
    In the router a start address 10.10.56.240 is set with a subnet mask 255.255.0.0 when try to change that subnet mask to 255.255.255.0 the network address is already existent.
    Playing with the IP number does not give met the final result 10.10.56.240 with subnet 255.255.255.0 so I needed to leave it with the subnet mask 255.255.0.0
    I changed the client side to 10.10.56.20 with subnet 255.255.255.0 and marked the selection allow local LAN.
    After make the connection with the VPN I get 10.10.56.240 as local address which also becomes my default gateway.
    Still not possible to ping the local printer 10.10.56.110 and get from 10.10.56.1 destination can't be reached
    The 10.10.56.1 is the VPN router default gateway address.
    Hope it give you enough information to help to solve my problem,
    Greetings,
    Ronald

  • Two questions about the HP Envy 700-230ea before I buy

    I'm looking at buying an HP Envy 700-230ea from PC World.  The specs I've seen don't quite answer two questions I need to resolve before committing myself.
    1.  Is the Windows 8.1 OS installed the 64 bit version (I need it to be)
    2.  The machine comes with a 2TB HDD.  But I need to add in a second 2TB HDD.  Is there scope to do this within the machine?
    This question was solved.
    View Solution.

    From your UK HP Site  I'd say it comes with 8.1/ 64bit and it has 3 internal hard disk drive bays; 2 external optical drive bays.
    Link  http://www8.hp.com/uk/en/products/desktops/product-detail.html?oid=6753464#!tab%3Dspecs
    Be forewarned HP ENVY desktops do not come with a owners manual, just quick pictorial international set up guides and there is no owner manuals available. The Windows 8.1 OS most can master, but for the computer itself no manual, it's like buying a brand new car trying to figure out all the switches, levers and indicator lamps. Most are easy to figure out but some are not   But I would contact PC World and make sure it has the 64 bit OS.
    Link  http://www8.hp.com/uk/en/products/desktops/product-detail.html?oid=6753464#!tab%3Dspecs

  • Two questions about the NavBar.

    Hi!
    Two questions please:
    1.
    I'm binding my NavBar control to a simple Array() declared at my class.
    When my class gets the event "applicationComplete" it calls a function which adds a few items to that array.
    The NavBar updates correctly.
    After a while I add more items to that array, but the NavBar doesn't update (no buttons added).
    Should I call any function to make it update and add buttons?
    2.
    I did a test: By looping, I've created 20 items in an array which is bound to the NavBar and it seems like the NavBar adds these 20 items in a row without checking if it's becoming wider than the stage.
    Is there any way to tell it "max items to display", and make it have some sort of "right/left" buttons? Let's say like IE or Firefox 's tabbing system.
    See, my app is a bit complex and I can't just put static buttons up.
    Thank you all!

    Thanks Michael,
    Look, I'm trying to use the NavBar for an application and the NavBar will be used to navigate through windows.
    Simply as that (:
    Now, you do know the Firefox or Internet Explorer browsers, right?
    When you open 20 browsing windows on them, the tab bar (they call it the "tab bar") is filled with buttons but shows only few of them, not all of them because there's no space on the screen.
    Yet, this tab bar puts two buttons from the left and the right, so the user can navigate in the tab bar to choose the current window.
    How do I do that?

  • Two questions about the Lenovo T61

    Does it have that flashlight thing on top, so in the dark you can turn it on and see your keyboard. Also does it have a built in mic.
    Solved!
    Go to Solution.

    Yes, it has a ThinkLight.
    Yes, it has a micro.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Two questions about the new Apple TVs optical output

    Question #1: Does the new Apple TV output audio out of BOTH the HDMI and optical outputs at the same time? I have my Apple TV connected to my TV by HDMI, but I'd also like to connect it to my stereo separately for times when I only want to use Apple TV as airplay speakers.
    Question #2: Is this the best option for converting Apple TV's optical output to a stereo that lacks an optical input? All I want is a stereo signal.
    http://www.monoprice.com/products/product.asp?cid=104&cp_id=10423&cs_id=1042302&pid=6884&seq=1&format=2

    I'm posting a follow-up here, in case anyone else is considering this optical to analog converter. I bought the one from monoprice I linked to above. I've only had it for a day, but it's exactly what I was looking for.
    I've now got two simultaneous outputs from my Apple TV:
    - HDMI audio/video connected to my TV, which feeds one input in my stereo.
    - Optical audio output connected to the monoprice converter, which feeds another input in my stereo.
    This makes for a great setup, giving me the ability to listen to streaming audio without using my TV.
    So... to answer my own questions:
    #1 - yes, Apple TV feeds both outputs at the same time (HDMI audio/video and optical audio). There is nothing to 'switch' or set up.
    #2 - yes, that monoprice converter is probably the best option for converting optical to analog. It's relatively cheap (under $30). It's very small. And it works perfectly.

  • Two questions about the E1000 and Xbox 360

    Okay this is going to be a two part questions. ( both my friend and I have the E1000 )
    1st
    My friend and his brother are having issues with their Xbox 360's. My friend has his xbox set to dmz mode and his brother is just using I guess we'll say the default way. And when my friend is playing any game his brother tries to play call of duty black ops and the nat says strict or moderate. Now I was reading about port range triggering and how to set it up but there are different ways some people are doing it. I've seen a few videos that the people had different settings. Whats the correct way that my friend and his brother can both play xbox 360 and not have any nat issues?
    ( BTW their both hook-up wired )
    2nd
    I'm currently using dmz settings as-well ( wireless ) My home users only uses a few devices like laptops, ipods, kindle, and just one Xbox. Now I want the optimal performance I can get. I'm currently downloading mass effect ( games on demand xbox 360 ) The game size is 6.83gb and taking awhile to download. I say I've been downloading it for over 40 minutes and I'm currently at 77%, is this normal speed? Or can I boost my speed a bit? My Internet Provider is Cablevision in NJ "Optimum Online" download is 15mbps download is 5mbps.

    Xbox live will only let you connect 1 xbox for every WAN IP address. Your ISP gives you only 1 dynamic public IP which will be pass down from the modem to the router. The router gives your other devices private ip addresses.
    Strictly speaking, only 1 xbox will be allowed by xbox live to connect because of the reason you only have 1 public ip. You will be lucky if you can connect two.
    Anyway, you can try the steps below:
    Access the page of your router
    Click Admin Tab, disable UpNP.
    Then trigger ports: 3074/53/88/22728/33233
    2869/10280-10284/1900/1024
    Click Applications and Gaming Center Tab
    Click Port Range Trigger
    Ex:
    Application name: xbox1, xbox2
    xbox1--enter port 3074 on all 4 boxes and click enable
    xbox2--enter 10280 on start box and 10284 on end box, same for the other 2 boxes and click enable.
    Enter all number and on the applications boxes and save

  • Two questions about exporting to epub format...

    I have a document that I want to set up as an epub.  It is a childrens book, so I need it to do two things that it is currently not doing when I export it.
    1.  I need the text to stay on the image that it is associated with.  Is there a way to anchor the text to an image so it never leaves that image, even when the text is resizing?
    2.  There are some sound and animations that are currently available on each page.  Can those be used in epub format, because, so far, they just disappear when I export to that format?
    Thanks for your help.
    Kevin

    1. Group the text and the image and then make it an anchored object.
    2. Not sure what to do with that with CS5 but you should be aware that the use of audio and video in epub is very limited at the current time.
    For Epub work you're far better off upgrading to CS5.5. In the mean time I suggest buying a copy of Liz Castro's excellent Epub Straight to the Point: http://amzn.to/rqNwkp
    and checking out Anne-Marie Concepcion's videos on Lynda.com. You can get a one week free trial using this link: http://bit.ly/fcGpiI
    Bob

  • Two questions about the query and lsmw .

    Hi Experts ,
    Could you tell me how to download the query to local driver ? is it possible to do that ?
    I hear somebody introduce lsmw this t-code . it can transfer the data from non-sap/r3 system ? has somebody can fully expain this t-code ?
    Many thanks !!!
    Best Regards,
    Carlos Z

    Hi,
          LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
        • Most of the functions are within R/3, hence platform independence.
       • Quality and data consistency due to standard import techniques.
       • Data mapping and conversion rules are reusable across projects.
       • A variety of technical possibilities of data conversion.
       • Generation of the conversion program on the basis of defined rules
       • Interface for data in spreadsheet format.
       • Creation of data migration objects on the basis of recorded transactions.
       • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
      •Project   – ID with max of 10 char to Name the data transfer project.
      • Subproject   – Used as further structuring attribute.
      • Object   – ID with max of 10 Characters, to name the Business object .
      • Project can have multiple sub projects and subprojects can have multiple objects.
      • Project documentation displays any documentation maintained for individual pop ups and processing steps
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
      • Standard Batch / Direct input.
      • Batch Input Recording
          o If no standard programs available
          o To reduce number of target fields.
          o Only for fixed screen sequence.
        • BAPI
        • IDOC
          o Settings and preparations needed for each project
    Preparations for IDOC inbound processing:
        • Choose settings -> IDOC inbound processing in LSMW
        • Set up File port for file transfer, create port using WE21.
        • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
        • Setup partner type (SAP recommended ‘US’) using WE44.
        • Maintain partner number using WE20.
        • Activate IDOC inbound processing.
        • Verify workflow customizing.
    Steps in creating LSMW Project:
        • Maintain attributes – choose the import method.
        • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
        • Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
        • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
        • Maintain relationship between source and target structures.
        • Maintain Field mapping and conversion rules
        • For each Target field the following information is displayed:
          o Field description
          o Assigned source fields (if any)
          o Rule type (fixed value, translation etc.)
          o Coding.
          o Some fields are preset by the system & are marked with Default setting.
        • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
        • Specify Files
          o Legacy data location on PC / application server
          o File for read data ( extension .lsm.read)
          o File for converted data (extension .lsm.conv)
        • Assign Files – to defined source structures
        • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
        • Display read data – To verify the input data being read
        • Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
        • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
        • Standard Batch input or Recording
          o Generate Batch input session
          o Run Batch input session
        • Standard Direct input session
          o Direct input program or direct input transaction is called
    BAPI / IDOC Technique:
        • IDOC creation
          o Information packages from the converted data are stored on R/3 Database.
          o system assigns a number to every IDOC.
          o The file of converted data is deleted.
        • IDOC processing
          o IDOCS created are posted to the corresponding application program.
          o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
        • R/3 Transport system
          o Extras ->Create change request
          o Change request can be exported/imported using CTS
        • Export Project
          o Select / Deselect part / entire project & export to another R/3 system
        • Import Project
          o Exported mapping / rules can be imported through PC file
          o Existing Project data gets overwritten
          o Prevent overwriting by using
        ‘Import under different name
        • Presetting for Inbound IDOC processing not transportable.
    Regards

Maybe you are looking for