Pakistan IT Forum (Discuss Information Technology in Pakistan)
News: Pakistan Budget 2007 Highlights - Click Here
 
*
Hi, Guest. Welcome to IT Forum of Pakistan, Please login or register. January 07, 2009, 08:18:14 AM


Login with IT Forum's username, password and session length


Pak IT forum is launched to provide Pakistan's IT community with a platform to discuss IT related issues. These IT related discussions are proved to be useful for other Pakistani people. Information Technology in Pakistan is hottest issue on IT related forums. We hope that serious Pakistani people will join this IT Forum and will let us know about their experience in order to boast Pakistan's Software Exports.

Pages: [1]
  Print  
Author Topic: Help me about unwanted margin/border around exported objects  (Read 715 times)
umer
Newbie
*
Posts: 37


View Profile Email
« on: May 28, 2007, 10:19:23 AM »

Hi;

I'm a novice, using Corel Draw 12 to create an image gradient (just a gradient colour) to then be vertically tiled (via CSS "background-repeat-y") on a web page.

I learned a basic method for this from http://www.unleash.com/davidk/jpeg/ : in Draw, create a very short (eg, height=5px ), but web-page wide rectangle, and apply a two-colour fill gradient to it, making sure to select 'none' for 'outline'.

I was able to do all of this, but invariably found that the resulting image -- at least, when viewed in my web page -- was surrounded by a small margin or border, which then showed up between each repeat and the next. I was able to find a work-around, by using my web-designer's (FrontPage) image editor to gently crop the image -- after the crop, there were no more margins/borders.

However, I'd like to figure out why I'm getting these margins/borders in the first place. I should perhaps describe how I export the image from Draw, since that may be part of the problem: once the gradient is done, I select the object, click on Export, save as JPEG, sort type as Bitmap, check "Selected Only", Convert to Bitmap: resolution 600 dpi, color mode RGB, check Anti-aliasing, Apply ICC Profile, and Maintain original size.

Any tips would be really appreciated!

While I'm here: is there no Corel Draw 12 User Manual freely downloadable as a PDF out there??

Thanks, in advance, for any help you can give!

Logged
munir
Newbie
*
Posts: 46


View Profile Email
« Reply #1 on: May 28, 2007, 10:20:56 AM »

The border is caused by the antialias being on when you do the export/save. You can turn it off but the quaility of your export will not look as good, or just understand the edges are always going to be there, so create your image a little larger then crop it.

Hope that makes sense,
Logged
umer
Newbie
*
Posts: 37


View Profile Email
« Reply #2 on: May 28, 2007, 10:23:13 AM »

Thank-you,I appreciate your help
Yes, it makes perfect sense. Thanks again!
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered By: comsdev Partners