Giter VIP home page Giter VIP logo

Comments (25)

LibRaw avatar LibRaw commented on May 23, 2024 1

[s]We'll publish G9 support in next snapshot (end of summer, or a little later). Now we're focused on 0.19 final polishing[/s]

Correction: it is supported in LibRaw 0.19

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

FWIW, RawTherapee 5.4 willingly opens both RW2, but reads /renders total garbage for both files.

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

Is there a sample on RPU?

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

I just (thought that I) uploaded two files (32 MB, 125 MB) onto RPU - I got "thanks", but I do not see these files in the repo list?

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

FWIW, the Panasonic documentation for the Panasonic LUMIX DC-G9 can be found at https://eww.pavc.panasonic.co.jp/dscoi/DC-G9/EG_EC_EF_EB/DC-G9_DVQP1406ZA_eng.pdf - the magic keyword is "[High Resolution Mode]" (page 196)

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

FWIW, SILKYPIX Developer Studio 4.4 SE (Version: 4.4.14.5) - for Panasonic cameras only, runs on Windows and OSX - is able to open these raw files and render them.

Don't slaughter me for mentioning that https://www.isl.co.jp/SILKYPIX/english/p/support/download/ has a download available and that installation on Windows is painless, not needing anything like a serial number or what-not. But that download is limited to processing files produced by Panasonic cameras.

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

I got "thanks", but I do not see these files in the repo list?

There is a pre-review.
Thanks for submitting those samples, but they are really unhelpful.
Please contribute something better/more recognizable, like daylight landscape.

I have taken a quick look at the raws themselves, they look to be still compressed,
but interestingly the width is no longer a multiple of 14, which breaks all later assumptions.

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

I will go hunting for daylight ASAP ;)

May I suggest that https://raw.pixls.us/ gets some language which indicates preferences general preferences? Right now the web site makes it appear as if anything is good enough. Perhaps mention: "Ideally a correctly exposed photo, taken in daylight, of a landscape"?

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

You mean like this one:
image

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

I mean the (missing) bullet item / paragraph immediately before "We are NOT looking for:" ;)

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

FWIW, Adobe DNG Converter 10.1 is able to read both files and transform them into DNGs of size 13 MB and 48 MB, respectively.

Note how the files shrank quite considerably from RW2 -> DNG (32 -> 13 MB; 125 -> 48 MB), while declared resolution remains at 5184x3888 and 10368x7776 respectively.

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

Ah ... and now this gets rather fancy: darktable reads the DNG files produced by Adobe DNG Converter 10.1 - and, according to darktable (image information width/height), the resolution of these DNG files is 5280x3904 and 10480x7794.

I have reconfirmed that exiftool shows 5184x3888 and 10368x7776 for both RW2 and DNG.

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

I have just uploaded two new files at https://raw.pixls.us/

These new files show the nice green tree watered by rainy weather just in front of my door. Better subjects are conditional to better weather ;)

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

I just discovered that FastRawViewer 1.4.6 (https://www.fastrawviewer.com/blog/FastRawViewer-1-4-6-release) has added support for the Panasonic G9 in high-res mode.

Perhaps @LibRaw might be able to chime in?

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

Ah: "Alexey Danilchenko's GH5S/G9-hires patch

disable rawspeed for new panasonic decoder"

LibRaw/LibRaw@9fc4e05

from rawspeed.

LibRaw avatar LibRaw commented on May 23, 2024

I was sure, we've added it to 0.19, but looked into code and have not see it,

The problem was: I've looked into 0.19-tarball dcraw/dcraw.c which is original Dave Coffin's code.

Yes, G9/GH5s are already supported by current 0.19 pre-release (beta5)

from rawspeed.

LibRaw avatar LibRaw commented on May 23, 2024

(G9-> read as G9 high res)

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

Reading around, it would seem as if Panasonic is switching to a new raw format for the newer cameras. Specifically, the Panasonic DC-GH5S seems to use the same format "natively" as the Panasonic DC-G9 in its dedicated high-resolution mode. (GH5s raws can be found at https://www.dpreview.com/reviews/panasonic-lumix-dc-gh5s-review/6, nothing on RPU as I am writing this)

The commit in the libraw repo takes care of this, by way of (also) supporting the 14 bit resolution of the GH5s for format version 5.

Also in the libraw repo is peculiar handling of black-level information for the new format version 5, see LibRaw/LibRaw@f86a450 (pana_encoding == 4 is old, pana_encoding == 5 is the newly introduced raw format)

There is also interesting information in LibRaw/LibRaw@20efe0c where compression information is read (but, later, this is not used, it would seem).

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

Reading around, it would seem as if Panasonic is switching to a new raw format for the newer cameras.

And still not LJPEG
(╯°□°)╯︵ ┻━┻)

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

... which, clueless as I am, I would consider beneficial for my own personal sanity, as LJPEG seems to be using Huffman encoding to (losslessly) compress? (https://en.wikipedia.org/wiki/Lossless_JPEG)

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

Yeah, all these manufacturer-specific compressions (RW2, ARW, ...) are pretty bad even at compressing,
and some even introduce artifacts.

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

Just for the public record: A very exploratory implementation is currently located at https://github.com/shoffmeister/rawspeed/tree/wip/rw2-g9-gh5s-support

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

@shoffmeister hi. i'm not sure if you are still around, and have DC-GH5S camera.
Flashback: the camera supposedly writes 14bit and 12bit raws, but the sample set that exists on RPU,
even the supposedly-12bit raws, internally they are all 14bit raws.

I wonder if that has been fixed in newer firmwares, and maybe now the camera writes different raws?
You can't really tell that from EXIF, but you can add writeLog(DEBUG_PRIO_EXTRA, "PanasonicDecompressorV5: bpp: %ul", bpp);
here:

If that does print both 12 and 14 nowadays, it would be great to get a replacement full sample set for RPU (8 raws, {12bit,14bit} x {4:3, 3:2, 16:9, 1:1}).

from rawspeed.

shoffmeister avatar shoffmeister commented on May 23, 2024

Sorry, I don't have access to a GH5S, only own a G9.

from rawspeed.

LebedevRI avatar LebedevRI commented on May 23, 2024

Oh right, i think the GH5S samples originated from somewhere else, sorry.

from rawspeed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.