in

connecting users of the CorelDRAW family of products

Problem on how to export corel x4 files in to html

Last post 03-12-2008 7:13 by Alfred. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-10-2008 7:45

    Problem on how to export corel x4 files in to html

    Hi there i am new in corel, i have designed my header which i want to put into dreamweaver, but the problem is when i set the size in corel lets say 760pixels by 350pixels, when i export it to jpeg and then into dreamweaver the size would be different, so how can i set my header size in corel so that when i export it to dreamweaver the size will remain the same

    Filed under:
  • 03-10-2008 9:54 In reply to

    • Alfred
    • Top 25 Contributor
      Male
    • Joined on 05-15-2007
    • Maine USA

    Re: Problem on how to export corel x4 files in to html

    I suspect some procedural issue in sizing the header! If you indeed size the header to 760 x 350 pixels, that size will be the same in any program! Is your page set to work in pixels and is it indeed 760 x 350 pixels? How did you size your header?

    Alfred
  • 03-10-2008 16:32 In reply to

    • Ken
    • Top 50 Contributor
    • Joined on 09-10-2007

    Re: Problem on how to export corel x4 files in to html

    I am just now starting to read and study dreamweaver.  So I am by no means an expert on this, but I am going to take a stab at it.

    If you are inserting your header into the header Div tag, look and see if you have padding and spacing set to other than 0.

  • 03-10-2008 17:29 In reply to

    Re: Problem on how to export corel x4 files in to html

    It sounds to me like it may be a resolution setting that is set incorrectly, if you just change the page size in the property bar manually it won't export correctly because the default dpi setting is 300dpi.

    I'm not sure if your problem is simply that you're going to FILE > EXPORT (as jpeg) or if you're using FILE>EXPORT FOR WEB but you may want to try my example below to see what the working resolution of your document is and if its 300dpi to switch it to 96dpi (the maximum screen resolution displayed by monitors on windows machines is 96dpi) this should fix your problem if i understood it correctly.

     Once you've set the page size go to TOOLS > OPTIONS 

    You can set your dimensions in the property bar or in the below settings. Now when you go to export the file it will export it at the pixel dimension you've specified and at 96dpi.

    If this doesn't work maybe you can be a little more thorough explaining the problem so that you get better suggestions...Good Luck! 

     


  • 03-10-2008 19:59 In reply to

    • Alfred
    • Top 25 Contributor
      Male
    • Joined on 05-15-2007
    • Maine USA

    Re: Problem on how to export corel x4 files in to html

    dreamwizard:

    It sounds to me like it may be a resolution setting that is set incorrectly, if you just change the page size in the property bar manually it won't export correctly because the default dpi setting is 300dpi.

    If that is the case then we have a major bug in Draw which would be a disaster! Since pixels are just that, they are pixels and the are pixels at any resolution. A image of 100 x 100 pixels is 100 x 100 pixels at any resolution. The resolution is only used when you ad a linear dimension to the image, ie. PPI!  This is easy verifiable, make two images at 100 x 100 px at 300dpi and make one at 96 dpi, see what they look like in the browser, they will be the exact same size, I promise, unless we have a bug.
    Alfred
  • 03-11-2008 10:58 In reply to

    Re: Problem on how to export corel x4 files in to html

     Hey Alfred,

    I agree with you the it shouldn't have anything to do with dpi however it does, if you create a new file based on standard letter size 8.5"x11", then in the property bar change the units to pixels and the dimensions manually to 800px x 500px (just for example) and now if you go FILE> PUBLISH TO  WEB you'll see that it generates a really small image rather than the actual pixel size. A bug? i thought so. But its been there for a few versions to the point that i started to think that maybe it was me that was missing something. On the other hand if you follow the above steps then change the dpi to 96dpi though the options, then you go to FILE>PUBLISH TO  WEB you'll soon see that this method will give you the exact size desired as you've mentioned. I don't know why it does this but it does. If its a bug, i hope corel corrects it or at least explain the logic that causes this.

  • 03-12-2008 6:29 In reply to

    • Alfred
    • Top 25 Contributor
      Male
    • Joined on 05-15-2007
    • Maine USA

    Re: Problem on how to export corel x4 files in to html

    I just tested what you are saying and there is defenitely something strange, I will have to test some more! I'll be ack :)

    Alfred
  • 03-12-2008 7:13 In reply to

    • Alfred
    • Top 25 Contributor
      Male
    • Joined on 05-15-2007
    • Maine USA

    Re: Problem on how to export corel x4 files in to html

    Yes Dreamwizard you are correct it does export the way you describe if you use "Export to Web", however looking at the scenario, the exported size is correct and there is no bug. Let me explain, the issue starts by having to convert the linear page size to pixels, the only way to do that is to use the PPI setting of the page, so if it is set to 300 PPi then you will get the wrong measurement when you export. If you export the image alone by using the "Export" function the image will be the correct size in pixel x pixel since there has to be no conversion from a linear measurement like PPI.

    So the simple conclusion is, YES the page PPI has to be changed to 72 or respectively 96 PPI, to export correctly. The other thing would be to set the size of the page to the correct pixel amount after changing the dimensions to pixels.

    Alfred
Page 1 of 1 (8 items)
© 2008 Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions.