Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added function to convert images to .mif file format #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grnarayanan
Copy link

@grnarayanan grnarayanan commented May 4, 2023

Solves Issue #5 and adds support for producing output files in .mif format in addition.

Added convert_to_mif() function that takes in input image data and creates a string to be written to output file formatted for a mif file, specifying fields such as width, depth, radix, and content. Documented with Napoleon style doc string.

Added test case in test.py to verify functionality.

@WillGreen
Copy link
Collaborator

Hello,

Thank you for adding MIF support to img2fmem.
Could you update img2fmem/README.md to include basic info on MIF support and how to run your test?

TIA,
Will

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants