PSD vast size difference problem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
waterflame
Posts: 1
Joined: 2017-02-01T02:00:11-07:00
Authentication code: 1151

PSD vast size difference problem

Post by waterflame »

So after a good amount of googling I learned everything I needed to be able to string together to automate making PSDs. It works but the problem is the vast size difference VS if I were to just do it manually. The top image was made by ImageMagick and the bottom one I did manually. I've checked and they contain the exact same images at the same resolution and size(1280x720 at 72 Resolution) but I just don't understand whats happening. Below I've also attached the command I ran to make the PSD.

Image

Code: Select all

convert sys_dialog/[sys_dialog].png ( -label "\@(1)" "sys_dialog/@(1).png" ) ( -label "\@(10)" "sys_dialog/@(10).png" ) ( -label "\@(100)" "sys_dialog/@(100).png" ) ( -label "\@(101)" "sys_dialog/@(101).png" ) ( -label "\@(11)" "sys_dialog/@(11).png" ) ( -label "\@(12)" "sys_dialog/@(12).png" ) ( -label "\@(13)" "sys_dialog/@(13).png" ) ( -label "\@(14)" "sys_dialog/@(14).png" ) ( -label "\@(15)" "sys_dialog/@(15).png" ) ( -label "\@(16)" "sys_dialog/@(16).png" ) ( -label "\@(17)" "sys_dialog/@(17).png" ) ( -label "\@(18)" "sys_dialog/@(18).png" ) ( -label "\@(19)" "sys_dialog/@(19).png" ) ( -label "\@(20)" "sys_dialog/@(20).png" ) ( -label "\@(200)" "sys_dialog/@(200).png" ) ( -label "\@(201)" "sys_dialog/@(201).png" ) ( -label "\@(21)" "sys_dialog/@(21).png" ) ( -label "\@(22)" "sys_dialog/@(22).png" ) ( -label "\@(300)" "sys_dialog/@(300).png" ) ( -label "\@(301)" "sys_dialog/@(301).png" ) ( -label "\@(501)" "sys_dialog/@(501).png" ) ( -label "\@(502)" "sys_dialog/@(502).png" ) ( -label "\[sys_dialog]" "sys_dialog/[sys_dialog].png" ) -density 72 "sys_dialog.psd" 
EDIT: The files used to make the PSD - http://www.mediafire.com/file/pl38acch6 ... dialog.zip
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: PSD vast size difference problem

Post by snibgo »

I expect the major difference is compression. Perhaps your "manual" creation (with Photoshop?) is compressed, but the IM method isn't.

A quick experiment suggests that the only compression method IM can use for PSD files is RLE, run-length encoding. So try that.

Other factors will include bit depth and number of channels.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PSD vast size difference problem

Post by fmw42 »

I have moved this topic to the User's forum since it did not seem to be for PAID consulting
Post Reply