AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio

CSV Annotation / Note Export Creates Corrupted JPG Files

Open
#167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
773
Forks
129
Avg merge
9d 1m
Merged PRs (30d)
10

Description

Describe the bug
When exporting annotations as CSV, the accompanying .jpg files are corrupted and cannot be opened by any standard image viewer.

I've confirmed using a hex editor that the files begin with the correct JPEG header FF D8 FF E0, but the rest of the file data appears to be incomplete or malformed.

To Reproduce
After making annotations and notes export the CSV
File > Export > Notes as CSV ...

Expected behavior
JPG files for annotations to go along with the CSV

Screenshots

Image Image

Desktop (please complete the following information):

  • OS: Win 11

Additional context
This is on a fresh build as of this morning.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem from File > Export > Notes as CSV after creating annotations and notes on Windows 11. Start by tracing the Notes as CSV export entry point and compare the generated JPG bytes with a valid JPEG. Done means the exported JPG files open in standard image viewers and accompany the CSV as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.