"logical screen" and "image size"

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
tmplinshi
Posts: 1
Joined: Tue Dec 28, 2010 9:43 am

"logical screen" and "image size"

Post by tmplinshi »

How to create a transparent picture with different "logical screen" and "image size"?

-.gif :
Image

test.gif :

Code: Select all

nconvert -new 120 120 8 -text_flag center -text "test" -transpcolor 255 255 255 -colors 8 -out gif -o test.gif
Image

picture information :
D:\>gifsicle --color-info < "-.gif"
* <stdin> 1 image
logical screen 120x120
global color table [2]
| 0: #000000 1: #000000
background 0
loop forever
+ image #0 8x4 at 99,94
delay 0.50s

D:\>gifsicle --color-info < "test.gif"
* <stdin> 1 image
logical screen 120x120
global color table [8]
| 0: #FFFFFF 2: #000000 4: #000000 6: #000000
| 1: #000000 3: #000000 5: #000000 7: #000000
background 0
+ image #0 120x120 transparent 0

D:\>nconvert -quiet -info "-.gif"

-.gif : Success
Format : Compuserve GIF (Version 89a)
Name : gif
Compression : LZW
Width : 8
Height : 4
Components per pixel : 1
Bits per component : 1
Depth : 1
# colors : 2
Color model : RGB
Bytes Per Plane : 8
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1

D:\>nconvert -quiet -info "test.gif"

test.gif : Success
Format : Compuserve GIF (Version 89a)
Name : gif
Compression : LZW
Width : 120
Height : 120
Components per pixel : 1
Bits per component : 3
Depth : 3
# colors : 8
Color model : RGB
Bytes Per Plane : 120
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
Post Reply