Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3695

FileType.Extension("jpg;jpeg") wooes

$
0
0

on macOS / 2024r4.2 / Sequoia 15.4:


Var jpegType As New FileType
jpegType.Name = "image/jpeg"

jpegType.Extensions = "jpg;jpeg"

dropped .jpg files are rejected.

If I keep only “jpg” in Extensions, the same image is read.
If I keep only “jpeg” in Extensions, the same image is rejected; its extension is .jpg.

Must I add a second FileType for JPEG ?

PS: tested with 2025r1 with the same behavior.

9 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3695

Trending Articles