IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [X] Album art, Cover art copy and paste not working as expected.
Turbo B
post May 9 2017, 09:00
Post #1


Member


Group: Members
Posts: 3
Joined: 7-February 15
From: Mankato, MN
Member No.: 20411
Mp3tag Version: 2.82



When copying from the Tag Panel from one file and pasting to another the file size of the image is different. It's the same if you go into Extended Tags and right click on a cover image and then go to another file and paste into the image area. The pasted file is different.

Reproduction steps. Find album that you can test on. Let's say 10 songs in the album.
  • With 'Tag Panel' visible.
  • Highlight Songs 2-10 and remove album cover or covers.
  • Right Click and Copy album cover from Song 1.
  • Click on song 2 and via the Tag Panel and paste the cover into it.
  • For me my original Song 1 cover of 100KB is now 303KB
  • Save the tag in Song 2 that you just pasted into.
  • Copy Song 2's new cover.
  • Paste it into Song 3.
  • For me the 303KB cover is now 311KB.
  • Save the tag in Song 3.
  • Do this untill the end of the album or stop now.


When I'm done doing this and I highlight all the songs it will say "Cover Varies". Even if I highlight any two songs it will say "Cover Varies".

After all the copy and pasting the cover size in this experiment stabilized at about 314KB to 315KB.

Using a program called IrfanView I looked at the image information of the covers that I extracted one by one.

The Song 1 original image was described as this "JPEG, progressive, quality: 80, subsampling ON (2x2)".
The subsequent image files that were extracted were described as this "JPEG, quality: 100, subsampling ON (2x2)".

Lastly IrfanView was able to count the number of unique colors. It started out at 198886 for Song 1's cover and went down to 185588 by the time I got to Song 10.

This actually isn't a problem for me because I always remove all covers in an album at one time. I also paste the same image into an album all at one time from an external file.

To sum it up. The Copying and Pasting in this manner isn't really putting the same exact image into the new location. It's putting an image that looks pretty much exactly like the original but internally it is slightly different.
Go to the top of the page
 
+Quote Post
ohrenkino
post May 9 2017, 09:25
Post #2


Member


Group: Full Members
Posts: 9021
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84b



See this thread on the topic:
https://forums.mp3tag.de/index.php?showtopic=14311

That is the way if you D&D as this uses the clipboard.
If you add covers from a file in the file system, then the size stays the same.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post May 9 2017, 09:30
Post #3


Member


Group: Full Members
Posts: 6639
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.84b



QUOTE (Turbo B @ May 9 2017, 10:00) *
When copying from the Tag Panel from one file and pasting to another the file size of the image is different. ... The Copying and Pasting in this manner isn't really putting the same exact image into the new location. It's putting an image that looks pretty much exactly like the original but internally it is slightly different.

When copying an "image/png" cover picture into the Windows Clipboard, ...
where it will be stored as DIB data (device independent bitmap), ...
and afterwards pasting the Clipboard DIB data back into a file, ...
then Mp3tag stores the data as "image/jpg".
Due to this conversion process, the image size and image colors can become different.
That is normal behaviour, when applying the Clipboard.

See also ...
https://msdn.microsoft.com/en-us/library/wi...3(v=vs.85).aspx

DD.20170509.1030.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Turbo B
post May 9 2017, 09:57
Post #4


Member


Group: Members
Posts: 3
Joined: 7-February 15
From: Mankato, MN
Member No.: 20411
Mp3tag Version: 2.82



Thank you guys, DetlevD and ohrenkino, for the rapid answers. I'm satisfied with the way things work anyways. Have a nice day.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th September 2017 - 06:10