Unintended Resize

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Unintended Resize

Post 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
Last edited by MurrayW on Tue Oct 26, 2021 6:17 am, edited 1 time in total.
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Unintended Resize

Post 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
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post by MurrayW »

Thanks cday, but.... I'm not sure which variable to change
RAW_Settings.JPG
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 !
You do not have the required permissions to view the files attached to this post.
Last edited by MurrayW on Tue Oct 26, 2021 7:10 am, edited 1 time in total.
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Unintended Resize

Post 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.
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post by MurrayW »

I did try that, but no change to saved jpeg or tiff - they are still 4000 x 3000
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Unintended Resize

Post 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?
User avatar
xnview
Author of XnView
Posts: 36286
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unintended Resize

Post by xnview »

could you send me a sample file?
Pierre.
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by MurrayW on Tue Oct 26, 2021 11:27 pm, edited 1 time in total.
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post 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...
User avatar
XnTriq
Moderator & Librarian
Posts: 5897
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unintended Resize

Post by XnTriq »

xnview wrote: Tue Oct 26, 2021 9:24 amcould you send me a sample file?
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post 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.
User avatar
xnview
Author of XnView
Posts: 36286
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unintended Resize

Post by xnview »

by default the embedded jpeg is loaded (4000x3000), please change in Formats>Read>Camera RAW - use Full size when batch convert
Pierre.
MurrayW
Posts: 7
Joined: Tue Oct 26, 2021 4:58 am

Re: Unintended Resize

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 5897
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unintended Resize

Post 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
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.
You do not have the required permissions to view the files attached to this post.