Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Bug? JPEG ≠ JPG  (Read 1674 times)

CoriDavis

  • Sr. Member
  • ****
  • Posts: 555
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Bug? JPEG ≠ JPG
« on: February 13, 2025, 02:59:07 pm »

Anim8or has always been able to open JPG files, and I always thought JPG and JPEG were one and the same, and interchangeable. But not only does Anim8or not find files labeled JPEG, but changing the extension to JPG manually and then trying to open it causes Anim8or to crash.

Are JPG and JPEG really fundamentally different?
Is it a complicated fix to recognize JPEG?

Not that it's hard on my end to use an art program to save as .jpg, but it seems like an extra step.
« Last Edit: February 13, 2025, 03:04:20 pm by CoriDavis »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
    • View Profile
Re: Bug? JPEG ≠ JPG
« Reply #1 on: February 17, 2025, 10:07:56 am »

As I understand it, there isn't any difference between a .jpg and a .jpeg file, just the extension. Can you send me the file that crashes? And how are you trying to use it? As a texture, background, etc.?
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 555
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: Bug? JPEG ≠ JPG
« Reply #2 on: February 17, 2025, 11:08:41 pm »

I had started a fresh Anim8or file, and tried to import the image as a Reference Image. I attached it below.

The one with the JPEG extension can't be found at all, and the one with the JPG extension is the one where I changed it to JPG by renaming the extension in Explorer. Trying to open this image file through the Reference Image menu causes Anim8or to crash.

However, if I open the image in Paint and save it as JPG, it opens in Anim8or without any problems.

I did a little research and discovered that apparently, there are a few differences between JPG and JPEG, namely that JPEG allows storing metadata which JPG does not. Perhaps this could cause some conflict in what Anim8or is expecting when it tries to read the file.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
    • View Profile
Re: Bug? JPEG ≠ JPG
« Reply #3 on: February 18, 2025, 07:27:45 am »

Very interesting, thanks. I didn't write the .JPG code used in Anim8or but got it from the Independent JPEG Group. Perhaps they have an updated library that I can use.
Logged