Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th March 2011, 17:11   #1  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,375
JPG Decoding

I was just doing some tests and to my surprise jpg decoding in avisynth wasn't the same as photoshop's, it could be asked the other way around, but since Im on doom9 I ask it from this point of view.
I run some tests and I got some results. Jpg decoding in avisynth using Imagesource, and immaread were the same as default windows Image Viewer. And different to photoshop's as much as (look difference mask below):



My question is just for asking if imagesource is doing the right thing or not
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 30th March 2011, 17:29   #2  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,402
Can't tell you that. But it reminds me of a situation in my company, happened just yesterday.

We got six JPGs from a customer, which had to be included/used by a 3rd company software module (for label printing). Three of the JPGs worked, the other three didn't show a picture in the label software. I looked into the EXIF data, and found that the three non-working pictures were created by Adobe PhotoShop (OS: Macintosh.)
Converted the $$$$ Application pictures with a 0$ Freeware (IrfanView), and the problem was solved.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 30th March 2011, 17:37   #3  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,375
I come from the CG field where softwares like photoshop or painter are necessary. Im not sold on any kind of software, Im just trying to decide for what things should use one or another.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 30th March 2011, 18:50   #4  |  Link
pandy
Registered User
 
Join Date: Mar 2006
Posts: 1,050
My question is: is Photoshop doing JPEG decoding correctly? - use DJPEG - reference jpeg decoder and compare results - which one is more close to the DJPEG?
pandy is offline   Reply With Quote
Old 30th March 2011, 19:31   #5  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,375
Yes, that was the other point of view of my question, quite expectable since it was the only one with different results. I just used DJPEG and is the same as imagesource. Thanks for the help! : D
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 18th November 2011, 17:42   #6  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,375
Seems that Photoshop uses old IJL (Intel Jpeg Library), while most programs use IJG (Independent jpeg group) library. IJL now is dropped and instead there's Intel IPP (Integrated Performance Primitives). Does anyone know where can I test any implementation of this last library? I always heard in doom9 that decoding cannot be good or bad, but instead decodes, or no decodes. But asking in another forum I was told that "JPEG has a lot of leeway in how the images are reconstructed".
btw I don't mind if the thread is moved to General Discussion, since it has got another course.
Dogway is offline   Reply With Quote
Old 18th November 2011, 18:23   #7  |  Link
amtm
Guest
 
Posts: n/a
Quote:
Originally Posted by Dogway View Post
I always heard in doom9 that decoding cannot be good or bad, but instead decodes, or no decodes. But asking in another forum I was told that "JPEG has a lot of leeway in how the images are reconstructed".
Are you sure you aren't just wrongfully conflating what is said about H.264 decoding to JPEG decoding? Can you link to where someone made that claim with respect to JPEG? The second statement, though, is the correct one. JPEG decoding in the standards has precision requirements but does not have requirements that all decoders output identically. This is the same as the case for mpeg-2 or mpeg-4 asp video formats, for example.

Last edited by amtm; 18th November 2011 at 18:58.
  Reply With Quote
Reply

Tags
jpg image decoding

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.