TIF to PDF conversion results in blank doc

Hi there,

I am developing a utility that programmatically converts a Group 3
tiff image (CCITTFaxDecode) into a PDF document.  All I am doing is
extracting the stream of data from the tif file and placing it between
the relevant 'stream' 'endstream' PDF tags, and then filling in the
blanks, by creating the cross reference, header, trailer, page
objects, etc.

The PDF document produced by my code appears to look correct.  The
header info. trailer, cross reference, etc. are all in place, and the
byte offsets and indirect object references are all correct (as far as
I can tell!).  However, when I view the created document in Adobe
Acrobat, or any other PDF viewer, all I get is a blank document. 
Adobe does not report any errors, and I have tried several other PDF
analysis tools, all of which say I have a valid document.

Does anyone have any ideas on the kinds of things that could cause
Adobe to display a blank doc?  Some info to be going on with.....

The start of my file is as follows:

%PDF-1.3.%    .1 0 obj.<<./Type /XObject./Subtype /Image./Width
1728./Height 1600./ColorSpace /DeviceGray./BitsPerComponent 1./Length
2 0 R./Filter /CCITTFaxDecode./DecodeParms << /K 0./EncodedByteAlign
false./EndOfBlock false./EndOfLine true./BlackIs1 true./Columns
1728./Rows 1600>> >>.stream.

followed by the data itself which is a straight binary copy between
the tiff file image data and the PDF document.

The remainder of the document after the data looks like this:

..endstream.endobj.2 0 obj.26263.endobj.3 0 obj.<<./Type /Page./Parent
4 0 R./Resources <<./ProcSet [ /PDF /ImageB ].>>./Contents [1 0
R].>>.endobj.4 0 obj.<<./Type /Pages./Kids [3 0 R.]./MediaBox [ 0 0
595 842 ]./Count 1>>.endobj.5 0
obj.<<./Creator(Gary)./CreationDate(D:20030924105139)./Title(Archived
G3 file)./Producer(Garys PDF Conversion
Library)./Keywords(G3).>>.endobj.6 0 obj.<<./Type /Catalog./Pages 4 0
R>>.endobj.xref.0 7.0000000000 65535 f .0000000015 00000 n .0000026577
00000 n .0000026598 00000 n .0000026706 00000 n .0000026789 00000 n
..0000026946 00000 n .trailer.<<./Size 7./Root 6 0 R./Info 5 0
R.>>.startxref.26994.%%EOF.

The image is a greyscale, single-page image.  The data is definitely
26263 bytes in length and all the cross reference offsets, etc. are
correct.

Thanks in advance,

Gary.
0
greynolds
9/24/2003 10:23:23 AM
comp.text.pdf 5583 articles. 0 followers. ramon (1518) is leader. Post Follow

5 Replies
471 Views

Similar Articles

[PageSpeed] 51
greynolds@equisys.com (Gary Reynolds) wrote:

>Hi there,
>
>I am developing a utility that programmatically converts a Group 3
>tiff image (CCITTFaxDecode) into a PDF document.  All I am doing is
>extracting the stream of data from the tif file and placing it between
>the relevant 'stream' 'endstream' PDF tags, and then filling in the
>blanks, by creating the cross reference, header, trailer, page
>objects, etc.
>
>The PDF document produced by my code appears to look correct.  The
>header info. trailer, cross reference, etc. are all in place, and the
>byte offsets and indirect object references are all correct (as far as
>I can tell!).  However, when I view the created document in Adobe
>Acrobat, or any other PDF viewer, all I get is a blank document. 

Consider - you haven't even told Acrobat where on the page this image
would go, and what size - how could it guess? This should be a clue
that something vital is missing.

Many things could be wrong, but one is clear: you are trying to use
image data as a page stream. No, you can't. A page stream must contain
marking operators, as described in the PDF Reference. You cannot just
substitute an image XObject for a content stream. The content stream
must use "Do" and other operators ("cm" especially) to position and
place the image.

Remember also, when it comes to details of the TIFF file, that each
strip or tile is separately compressed. Each strip or tile has to map
to a different compressed XObject - you cannot concatenate compressed
CCITT streams.
----------------------------------------
Aandi Inston  quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

0
quite
9/24/2003 10:43:17 AM
HI Gary,

A few months ago, we had a client come to us who wanted to take older fax
files in an .efx form and convert a large number automatically into PDF as
well as automatically assign the approriate file name for each.  Our
software, OctoPDF can do this for TIFF images as well. (www.octopdf.com)
This particular client contracted us to do the conversion, sent us his files
and we sent (via FTP) the resultant 1000+  PDFs back to him the next day.
Please give me a call or email and we can discuss your requirements if you
would like to persue this further.  Thanks for your time.

Larry T.

larry@jbmsystems.com
978 535-7676



"Gary Reynolds" <greynolds@equisys.com> wrote in message
news:7a17b2fb.0309240223.3fcd3f98@posting.google.com...
> Hi there,
>
> I am developing a utility that programmatically converts a Group 3
> tiff image (CCITTFaxDecode) into a PDF document.  All I am doing is
> extracting the stream of data from the tif file and placing it between
> the relevant 'stream' 'endstream' PDF tags, and then filling in the
> blanks, by creating the cross reference, header, trailer, page
> objects, etc.
>
> The PDF document produced by my code appears to look correct.  The
> header info. trailer, cross reference, etc. are all in place, and the
> byte offsets and indirect object references are all correct (as far as
> I can tell!).  However, when I view the created document in Adobe
> Acrobat, or any other PDF viewer, all I get is a blank document.
> Adobe does not report any errors, and I have tried several other PDF
> analysis tools, all of which say I have a valid document.
>
> Does anyone have any ideas on the kinds of things that could cause
> Adobe to display a blank doc?  Some info to be going on with.....
>
> The start of my file is as follows:
>
> %PDF-1.3.%    .1 0 obj.<<./Type /XObject./Subtype /Image./Width
> 1728./Height 1600./ColorSpace /DeviceGray./BitsPerComponent 1./Length
> 2 0 R./Filter /CCITTFaxDecode./DecodeParms << /K 0./EncodedByteAlign
> false./EndOfBlock false./EndOfLine true./BlackIs1 true./Columns
> 1728./Rows 1600>> >>.stream.
>
> followed by the data itself which is a straight binary copy between
> the tiff file image data and the PDF document.
>
> The remainder of the document after the data looks like this:
>
> .endstream.endobj.2 0 obj.26263.endobj.3 0 obj.<<./Type /Page./Parent
> 4 0 R./Resources <<./ProcSet [ /PDF /ImageB ].>>./Contents [1 0
> R].>>.endobj.4 0 obj.<<./Type /Pages./Kids [3 0 R.]./MediaBox [ 0 0
> 595 842 ]./Count 1>>.endobj.5 0
> obj.<<./Creator(Gary)./CreationDate(D:20030924105139)./Title(Archived
> G3 file)./Producer(Garys PDF Conversion
> Library)./Keywords(G3).>>.endobj.6 0 obj.<<./Type /Catalog./Pages 4 0
> R>>.endobj.xref.0 7.0000000000 65535 f .0000000015 00000 n .0000026577
> 00000 n .0000026598 00000 n .0000026706 00000 n .0000026789 00000 n
> .0000026946 00000 n .trailer.<<./Size 7./Root 6 0 R./Info 5 0
> R.>>.startxref.26994.%%EOF.
>
> The image is a greyscale, single-page image.  The data is definitely
> 26263 bytes in length and all the cross reference offsets, etc. are
> correct.
>
> Thanks in advance,
>
> Gary.


0
Larry
9/24/2003 1:48:14 PM
quite@dial.pipex.con (Aandi Inston) wrote in message news:<3f7173f2.855398558@reading.news.pipex.net>...
> greynolds@equisys.com (Gary Reynolds) wrote:
> 
> >Hi there,
> >
> >I am developing a utility that programmatically converts a Group 3
> >tiff image (CCITTFaxDecode) into a PDF document.  All I am doing is
> >extracting the stream of data from the tif file and placing it between
> >the relevant 'stream' 'endstream' PDF tags, and then filling in the
> >blanks, by creating the cross reference, header, trailer, page
> >objects, etc.
> >
> >The PDF document produced by my code appears to look correct.  The
> >header info. trailer, cross reference, etc. are all in place, and the
> >byte offsets and indirect object references are all correct (as far as
> >I can tell!).  However, when I view the created document in Adobe
> >Acrobat, or any other PDF viewer, all I get is a blank document. 
> 
> Consider - you haven't even told Acrobat where on the page this image
> would go, and what size - how could it guess? This should be a clue
> that something vital is missing.
> 
> Many things could be wrong, but one is clear: you are trying to use
> image data as a page stream. No, you can't. A page stream must contain
> marking operators, as described in the PDF Reference. You cannot just
> substitute an image XObject for a content stream. The content stream
> must use "Do" and other operators ("cm" especially) to position and
> place the image.
> 
> Remember also, when it comes to details of the TIFF file, that each
> strip or tile is separately compressed. Each strip or tile has to map
> to a different compressed XObject - you cannot concatenate compressed
> CCITT streams.
> ----------------------------------------
> Aandi Inston  quite@dial.pipex.com http://www.quite.com
> Please support usenet! Post replies and follow-ups, don't e-mail them.


Aandi,

Thanks for your reply to my message.  It was very useful and has
allowed me to progress my work somewhat.  I know have a file which
takes the following format:

%PDF-1.3.%    .1 0 obj.<<./Type /XObject./Subtype /Image./Name
/strm_0./Filter /CCITTFaxDecode /Width 1728./Height 1600./ColorSpace
/DeviceGray./BitsPerComponent 1./DecodeParms << /K 0./Columns
1728./Rows 1600>>/Length 2 0 R>>.stream.

<data here>

..endstream.endobj.2 0 obj.26263.endobj.3 0 obj.<</Length
29.>>stream.842 0 0 595 0 0 cm./strm_0 Do.endstream.endobj.4 0
obj.<<./Type /Page./Parent 6 0 R./Resources 5 0 R./MediaBox [0 0 842
595]./CropBox [0 0 842 595]./Contents [3 0 R].>>.endobj.5 0
obj.<<./ProcSet [/PDF /ImageB]./XObject <</strm_0 1 0 R.>>.>>.endobj.6
0 obj.<<./Type /Pages./Kids [4 0 R.]./Count 1>>.endobj.7 0
obj.<<./Creator(Zetafax)./CreationDate(D:20030925115855)./Title(Archived
Zetafax)./Producer(Zetafax PDF Conversion
Library)./Keywords(Zetafax).>>.endobj.8 0 obj.<<./Type
/Catalog./OpenAction 9 0 R./Pages 6 0 R>>.endobj.9 0 obj.[ 4 0 R /Fit
].endobj.xref.0 10.0000000000 65535 f .0000000015 00000 n .0000026515
00000 n .0000026536 00000 n .0000026613 00000 n .0000026742 00000 n
..0000026815 00000 n .0000026872 00000 n .0000027029 00000 n
..0000027095 00000 n .trailer.<<./Size 10./Root 8 0 R./Info 7 0
R.>>.startxref.27125.%%EOF.

Specifically, I have added in a content stream that references an
XObject (object 1 in the dump above) and have specified that object 1
is a resource.  At this point I am getting a drawing error from within
Adobe Acrobat Reader.  Does the general format look correct?  I think
it does, but judging by my last message I may still be way-off!  I
have read the relevant parts of the PDF specification (1.3) and can't
find anything that I've missed out.

I have also done a Hex dump of a Group 4 tiff image that has been
converted to PDF.  Apart from the data, the two files (mine and the G4
file) look pretty similar.

Any ideas?

Thanks in advance,

Gary.
0
greynolds
9/25/2003 11:15:09 AM
Larry,
Check out www.codeproject.com and search for PDF on that site.
There is some sample code to do exactly what you need there.

Regards.
0
oside_freak
9/28/2003 8:29:06 PM
greynolds@equisys.com (Gary Reynolds) wrote:

>Thanks for your reply to my message.  It was very useful and has
>allowed me to progress my work somewhat.  I know have a file which
>takes the following format:
>
>%PDF-1.3.%    .1 0 obj.<<./Type /XObject./Subtype /Image./Name
>/strm_0./Filter /CCITTFaxDecode /Width 1728./Height 1600./ColorSpace
>/DeviceGray./BitsPerComponent 1./DecodeParms << /K 0./Columns
>1728./Rows 1600>>/Length 2 0 R>>....

It's very hard to get useful information from a dump of a PDF file. In
this way. Where possible, when asking for help, post the file itself
on a web or FTP site.  Still, a quick look over what you have done
looks correct at the PDF level.

>At this point I am getting a drawing error from within
>Adobe Acrobat Reader.  Does the general format look correct?  I think
>it does, but judging by my last message I may still be way-off!  I
>have read the relevant parts of the PDF specification (1.3) and can't
>find anything that I've missed out.

Could be that the data doesn't match the needs of the CCITTFaxDecode
filter.
>
>I have also done a Hex dump of a Group 4 tiff image that has been
>converted to PDF.  Apart from the data, the two files (mine and the G4
>file) look pretty similar.

You haven't mentioned what you do to the TIFF file, especially my note
that each strip or tile must be processed separately. Be sure too that
the filter parameters exactly match what was used to compress the
TIFF, including details such as whether the data needs to be an exact
number of rows or whether it contains a G3 EOD marker.
----------------------------------------
Aandi Inston  quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

0
quite
9/30/2003 11:53:54 AM
Reply:
Similar Artilces:

PDF to PDF (gs?): rich RGB black to plain K (CMYK) black?
Hi all, I basically have the problem with print of some slides from OpenOffice. The problem is that OpenOffice exports the PDF of the slides as an RGB PDF, where the text color is R:0, G:0, B:0 - and usually when I send that to the printer, they complain that what should be plain black extends into all four (CMYK) channels, and so I have to pay more for the ink. So the problem is - how would I convert a RGB PDF with R:0, G:0, B:0 into a CMYK pdf where the same color is plain black (C:0, M:0, Y:0, K: 100)? I posted a similar question on http://stackoverflow.com/questions/6241282/converting-p...

Problem drawing a pdf document (CGContextDrawPDFDocument)
Hi I develop a QuarkXtension in CW 8.3. In this XTension there is a dialog and I want to display a pdf document in a rectangle of this dialog. I use CGContextDrawPDFDocument to do this. But it doesn't work. The document isn't displayed. What could be wrong? Has anybody a piece of sample code? I tried the same using CGContextDrawPDFPage, but the class CGPDFPageRef isn't known. I included "CFPDFPage.h", but after that I have a lot of error messages from the compiler. I don't know why. The class CGPDFDocumentRef is known without including any header f...

Embedding fonts in an existing PDF
Hello all, I'm wondering how to embed fronts into an existing PDF file. I've received a PDF file, which uses Asian fonts without embedding them. I can view this file because I've installed Asian fonts to my Adobe Reader 7.0.1, but my colleagues can't. Rather than recommending them to install Asian fonts, I'd like to embed fonts into the file for them. Is it possible? I can see potential legal issues. But, technically? I'm using a Debian GNU/Linux system. I have also access to Windows and MacOS X machines. (But, I don't want to buy Distiller only for this purp...

My Post Gets Results
A few days ago I posted a link to an article that discussed how excessive iPod listening was causing the younger generation to go deaf. As usual the Maccies all hooted and hollered and declared it to be everybody's fault but their god Apple's. Fortunately, for the younger generation, Apple itself was listening to what I was saying. http://www.dailymail.co.uk/pages/live/articles/technology/technology.html?in_article_id=504292&in_page_id=1965 Cuss and discuss. In article <bb669fa1-2256-40e1-b146-a09e6d73313d@l1g2000hsa.googlegroups.com>, "Mayor Of R'lyeh" <...

Re: Different results estimating EGARCH using AUTOREG and MODEL? #5 1547047
Thanks for the reply David, The yhat values are very close. Here is a glimps of yhat�s: Yhat(AUTOREG) Yhat(MODEL): 0.00994737 0.010005098 0.008706436 0.008795874 0.01436761 0.014477031 0.021326354 0.021459229 -0.004257795 -0.004186538 -0.114139871 -0.114957562 -0.118323211 -0.119160227 0.696003732 0.700751541 0.029039232 0.028549477 0.02901179 0.028385064 The parameter estimates are kind of close too. The only difference is in estimated variance and thus the significance of the parameter estimates. Notice below that the parameter estimate for �treasury� is found to be significant using AU...

unable to produce the output result
i have to solve systems of oDEs by using runge kutta 4th order and below is my codes clear all h = .1; n = 1; X(n) = 0; Y(n,1) = 1; Z(n,2) = 1; % Let % y'(x) = 1-3(y(x)*y(x)) , y(0) = 1 % z'(x) = x(x) + y(x) + z(x) , z(0) = 1 % Z(n,2) while X(n) < 0.2 X(n+1) = X(n); K(1,1) = 1-3*(Y(n,1)*Y(n,1)); K(1,2) = X(n) + Y(n,1) + Z(n,1); K(2,1) = 1-3*((Y(n,1)+h*K(1,1)/2)*(Y(n,1)+h*K(1,1)/2)); K(2,2) = (X(n)+h/2) + Y(n,1) +(Z(n,1)+h*K(1,2)/2); K(3,1) = 1-3*((Y(n,1)+h*K(2,1)/2)*(Y(n,1)+h*K(2,1)/2)); K(3,2) = (...

XHTML to PDF
Hi, After having read many articles on XML transformations (eg. http://www-106.ibm.com/developerworks/education/transforming-xml/xmltopdf/index.html ), I'm a believer. Given an XML document and the appropriate XSL style sheet on can perform transformations at will to multiple channels. Excellent. We are rebuilding our website from the ground up. A good opportunity to adopt XHTML as well as improve the document mangement and publishing processes throughout our organization. Having read about the benefits of XML publishing processes and written some simple apps using java and xml, I'm ...

Printing some *.doc files with the c language under windows 2k
i have many word documents, with the *.doc extension, they are all in the same directory, suppose "C:\\test1\\annfjf.doc", "C:\\test1\\iibiikg.doc", "C:\\test1\\fv56v44v.doc" i would like to print them all, with a small program written in c, but i don't know anything about sending a list of files to the printer. I use windows 2K proff. SP4. Borland 5.5 free compiler. Would You Please address me in the right direction? Best Regards. Mario. Italy. fr7456bg@yahoo.co.uk wrote: > i have many word documents, with the *.doc extension, > they are all in th...

how to calculate multivariate normal pdf and cdf?
Hi, I am trying to find some matlab functions to calculate multivariate normal pdf and cdf. Seems that right now there are only functions that deal with 1d, like normcdf and normpdf. I think the multivariate normal pdf is not hard to calculate by writing the code myself, but I don't know what's the formula to get the cdf and how to do the multivariate integral. Is there any matlab function that I can download? Thanks, Jane jane wrote: > Hi, > I am trying to find some matlab functions to calculate multivariate > normal pdf and cdf. Seems that right now there are only ...

pdf files
I have recently changed from PC to MAC and am generally pleased. However, using Eudora on the PC, when an in-coming e-mail shows an attached .pdf file as an icon, I can click on it and it comes up in Acrobat. Can print it from there. On the MAC OS X, using Eudora 6.0, the file appears in the body of the message (no icon to click on) and if I try to print it, only the accompanying e-mail message prints; not the .pdf file. What am I missing? How do I get it to be printable? TIA Rosemary In article <dale_thomp-68E615.15000627012004@corp.supernews.com>, D &a...

PDF only loads blank window
First, some info: I am running IIS 6.0 The client is running IE 6.0, Windows 2000, Adobe Acrobat Reader 6.0. We have a web site that we want to secure the PDF files from being available unless they are loaded from the ASP page. The files are on a network drive. A user will be given a list of files, they will pick one and then click a 'Download' button. The form is submitted to another ASP page which simply uses a Response.binarywrite to sream the file to the client. Most clients have no problem with this. However, there are some who only get a blank window. If I provide them a ...

variable find results
In our application we have a peer to peer configuration where the notional "client" opens the database remotely. There hvae been some strange things happening with search results. A search on the server system yields no records but form the remote system where some network latency is introduced we are seeing the expected results each time. both system are running Windows XP and the application is a FM 6 application. As an example, a drop down list that is populated from a database with just 5 records is inconsistently populated on the "server" but always populat...

Awesome PDF writer
For those that have tried to create quality PDFs from Mathematica using Adobe, it can be a disappointing experience. Some things are handled well, some are not. The same can be said for postscript -> Ghostview -> PDF. I found a free PDF printer driver that has worked incredible so far. http://www.primopdf.com/ It is free as in FREE. No popups. Although it only works under windows, it seems to work exceptionally well so far. Thanks, Paul Paul McHale wrote: > For those that have tried to create quality PDFs from Mathematica > using Adobe, it can be a dis...

good library for pdf
Hi all, I want to take an existing pdf and add it a non-opaque watermark. I have tried it in postscript but postscript hava an opaque imaging = model. Pdf allows it. I can do it with acrobat 6.0, but i need to add the = watermark in batch mode or inside an application. I've found lowagie library for java. Anyone knows if there is something similar for python?? must i begin to learn java??=20 Regards Take a look at www.reportlab.org. The ReportLab library includes a graphics module that might well do what you need. I'm not sure at present if it allows one to set alpha-channels to ...

Results from Matlabs QR
Hello everyone I am writing because I am curious of how the QR algorithm of Matlab is implemented. I am well aware of what the QR algorithm does - however, the results computed by qr() are different than the results I achieve using LAPACK, as implemented in the Intel Fortran MKL compiler. More specifically, the results differ up to a sign change in the diagonal of the upper-triangular matrix R. In the results from LAPACK, the elements on the diagonal are always positive, rendering a unique QR factorization. However, such a rule seems to not be implemented in qr() in matlab, causing s...

CAM::PDF and create image in document
Hi I hope to find somebody with some experience using CAM::PDF module(s) I simply want to add an image ( png ) to a pre-existing pdf document, but can't seem to figure this one out. Could somebody please advice as how to do this, thank you. Greger� Greger <boss replace_this_with_@ gregerhaga.net> wrote in news:dtkbq7$cem$1@phys-news4.kolumbus.fi: > I hope to find somebody with some experience using CAM::PDF module(s) > I simply want to add an image ( png ) to a pre-existing pdf document, > but can't seem to figure this one out. > Could somebody please advice as h...

any experience in doc to text , html lib ?
Hi all, I'm looking for a good lib for converting doc to HTML and Text. I need a high quality conversion, so i'm agree to buy it if it's matching. Does any one have already test some of these products? * catdoc * Wordcnv Software Word Parser Engine (doc2html) HTML Edition * wvware Elaborated system which parses Word files and converts them into something more interesting, i.e. HTML or LaTeX. * Laola, the perl library to read OLE files * word2x much more elabodate than catdoc C++ program. It sometimes reads files, which catdoc couldn't and vice versa. ...

ReadFromFile a tif graphic
Hi In Paradox 10 I can read a .tif graphic file using ReadFromFile and then display this graphic in a graphic object on a form. In Paradox runtime 10, using the same code, I can't. Is there a work around to solve this prob Thanks Alec Scaresbrook Alec I have both full Paradox and Paradox Runtime on the same PC, and then I can read .tif files. Watching what happens in both Filemon and Regmon from www.sysinternals.com, I can see pxdse.dll from full Paradox being used when accessing a tif file, but as that is the shell file referenced accessing Paradox related files, ...

How tu use multivalent pdf tools
Hi. In past days I have downloaded *multivalent pdf browser* http://internap.dl.sourceforge.net/sourceforge/multivalent/Multivalent2 0060102.jar In this application they are several tools for pdf editing, but how to use? Thanks in advance Hi, On Thu, 10 Aug 2006 14:55:42 +0200 Lutrin <elicona@olympo.it> wrote: > In past days I have downloaded > > *multivalent pdf browser* > http://internap.dl.sourceforge.net/sourceforge/multivalent/Multivalent2 > 0060102.jar > > In this application they are several tools for pdf editing, but how > to use? The Browser is...

EXIF and .TIF
Now, my problem is just the opposite of Nieuws above. When I save a .TIF copy of my photo, I get a message that the EXIF info can't or won't be saved with the file. The thing is, I *want the EXIF to follow any version of my photo*. Is this just a function of .TIF or is there something I can set so EXIF will be saved with .TIF? Thanks bill n On Tue, 28 Oct 2003 12:22:20 -0600, "billn" <li&st@wi.rr.com> wrote: >When I save a .TIF copy of my photo, I get a message that the EXIF info >can't or won't be saved with the file. The thing is, I *want t...

PSD to XHTML Conversion Services and PSD to HTML CSS Conversion Services, PSD to Joomla, Drupal, Wordpress Conversion #2
PSD to XHTML Conversion, PSD to HTML CSS, Joomla, Wordpress, Drupal, CMS, VBULLETIN, PHPBB and includes convert to XHTML like PSD to XHTML, web designing services, logos and banner design, website building, animation,presentations and virtual tours from XHTML Champs.www.xhtmlchamps.com ...

Validate client-side XSLT result of xhtml-math-svg
For info on the context of my question see the end of this posting. From http://www.w3.org/TR/XHTMLplusMathMLplusSVG/: > This profile enables mixing XHTML, MathML and SVG in a same document > using XML namespaces [XMLNS]mechanism, while allowing validation of > such a mixed-namespace document. How can I validate the result of client-side XSLT transform which has the following? <xsl:output method="xml" media-type="application/xhtml-math-svg" encoding="UTF-8" indent="yes" doctype-public= "-//W3C//DTD XHTML 1.1 p...

Re: ods pdf question
Could you use the style= option on the ODS PDF statement and point to a style where you have modified the line spacing and page margins? "Using CSS (Cascading Style Sheets)" on page: http://support.sas.com/rnd/base/topics/new92/92odsmore.html has an example. Angela Hall (919)806-4258 -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of RolandRB Sent: Wednesday, April 19, 2006 6:09 AM To: SAS-L@LISTSERV.UGA.EDU Subject: ods pdf question How does one adjust line spacing and individual page margins when specifying ods pdf? ...

TIF or JPEG?
Should I be saving scans as TIF or JPEG? Apparently TIF are better quality and do not lose quality each time they are saved but are much larger. I am scanning 35mm film to CD (designated film scanner) with a view to looking at the images on my computer or TV via DVD. Also any suggestions on suitable resolution for this? Scoop wrote: > Should I be saving scans as TIF or JPEG? > > Apparently TIF are better quality and do not lose quality each time > they are saved but are much larger. I am scanning 35mm film to CD > (designated film scanner) with a view to looking ...

1 Bant 16 Bit Colour depth tif image Image jpg export
Hello All; I am trying to export my 16bit one bant tif image to 16 bit color depth jpeg file. I used A = imread('filename'); imwrite(A,'filename.jpg' , 'jpg'); bu in return it gave me Unit must be specified to 12 or 16 bit. Can someone show me how to do ? Regards Ömer KAYA I don't know what "bant" is, you didn't send in the 'BitDepth' parameter into imwrite(). But anyway, 16 bit jpegs are only supported in monochrome in imwrite(), not color. I got this error message when I tried: ??? Error using ==> writejpg...