TurboWarp / desktop

A better offline editor for Scratch 3.
https://desktop.turbowarp.org/
GNU General Public License v3.0
365 stars 79 forks source link

Images upload as Bitmap #994

Closed endless-programmer closed 4 months ago

endless-programmer commented 4 months ago

When you upload an image, it automatically sets the mode to Bitmap instead of Vector. This makes the image look pixelated which cannot be undone.

GarboMuffin commented 4 months ago

what image are you uploading? it only sets to bitmap if the file you selected was bitmap

endless-programmer commented 4 months ago

No, I've been downloading normal images. It seems to set all of the images to Bitmap, regardless of the resolution.

Sent with Proton Mail secure email.

On Saturday, May 18th, 2024 at 11:42 PM, GarboMuffin @.***> wrote:

what image are you uploading? it only sets to bitmap if the file you selected was bitmap

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

GarboMuffin commented 4 months ago

Vector images will have a name that ends with ".svg". If your image has a "resolution" then by definition it is not vector as vector images are defined by shapes and lines, not pixels.

GarboMuffin commented 4 months ago

And I did just test, if I import a .svg then it will be added as vector, as intended. Any other format like .png, .jpg, .webp, .bmp, etc. is ALWAYS bitmap. Some bitmaps are higher resolution but they are always bitmaps.

GarboMuffin commented 4 months ago

If you still think there is something wrong then please provide an example file

endless-programmer commented 4 months ago

Okay, I'll try it.

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:46 AM, GarboMuffin @.***> wrote:

And I did just test, if I import a .svg then it will be added as vector, as intended. Another other format like .png, .jpg, .webp, .bmp, etc. is ALWAYS bitmap. Some bitmaps are higher resolution but they are always bitmaps.

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

endless-programmer commented 4 months ago

I just tried uploading an image as an svg, and it gave me a question mark. What does that mean?

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:48 AM, Levi Hathaway @.***> wrote:

Okay, I'll try it.

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:46 AM, GarboMuffin @.***> wrote:

And I did just test, if I import a .svg then it will be added as vector, as intended. Another other format like .png, .jpg, .webp, .bmp, etc. is ALWAYS bitmap. Some bitmaps are higher resolution but they are always bitmaps.

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

GarboMuffin commented 4 months ago

Okay, give me the file you tried to upload

endless-programmer commented 4 months ago

Actually I just tried to rename a jpeg to an svg, now i realize that in order for it to be an svg it has to originally be one.

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:51 AM, Levi Hathaway @.***> wrote:

I just tried uploading an image as an svg, and it gave me a question mark. What does that mean?

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:48 AM, Levi Hathaway @.***> wrote:

Okay, I'll try it.

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:46 AM, GarboMuffin @.***> wrote:

And I did just test, if I import a .svg then it will be added as vector, as intended. Another other format like .png, .jpg, .webp, .bmp, etc. is ALWAYS bitmap. Some bitmaps are higher resolution but they are always bitmaps.

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

endless-programmer commented 4 months ago

I actually uploaded a jpeg that I tried to rename to an svg. It was my own mistake, not a problem with Turbowarp.

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:55 AM, GarboMuffin @.***> wrote:

Okay, give me the file you tried to upload

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

endless-programmer commented 4 months ago

Obviously, I'm new to this.😀

Sent with Proton Mail secure email.

On Monday, May 20th, 2024 at 10:55 AM, GarboMuffin @.***> wrote:

Okay, give me the file you tried to upload

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