mirror of
https://github.com/gen2brain/cbconvert
synced 2026-06-30 09:11:54 +02:00
Fix 4-bit 16 color palette
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ type Converter struct {
|
||||
Workdir string
|
||||
// Number of files
|
||||
Nfiles int
|
||||
// Index of current file
|
||||
// Index of the current file
|
||||
CurrFile int
|
||||
// Number of contents in archive/document
|
||||
Ncontents int
|
||||
@@ -486,7 +486,7 @@ func (c *Converter) Preview(fileName string, fileInfo os.FileInfo, width, height
|
||||
return img, nil
|
||||
}
|
||||
|
||||
// Convert converts comic book.
|
||||
// Convert converts a comic book.
|
||||
func (c *Converter) Convert(fileName string, fileInfo os.FileInfo) error {
|
||||
c.CurrFile++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user