ebpaj

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package ebpaj provides an epub.Validator that enforces EBPAJ (Electronic Book Publishers Association of Japan) guidelines.

Checks performed:

  • Directory layout: assets must reside under item/xhtml/, item/image/, item/style/, or directly under item/.
  • Image naming: must match item/image/p-NNN.(jpg|png).
  • Image file size: must be under 4 MB.
  • Image pixel count: must be under 4,000,000.
  • Progressive JPEG: not allowed.
  • XHTML file size: warns when exceeding 256 KB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() epub.Validator

New returns a Validator that enforces EBPAJ guidelines.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL