This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: low/high resolution images


At 18 Feb 2000 15:14 -0500, Norman Walsh wrote:
 > I'd do it with a role attribute myself
 > 
 >   <mediaobject>
 >     <imageobject role="print.hires"> ... </imageobject>
 >     <imageobject role="print.lores"> ... </imageobject>
 >     <imageobject role="online.hires"> ... </imageobject>
 >     <imageobject role="online.lores"> ... </imageobject>
 >   </mediaobject>
 > 
 > and then tweak the stylesheets to "do the right thing".

But this presumes that there's only four cases where you want to use
the image.  If you changed to also support cellular phones and pagers,
you'd have to add two more <imageobject> elements to every
<mediaobject>.  I favour identifying the image by name and letting the
stylesheet and processing system find (or create) the best image for
the job.  Certainly, from an EPS original, you could create bitmap
versions with arbitrary resolution and colour depth using a batch
process.  Why enshrine in your source only the versions that you think
you'll support?

Regards,

Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]