Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #34936

Re: TIFF on android.

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: TIFF on android.
Date 2014-12-15 11:00 -0800
Organization Nightsong/Fort GNOX
Message-ID <7xa92okaan.fsf@ruckus.brouhaha.com> (permalink)
References <548ebd47$0$6948$e4fe514c@dreader36.news.xs4all.nl>

Show all headers | View raw


albert@spenarnc.xs4all.nl (Albert van der Horst) writes:
> I'd like to use my tablet (an Asus memopad) to generate pictures
> in tiff format, without any compression at all. ...
> I could add -- if need be -- code words to gForth, but that requires
> information about how to access the graphics hardware.

I think there are some Android calls to access the camera frame buffer.
So you get the raw image and then you can convert it to TIFF if you
want.  I personally wouldn't mess with TIFF.  It's an awful format.
Either save as PNG if you want cooked but uncompressed images, or save
as DNG (raw) and use something like dcraw to convert to other formats.

Some Android API info

  https://developer.android.com/reference/android/hardware/camera2/package-summary.html

A video about the camera stack in flash-only format, dunno why this is
allowed on linux.com (the html5 link doesn't work, at least for me):

  http://video.linux.com/videos/exposing-the-android-camera-stack

I haven't watched the video so don't know if it has anything useful.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

TIFF on android. albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-12-15 10:51 +0000
  Re: TIFF on android. awegel@arcor.de (Alexander Wegel) - 2014-12-15 13:19 +0100
  Re: TIFF on android. Paul Rubin <no.email@nospam.invalid> - 2014-12-15 11:00 -0800
    Re: TIFF on android. "WJ" <w_a_x_man@yahoo.com> - 2014-12-15 20:09 +0000
    Re: TIFF on android. Bernd Paysan <bernd.paysan@gmx.de> - 2014-12-16 01:59 +0100
    Re: TIFF on android. anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-12-16 08:45 +0000
      Re: TIFF on android. Paul Rubin <no.email@nospam.invalid> - 2014-12-16 01:22 -0800
        Re: TIFF on android. albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-12-16 10:22 +0000
        Re: TIFF on android. anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-12-17 09:44 +0000
    Re: TIFF on android. albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-12-16 10:15 +0000
  Re: TIFF on android. awegel@arcor.de (Alexander Wegel) - 2014-12-16 03:50 +0100
    Re: TIFF on android. awegel@arcor.de (Alexander Wegel) - 2014-12-17 18:52 +0100

csiph-web