inst/shiny_app/ui.R

shiny::pageWithSidebar(

  shiny::headerPanel("display image"),

  shiny::sidebarPanel(

    shiny::sliderInput("height_width", "Adjust Image Height and Width:",

                       min = 1, max = 1000,  value = 575)
  ),
  shiny::mainPanel(

    shiny::imageOutput("myImage")
  )
)

Try the OpenImageR package in your browser

Any scripts or data that you put into this service are public.

OpenImageR documentation built on July 9, 2023, 5:43 p.m.