Multipage Tiffs or Acrobat File
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Multipage Tiffs or Acrobat File
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
Re: Multipage Tiffs or Acrobat File
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.
Nabble post "LiveCode - Import Tiff", Terry Judd's post [4th down] looks promising.
*Edit - BYU's reference on the subject was less heartening.
I wonder if -hh has tackled this topic yet. HmmmmLiveCode 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.
-
- Livecode Opensource Backer
- Posts: 9446
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Multipage Tiffs or Acrobat File
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.
Re: Multipage Tiffs or Acrobat File
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
However, perhaps the Op may be able to do that as a workaround, hopefully they will chime back in and say so
Re: Multipage Tiffs or Acrobat File
I hope the OP has moved on with a solution since 2006
Re: Multipage Tiffs or Acrobat File
I'm going to blame the bot
-
- Livecode Opensource Backer
- Posts: 9446
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Multipage Tiffs or Acrobat File
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.
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.
Re: Multipage Tiffs or Acrobat File
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
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
Re: Multipage Tiffs or Acrobat File
That is pretty cool to know, thanks Klaus! Can '.png' be substituted as well?
Re: Multipage Tiffs or Acrobat File
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
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
Re: Multipage Tiffs or Acrobat File
Hola Al,
the initial posting is 12 (TWELVE) years old, so I don't think all these hints are neccessary anymore!
Best
Klaus
the initial posting is 12 (TWELVE) years old, so I don't think all these hints are neccessary anymore!
Best
Klaus
Re: Multipage Tiffs or Acrobat File
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
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
-
- Livecode Opensource Backer
- Posts: 9446
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Multipage Tiffs or Acrobat File
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.
is change the format that the GRAB app saves to: TIFF.
-
- VIP Livecode Opensource Backer
- Posts: 9850
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Multipage Tiffs or Acrobat File
LiveCode has a built-in command for printing to PDF.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn