Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using TIFF files in Postscript

Using TIFF files in Postscript

Using TIFF files in Postscript

Hi to all,

I have a small PostScript file which prints a tif image on a page. The tif image is stored on the printers hard disk.
The tag data from that tif image are:
motorola byteorder
imagewidth = 7008
imagelength = 4960
stripoffset = 210
copression = G4

After loading the tif as myfile,I have this Postscript code

myfile 210 setfileposition
7008 4960 true    
[7008 0 0 -4960 0 4960]
/K -1  
/Columns 7008
/Rows 4960
/EndOfBlock false
>> /CCITTFaxDecode filter
myfile closefile

Running this PostScript on a printer or with a PS-viewer everything looks fine.
(It took a lot of timeto make it running)

Now my problem.
I got a new tif file the tag data

intel byteorder
imagewidth = 5100
imagelength = 6600
stripoffset = 338
copression = G4

Replacing this corresponding values  

myfile 338 setfileposition
5100 6600 true    
[5100 0 0 -6600 0 6600]
/K -1  
/Columns 5100
/Rows 6600
/EndOfBlock false
>> /CCITTFaxDecode filter
myfile closefile

the result is the Error: /ioerror in --image--
(in gs-view)
and nothing is displayed.

Any help is welcome.

Thanks and best regards

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close