Multipage Tiffs or Acrobat File

Creating a graphics presentation or artists portfolio? Integrating artwork and code into something unique?

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

jhonken
Posts: 1
Joined: Mon Apr 10, 2006 2:36 pm

Multipage Tiffs or Acrobat File

Post by jhonken » Thu Jun 22, 2006 1:10 pm

I need to write a new application in Rev. It needs to read in either a Multipage Tiff or a multipage Acrobat file. I need the ability to move between the pages in the program while viewing them. What format would be easiest in Rev and is there an example programs out there doing this? Any input would be greatly appreciated. Jeff

Slardar
Posts: 1
Joined: Tue Oct 02, 2018 11:03 am
Contact:

Re: Multipage Tiffs or Acrobat File

Post by Slardar » Tue Oct 02, 2018 11:08 am

I worked as a journalist, I can help you.

bogs
Posts: 2173
Joined: Sat Feb 25, 2017 10:45 pm

Re: Multipage Tiffs or Acrobat File

Post by bogs » Tue Oct 02, 2018 12:17 pm

Hmm, one post above looks bot-like, but I think the Op is an real life person, so I hope this will help a bit.
Nabble post "LiveCode - Import Tiff", Terry Judd's post [4th down] looks promising.

*Edit - BYU's reference on the subject was less heartening.
LiveCode cannot directly import or display TIFF files, so before you import them you must convert them to one of the formats LiveCode supports, primarily PNG, GIF or JPEG.
I wonder if -hh has tackled this topic yet. Hmmmm :|
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2712
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: Multipage Tiffs or Acrobat File

Post by richmond62 » Tue Oct 02, 2018 6:55 pm

One can convert tiff images very easily into png images on all major platforms, so wonder why this is necessary.
Last edited by richmond62 on Wed Oct 03, 2018 9:58 am, edited 1 time in total.

bogs
Posts: 2173
Joined: Sat Feb 25, 2017 10:45 pm

Re: Multipage Tiffs or Acrobat File

Post by bogs » Tue Oct 02, 2018 8:25 pm

Well, one reason might be that jhonken is pulling directly from a scanner, much like that nabble topic I linked to. Although many scanners *are* able to output other formats, many older ones are not able to. Mind you, this is only one example, I am sure there may be others, such as having folders full of .tiff / .acrobat files that you want to process without having to do a bulk conversion first (although I believe image magick can do exactly that).

However, perhaps the Op may be able to do that as a workaround, hopefully they will chime back in and say so :D
Image

SparkOut
Posts: 1790
Joined: Sun Sep 23, 2007 4:58 pm

Re: Multipage Tiffs or Acrobat File

Post by SparkOut » Tue Oct 02, 2018 8:32 pm

I hope the OP has moved on with a solution since 2006 :D

bogs
Posts: 2173
Joined: Sat Feb 25, 2017 10:45 pm

Re: Multipage Tiffs or Acrobat File

Post by bogs » Tue Oct 02, 2018 10:31 pm

:oops: I'm going to blame the bot :P
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2712
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: Multipage Tiffs or Acrobat File

Post by richmond62 » Wed Oct 03, 2018 10:03 am

Having, as I do, several 2006 Intel iMacs running Mac OS 10.7.x, I do get cheesed off that the GRAB app for screenshots dumps the results in TIFF format; meaning that I, subsequently, have to convert them into PNG or JPG format to do anything vaguely useful with them.

I don't know if Apple have "pulled themselves together" re the GRAB app in their "latest and greatest"
offering: but suspect not as a lot of people seem to like apples with cheese. 8)

Klaus
Posts: 10325
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Multipage Tiffs or Acrobat File

Post by Klaus » Wed Oct 03, 2018 10:46 am

Hi Richmond,

this should do the job for your 10.7.x machine, enter this in the terminal:
defaults write com.apple.ScreenCapture type "jpg"; killAll SystemUIServer

Will change the screenshot format to JPEG.


Best

Klaus

bogs
Posts: 2173
Joined: Sat Feb 25, 2017 10:45 pm

Re: Multipage Tiffs or Acrobat File

Post by bogs » Wed Oct 03, 2018 12:05 pm

That is pretty cool to know, thanks Klaus! Can '.png' be substituted as well?
Image

Klaus
Posts: 10325
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Multipage Tiffs or Acrobat File

Post by Klaus » Wed Oct 03, 2018 12:12 pm

bogs wrote:
Wed Oct 03, 2018 12:05 pm
That is pretty cool to know, thanks Klaus! Can '.png' be substituted as well?
I think so.

capellan
Posts: 502
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Multipage Tiffs or Acrobat File

Post by capellan » Wed Oct 03, 2018 9:54 pm

Effectively, there is a Javascript library that converts TIFF in PNG:
https://github.com/seikichi/tiff.js

Here you could find demos for this library:
http://seikichi.github.io/tiff.js/

and here are more libraries for TIFF conversion:
https://libraries.io/search?keywords=ti ... JavaScript

Al

Klaus
Posts: 10325
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Multipage Tiffs or Acrobat File

Post by Klaus » Wed Oct 03, 2018 10:43 pm

Hola Al,

the initial posting is 12 (TWELVE) years old, so I don't think all these hints are neccessary anymore! 8)


Best

Klaus

bogs
Posts: 2173
Joined: Sat Feb 25, 2017 10:45 pm

Re: Multipage Tiffs or Acrobat File

Post by bogs » Thu Oct 04, 2018 12:05 pm

Why not Klaus?

I still wouldn't have known how to resolve this dilemma, the bot that is a journalist didn't know, and anyone else looking for a resolution may find this (now) very active thread and be grateful that 12 years later, someone had an answer :P
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2712
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: Multipage Tiffs or Acrobat File

Post by richmond62 » Fri Oct 05, 2018 9:17 am

Yes, you can change the screen shot format on Macintosh computers; what you cannot do
is change the format that the GRAB app saves to: TIFF.

Post Reply

Return to “Digital Art and Portfolios”