goph-R / TilePad

Padding creator for Tiled tilesets
Other
1 stars 0 forks source link

Compression? artifacts #5

Open charlie59876 opened 5 years ago

charlie59876 commented 5 years ago

padding and unpadding isn't perfect and often leaves some kind of artifacts. padding once etc isn't too bad but if you repeatedly pad and unpad multiple times which i do to test things the image can degrade more and more

goph-R commented 4 years ago

You should use always the original source file for processing. If you add padding, then export, then remove padding, then export artifacts can happen if you use JPEG for example. Never do that!

Use a source file for work. You should always save your changes to that file, and that file should use a pixel precise save method (PNG, PSD, XCF and so on). When you want to use it in your level, export it to PNG, then do the padding.

charlie59876 commented 4 years ago

I always save and export to png and the artifacts are still there

On Thu, 12 Dec 2019, 9:15 am Gábor László, notifications@github.com wrote:

You should use always the original source file for processing. If you add padding, then export, then remove padding, then export artifacts can happen if you use JPEG for example. Never do that!

Use a source file for work. You should always save your changes to that file, and that file should use a pixel precise save method (PNG, PSD, XCF and so on). When you want to use it in your level, export it to PNG, then do the padding.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AJETQVP3YKXG26WTCSW6ZTTQYH6KXA5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGV7UJY#issuecomment-564918823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJETQVPBPNEA7FJTEZBEQ53QYH6KXANCNFSM4JCUCOEQ .

goph-R commented 4 years ago

Could you upload an example image please? Thanks!

On Thu, Dec 12, 2019, 11:48 charlie59876 notifications@github.com wrote:

I always save and export to png and the artifacts are still there

On Thu, 12 Dec 2019, 9:15 am Gábor László, notifications@github.com wrote:

You should use always the original source file for processing. If you add padding, then export, then remove padding, then export artifacts can happen if you use JPEG for example. Never do that!

Use a source file for work. You should always save your changes to that file, and that file should use a pixel precise save method (PNG, PSD, XCF and so on). When you want to use it in your level, export it to PNG, then do the padding.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AJETQVP3YKXG26WTCSW6ZTTQYH6KXA5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGV7UJY#issuecomment-564918823 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJETQVPBPNEA7FJTEZBEQ53QYH6KXANCNFSM4JCUCOEQ

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AAZPX6ILN4LDVYWIUWNPDQLQYIJF7A5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGWILTQ#issuecomment-564954574, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZPX6IUE43RUBVVRBQYJDTQYIJF7ANCNFSM4JCUCOEQ .

charlie59876 commented 4 years ago

I will when i get home

On Thu, 12 Dec 2019, 10:49 am Gábor László, notifications@github.com wrote:

Could you upload an example image please? Thanks!

On Thu, Dec 12, 2019, 11:48 charlie59876 notifications@github.com wrote:

I always save and export to png and the artifacts are still there

On Thu, 12 Dec 2019, 9:15 am Gábor László, notifications@github.com wrote:

You should use always the original source file for processing. If you add padding, then export, then remove padding, then export artifacts can happen if you use JPEG for example. Never do that!

Use a source file for work. You should always save your changes to that file, and that file should use a pixel precise save method (PNG, PSD, XCF and so on). When you want to use it in your level, export it to PNG, then do the padding.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AJETQVP3YKXG26WTCSW6ZTTQYH6KXA5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGV7UJY#issuecomment-564918823

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AJETQVPBPNEA7FJTEZBEQ53QYH6KXANCNFSM4JCUCOEQ

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub < https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AAZPX6ILN4LDVYWIUWNPDQLQYIJF7A5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGWILTQ#issuecomment-564954574 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAZPX6IUE43RUBVVRBQYJDTQYIJF7ANCNFSM4JCUCOEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goph-R/TilePad/issues/5?email_source=notifications&email_token=AJETQVN3VUC7KQXSYYZAVQLQYIJKLA5CNFSM4JCUCOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGWIO5Q#issuecomment-564954998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJETQVIUOWH2GTUGFUBZHD3QYIJKLANCNFSM4JCUCOEQ .

charlie59876 commented 4 years ago

compression i made a file with the artifacts shown, they were much worse but i fixed them up. sadly i don't have the original image with the artifacts sorry. the right image the tiles overlap as well