Page 1 of 1

Unintended Resize

Posted: Tue Oct 26, 2021 5:04 am
by MurrayW
Hello,

I have some RAF images from a FujiFilm GFX100S.
They are 16-bit per colour.
I want to enhance the colours, but when I save, XnView reduces the dimensions from 11760 x 8734 to 4000 x 3000

XnView MP Windows Version 0.99.1 64bits (Sep 23 2021)

I must be missing a setting somewhere - can anyone help?

Update: Exif has dimensions as 4000 x 3000, somehow....?
Will try to edit with exiftool

cheers
Murray

Re: Unintended Resize

Posted: Tue Oct 26, 2021 5:53 am
by cday
MurrayW wrote: Tue Oct 26, 2021 5:04 am I have some RAF images from a FujiFilm GFX100S.
They are 16-bit per colour.
I want to enhance the colours, but when I save, XnView reduces the dimensions from 11760 x 8734 to 4000 x 3000

XnView MP Windows Version 0.99.1 64bits (Sep 23 2021)

I must be missing a setting somewhere - can anyone help?
In the viewer, File > Format settings... > Read tab -- Camera RAW

Re: Unintended Resize

Posted: Tue Oct 26, 2021 6:54 am
by MurrayW
Thanks cday, but.... I'm not sure which variable to change
RAW_Settings.JPG
RAW_Settings.JPG (32.39 KiB) Viewed 1247 times
And moving along the exiftool command line option, I changed exifimagewidth and exifimageheight, and it now reads correctly in the XnView EXIF tab, but still 4000 x 3000 in the XnView Exiftool tab !

Re: Unintended Resize

Posted: Tue Oct 26, 2021 7:03 am
by cday
MurrayW wrote: Tue Oct 26, 2021 5:04 am ... when I save, XnView reduces the dimensions from 11760 x 8734 to 4000 x 3000
My understanding is that with Use - Half size selected your images will be opened at those pixel dimension rather than the image's full dimensions, so you probably need to select Full size.

Re: Unintended Resize

Posted: Tue Oct 26, 2021 7:11 am
by MurrayW
I did try that, but no change to saved jpeg or tiff - they are still 4000 x 3000

Re: Unintended Resize

Posted: Tue Oct 26, 2021 7:41 am
by cday
MurrayW wrote: Tue Oct 26, 2021 7:11 am I did try that, but no change to saved jpeg or tiff - they are still 4000 x 3000
If you look at the opened images's properties in Edit > Properties... (or the 'i' symbol on the toolbar) are the images being opened with those dimensions?

Re: Unintended Resize

Posted: Tue Oct 26, 2021 9:24 am
by xnview
could you send me a sample file?

Re: Unintended Resize

Posted: Tue Oct 26, 2021 10:26 pm
by MurrayW
Hi Pierre,

Edit>Properties Width = 5831 / Height = 4376

See screen grab.
File list reports 11760 x 8734
EXIF reports 4000 x 3000
RAF_Properties.JPG

Re: Unintended Resize

Posted: Tue Oct 26, 2021 10:57 pm
by MurrayW
"could you send me a sample file?"

I attempted attaching a file.
The image files are *.RAF which is not supported.
And they are too big = 133 MB...

Re: Unintended Resize

Posted: Wed Oct 27, 2021 3:30 am
by XnTriq
xnview wrote: Tue Oct 26, 2021 9:24 amcould you send me a sample file?

Re: Unintended Resize

Posted: Wed Oct 27, 2021 8:47 am
by MurrayW
XnTriq - good thinking....

here is a link to one of the RAFs: https://drive.google.com/drive/folders/ ... sp=sharing
If anyone is interested it was taken from a Cessna flying about 1800 metres above ground level.

Also, I downloaded two RAFs from the sites you linked.
Within the XnView main window/file manager view, they both report 11760x8734 under properties
And, they both report 4000 x 3000 in the EXIF and ExifTool Info tabs.

Re: Unintended Resize

Posted: Thu Oct 28, 2021 6:44 am
by xnview
by default the embedded jpeg is loaded (4000x3000), please change in Formats>Read>Camera RAW - use Full size when batch convert

Re: Unintended Resize

Posted: Sat Oct 30, 2021 2:34 am
by MurrayW
I changed Formats>Read>Camera RAW to Full size

output image as jpg/tif/png is now 11662 x 8752 (original was 11760 x 8734)

Another observation: Although the RAF images out of the camera are 11760 x 8734, the jpg out of the camera is
11648 x 8736

Anyway, I think the difference now is insignificant.

thankyou for you help.

Re: Unintended Resize

Posted: Sat Oct 30, 2021 7:00 am
by XnTriq
MurrayW wrote: Sat Oct 30, 2021 2:34 amoutput image as jpg/tif/png is now 11662 x 8752 (original was 11760 x 8734)

Another observation: Although the RAF images out of the camera are 11760 x 8734, the jpg out of the camera is 11648 x 8736
I told XnView to use Full size in ToolsSettings…FormatsReadCamera RAW. Depending on my configuration of RAWUseLibRaw, …
xnview wrote: Sat Sep 18, 2021 7:24 amright, this version use new RAW processor so i need to check...
As workaround, you can disable it in xnview.ini

Code: Select all

RAWUseLibRaw=false
… XnView reports different dimensions and bit depth for MurrayW's sample (DSCF9716.RAF):
  • RAWUseLibRaw=trueLibRaw → w11662 × h8752 × 24 bpp :bug:
    RAWUseLibRaw_true.png
  • RAWUseLibRaw=falsedcraw → w11760 × h8734 × 48 bpp :bug:
    RAWUseLibRaw_false.png
    RAWUseLibRaw_false.png (10.97 KiB) Viewed 1133 times
XnTriq wrote: Fri Oct 08, 2021 3:00 amI found an ORF sample and was expecting that changing the setting from Embedded preview to Full size would fix the issue. But it didn't :bugconfirmed:

Prior to version 0.99.0, MP's RAW functions were “based on dcraw from Dave Coffin” (HelpAboutCredits). Later versions use “Libraw instead of dcraw”. So I changed the value for the RAWUseLibRaw entry in the [Load] section of xnview.ini from true to false. XnView now reports the correct dimensions, regardless of the settings in ToolsSettings…FormatsReadCamera RAW.