(Problem solved) Distorted aspect ratio on JPG

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

(Problem solved) Distorted aspect ratio on JPG

Post by Luc »

Hello

I had XnView 1.80.3 and everything was perfect.
So I recently updated to XnView 1.90.6 and I have now a distorted aspect ratio on some .JPG pictures.
Not all...but some.
I don't understand this as all pictures come from my camera as the source.
I don't have this problem with any other graphic editor software.
In my other computer with the XNView 1.80.3 everything is fine.
Any way to solve this problem?
Thanks.

Luke
Last edited by Anonymous on Wed Dec 05, 2007 2:33 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Distorted aspect ratio on JPG

Post by xnview »

Luke123 wrote:Hello

I had XnView 1.80.3 and everything was perfect.
So I recently updated to XnView 1.90.6 and I have now a distorted aspect ratio on some .JPG pictures.
Not all...but some.
I don't understand this as all pictures come from my camera as the source.
I don't have this problem with any other graphic editor software.
In my other computer with the XNView 1.80.3 everything is fine.
Any way to solve this problem?
Could you post or send the picture?
Pierre.
Guest

Re: Distorted aspect ratio on JPG

Post by Guest »

xnview wrote:
Luke123 wrote:Hello

I had XnView 1.80.3 and everything was perfect.
So I recently updated to XnView 1.90.6 and I have now a distorted aspect ratio on some .JPG pictures.
Not all...but some.
I don't understand this as all pictures come from my camera as the source.
I don't have this problem with any other graphic editor software.
In my other computer with the XNView 1.80.3 everything is fine.
Any way to solve this problem?
Could you post or send the picture?
Thanks.
Sure I can do it.
Don't laugh at it though!!!

http://www.mediafire.com/imageview.php? ... 2h&thumb=4


Luke
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

Post by Luc »

Dear XnView
New observation...

If I load this image or some others that don't show right on aspect ratio, and I click on "Image/Resize", the feature "keep ratio" is unchecked.
If I check it, the image becomes normal.

If I load an image that looks right and go in "Image/resize", the "Keep ratio" is checked.

So this "keep ratio" feature status seems to change from image to image.

Bizarre, n'est-ce pas?

Luke
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

Bjr Luke123 :mrgreen:

try this, svp:
  • Make a copy of your file.
  • Open the copy in XnView.
  • In View mode, go to Image » Set DPI....
  • Enter the same value for X and Y (p.ex. 72/72 or 96/96) and hit OK.
  • Save the file.
See also: modifier DPI de fichiers JPEG
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

BMP !

Post by Clo »

—> Luke123

:) Hello ! Bonsoir,

• Your sample is not a JPG, it's a BMP 1.5 MiB…
- Renamed as .BMP, it works in M$ Paint ! And it's displayed nicely.

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

Re: BMP !

Post by Luc »

Clo wrote:—> Luke123

:) Hello ! Bonsoir,

• Your sample is not a JPG, it's a BMP 1.5 MiB…
- Renamed as .BMP, it works in M$ Paint ! And it's displayed nicely.

:mrgreen: KR
Claude
Clo
Cher Claude

Merci pour ton approche.
Mortecouille!
Comment peux-tu déduire que c'est un fichier .BMP?
Je n'ai jamais converti une de mes photos en un tel format.
Je peux te confirmer que dans mes fichiers, cette photo est bien en JPG.
Comme toutes les autres, d'ailleurs.
Et comme tu dis, il s'ouvre bien dans Paint.
Et même si on change simplement le suffixe de .JPG en .BMP.
Enigme!!!

Luc, alias Luke123

_________________________________
Sorry folks...here is the translation...direct translation:

Dear Claude
Thanks for your approach.
Dead testicle!
How can you deduct that this it's a BMP file?
I never converted any of my photos in such a format.
I can confirm that this IS a JPG file.
Like all others, though.
And like you say, it opens OK in Paint.
Even if you rename the suffix from .JPG to .BMP.
Enigma!

Luke123, alias Luc
Last edited by Anonymous on Wed Dec 05, 2007 1:35 am, edited 1 time in total.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Size !

Post by Clo »

—> Luke123

:) Again… Re !
…Comment peux-tu déduire que c'est un fichier .BMP?
… How can you deduce that it's a BMP file ?
• Very simple : Just looking at its size !
- Testing it with the canvas function, then, I saved it, and the programme saved as JPG, since it had this extension ! Surprise :
The size was then 371 KiB only, instead of 1,5 MiB before ! That set me thinking…
[Aside : There is a French section in that forum, where we miss good French a lot… ;) ]

:mrgreen: KR
Claude
Clo
Last edited by Clo on Wed Dec 05, 2007 1:20 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

Post by Luc »

XnTriq wrote:Bjr Luke123 :mrgreen:

try this, svp:
  • Make a copy of your file.
  • Open the copy in XnView.
  • In View mode, go to Image » Set DPI....
  • Enter the same value for X and Y (p.ex. 72/72 or 96/96) and hit OK.
  • Save the file.
See also: modifier DPI de fichiers JPEG
XNtriq

Thanks for the reply but...
No. This did not change anything.
I just tried the same JPG file in another computer with XNView and while it displayed perfectly fine in this computer, the reported DPI numbers in "Image/Set DPI" were the same in both computers.
I found that following my observation in my preceding reply in this post, all I have to do after having checked "Keep ratio" in "Image/resize", is to save the modified file.
And that's it.
Next time it shows OK.
Weird solution for a weird problem.
But I still love XnView!

Luke123
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

Re: Size !

Post by Luc »

Clo wrote:—> Luke123

:) Again… Re !
…Comment peux-tu déduire que c'est un fichier .BMP?
… How can you deduce that it's a BMP file ?
• Very simple : Just looking at its size !
- Testing it with the canvas function, then, I saved it, and the programme saved as JPG, since it had this extension ! Surprise :
The size was then 371 KiB only, instead of 1,5 MiB before ! That set me thinking…
[Aside : There is a French section in that forum, where we miss good French a lot… ;) ]

:mrgreen: KR
Claude
Clo
Claude

I'm sorry. I will edit/translate my back post immediately!

Luke123
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Invitation

Post by Clo »

—> Luke123

:) No reproach, it was just an invitation ( I've not any official post in that forum…).

:mrgreen: KR
Claude
Clo
Last edited by Clo on Wed Dec 05, 2007 12:05 pm, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Distorted aspect ratio on JPG

Post by xnview »

So, it's a jpeg with strange different DPI for X & Y!
You can disabled option/General/Adjust zoom if X/Y dpi...
Pierre.
Luc
Posts: 13
Joined: Wed Jul 24, 2013 2:59 pm

Post by Luc »

Way to go Pierre!
This is the solution.
Thanks very much.

Luke123
Post Reply