SixLabors / ImageSharp.Drawing

:pen: Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.
https://sixlabors.com/products/imagesharp-drawing/
Other
285 stars 39 forks source link

File names are too long #262

Closed robertjb20 closed 1 year ago

robertjb20 commented 1 year ago

When using TortoiseGit on Windows 11 (Latest build and previously) or unzipping the archive, I receive the error message that the following file names are too long. Please shorten so that everyone using windows can use:

tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/CanDrawRichTextAlongPathHorizontalSolid100x100(0,0,0,255)_RichText-Path-(spiral).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/CanDrawRichTextAlongPathHorizontalSolid120x120(0,0,0,255)_RichText-Path-(triangle).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/CanDrawRichTextAlongPathHorizontalSolid350x350(0,0,0,255)_RichText-Path-(circle).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextArabicSolid500x200(0,0,0,255)_RichText-Arabic-F(32).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextArabicSolid500x300(0,0,0,255)_RichText-Arabic-F(40).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextRainbowSolid500x200(0,0,0,255)_RichText-Rainbow-F(32).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextRainbowSolid500x300(0,0,0,255)_RichText-Rainbow-F(40).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextSolid500x200(0,0,0,255)_RichText-F(32).png tests/Images/ReferenceOutput/Drawing/Text/DrawTextOnImageTests/DrawRichTextSolid500x300(0,0,0,255)_RichText-F(40).png

Thank you.

tocsoft commented 1 year ago

you have followed our instructions in the readme saying to enable long file names in git? git config --system core.longpaths true.

You can also try checking files out into a shorter root folder i.e. c:\source\IS.Draw

JimBobSquarePants commented 1 year ago

I actually got bitten by this myself recently. LFS doesn’t seem to respect long path (or I’ve missed something)

robertjb20 commented 1 year ago

Good morning.

Sorry to reply so late. I use TortoiseGIT for my interface and cannot find where to set this value in the many dialog screens. Can you tell me where I can set this value? I don't want to manually do this every time.

Thank you.

Regards,

Robert Berridge @.***

Original

From:"Scott Williams"< @.*** >;

Date:2023/3/22 7:25

To:"SixLabors/ImageSharp.Drawing"< @.*** >;

CC:"robertjb20"< @. >;"Author"< @. >;

Subject:Re: [SixLabors/ImageSharp.Drawing] File names are too long (Issue#262)

you have followed our instructions in the readme saying to enable long file names in git? git config --system core.longpaths true.

You can also try checking files out into a shorter root folder i.e. c:\source\IS.Draw

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

JimBobSquarePants commented 1 year ago

I don't use that software. You should use the console command as described above.