feat: a PNG that records 200 DPI or more offers its own size, Manter, and the Prumo says if it was kept (Rodada 5, A1)
The Site reads the pHYs chunk of a loose art; at 200 DPI or more the size in the file is the default width and a Manter button sits before the table sizes (also when the art is turned 90 degrees). The source carries saved_width_cm and saved_dpi, used only by the Prumo report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,6 +132,10 @@ class ProductionSource(StrictModel):
|
||||
# and printed; the file itself is length_cm plus both trims long.
|
||||
trim_top_cm: Decimal = Field(default=Decimal(0), ge=0, le=6000)
|
||||
trim_bottom_cm: Decimal = Field(default=Decimal(0), ge=0, le=6000)
|
||||
# The size the PNG itself recorded (item A1, round 5), only for the Prumo
|
||||
# report; nothing on the server prices or packs by it.
|
||||
saved_width_cm: Decimal | None = Field(default=None, gt=0, le=10000)
|
||||
saved_dpi: int | None = Field(default=None, ge=1, le=10000, strict=True)
|
||||
|
||||
class ProductionPlacement(StrictModel):
|
||||
source_index: int = Field(ge=0, le=199, strict=True)
|
||||
|
||||
Reference in New Issue
Block a user