pub fn extract_by_resource_id(
path: PathBuf,
resource_id: u32,
output: Option<PathBuf>,
) -> Result<()>Expand description
Extract a texture resource by resource ID.
Extracts displacement or texture resources by their ID rather than archive path.
§Arguments
path- Path to the 3MF fileresource_id- Resource ID of the texture (Displacement2D or Texture2D)output- Output path (None = stdout)
§Errors
Returns an error if the resource doesn’t exist or cannot be extracted.