0

次のエクスポート パラメータを使用して、JavaScript Fireworks (JSF) を使用して 32 ビット PNG ファイルをエクスポートできます。

exportFormatOptions:{
    name:"PNG size 440",
    xSize:440,
    ySize:440,
    cropTop:0,
    crop:false,
    sorting:"none",
    exportFormat:"PNG",
    paletteEntries:null,
    numGridEntries:6,
    ditherPercent:100,
    jpegSmoothness:0,
    jpegSubsampling:0,
    jpegSelQuality:90,
    percentScale:100,
    progressiveJPEG:false,
    interlacedGIF:false,
    animAutoCrop:true,
    localAdaptive:true,
    webSnapAdaptive:false,
    lossyGifAmount:0,
    jpegSelQualityEnabled:false,
    jpegSelPreserveButtons:false,
    savedAnimationRepeat:0,
    numCustomEntries:0,
    numEntriesRequested:0,
    paletteTransparency:"none",
    webSnapTolerance:14,
    jpegSelPreserveText:true,
    animAutoDifference:true,
    macCreator:"",
    macFileType:"",
    colorMode:"32 bit",
    paletteMode:"adaptive",
    paletteInfo:null,
    ditherMode:"none",
    jpegQuality:80,
    cropLeft:0,
    cropBottom:0,
    cropRight:0,
    applyScale:true,
    useScale:false,
    optimized:true,
    frameInfo:[]
}

ただし、解像度に応じて、複数の IDAT チャンクで画像データをエクスポートします。

例えば。440x440 の PNG には 10 個のチャンクがあり、160x160 の PNG には 5 個のチャンクがあります。画像データがエクスポートされるチャンクの数を制御するにはどうすればよいですか? スクリプトにエクスポート オプション パラメータを追加できますか?

4

0 に答える 0