mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
engine: drop an unused re-export
This commit is contained in:
1 parent
9d9b465e08
commit
aeabe8e2be
2 files changed
+2
-4
No files matched your search
@@ -35,9 +35,7 @@ pub use pattern_stamp::{
|
||||
};
|
||||
mod periodic;
|
||||
mod remove;
|
||||
pub use content_aware_move::{
|
||||
ContentAwarePreview, preview as content_aware_move_preview, preview_with_pixel_budget as content_aware_move_preview_with_pixel_budget,
|
||||
};
|
||||
pub use content_aware_move::{ContentAwarePreview, preview as content_aware_move_preview};
|
||||
pub use patch::preview as patch_preview;
|
||||
|
||||
fn bad(cmd: &str, msg: impl Into<String>) -> EngineError {
|
||||
|
||||
@@ -700,7 +700,7 @@ pub fn preview(s: &Session, p: &Value) -> Result<ContentAwarePreview> {
|
||||
}
|
||||
|
||||
/// Prepare a preview with a bound on the number of pixels solved at full resolution.
|
||||
pub fn preview_with_pixel_budget(s: &Session, p: &Value, max_pixels: u64) -> Result<ContentAwarePreview> {
|
||||
pub(crate) fn preview_with_pixel_budget(s: &Session, p: &Value, max_pixels: u64) -> Result<ContentAwarePreview> {
|
||||
let captured = crate::channel_cmds::inject_target(s, CMD, p.clone());
|
||||
let p = &captured;
|
||||
let plan = plan(s, p, PREVIEW_MARGIN)?;
|
||||
|
||||
Reference in new issue
Block a user