Destroys the whole asset shape
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- dart
- Domain
- cli, computer-graphics
Research direction
Start with the failing command and the stack trace locations in src/image_decode.dart and src/image.dart, especially findStretch. Inspect how the supplied .9.png is decoded and run the existing CLI reproduction; done means the input is handled consistently and the expected JSON file is produced or the validation explains the rejection.
Written by the indexing model from the issue text.
Description
So I got the png from your give project
nad went to this website https://www.9patch.online/editor and created the 9 patch image of this png and this website gives me this 9 slice image
and now when i run
dart run nine_patcher path/to/the/.9.png/image and then it returns this error
Unhandled exception:
InvalidNinePatchException: 'No stretch area found along the top.'
#0 findStretch (package:nine_patcher/src/image_decode.dart:115:5)
#1 decodeNinePatchMetadata (package:nine_patcher/src/image_decode.dart:24:19)
#2 new NinePatchImage.fromImage (package:nine_patcher/src/image.dart:18:22)
#3 main (file:///Users/ahmadizaz/.pub-cache/hosted/pub.dev/nine_patcher-1.0.1/bin/nine_patcher.dart:65:29)
<asynchronous suspension>
Now Okay the error is self explanatory but whatever image I add, it always just gives the error. was not able to create .json file for once.
- Dominant language
- Dart
- Stars
- 2
- Forks
- 0
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/tmail-flutter#4849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
mlcommons/mobile_app_open#1182 ·
-
[Bug] Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bggRGjQaUbCoE/PiliPlus#3048 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
zulip/zulip-flutter#2466 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100