Closed geoff-powell closed 1 month ago
Description When providing a name to a paparazzi.gif() call, the outfile does not contain the name
name
paparazzi.gif()
Steps to Reproduce
package paparazzi.sample
class GifTest { @Test fun animation() { val buildView = { ComposeView(paparazzi.context).apply { setContent { Text(text = "Hello") } } } paparazzi.gif(buildView()) paparazzi.gif(buildView(), name = "two", fps = 2, end = 500) paparazzi.gif(buildView(), name = "middle-anim", start = 300) } }
* Only 1 output APNG is generated `paparazzi.sample_GifTest_animation.png` in `snapshots/videos` **Expected behavior** Should generate 3 APNG files in `snapshots/videos` * `paparazzi.sample_GifTest_animation.png` * `paparazzi.sample_GifTest_animation_two.png` * `paparazzi.sample_GifTest_animation_middle_anim.png` **Additional information:** - Paparazzi Version: 1.3.4 - OS: Mac OS 14.7 - Compile SDK: 34 - Gradle Version: 8.10.2 - Android Gradle Plugin Version: 8.4.1
My mistake, my gradle task was not running recordPaparazzi correctly so this is working as expected. Closed
recordPaparazzi
Description When providing a
name
to apaparazzi.gif()
call, the outfile does not contain the nameSteps to Reproduce
class GifTest { @Test fun animation() { val buildView = { ComposeView(paparazzi.context).apply { setContent { Text(text = "Hello") } } } paparazzi.gif(buildView()) paparazzi.gif(buildView(), name = "two", fps = 2, end = 500) paparazzi.gif(buildView(), name = "middle-anim", start = 300) } }