Swiftarr - The v3 Twitarr server (100% documented)

GitHub View on GitHub

Swiftarr Enumerations swiftarr.ImportableFormat Enumeration Reference

  • Overview
    • Documentation
    • Contributing
    • Development
    • Roadmap
    • Special Files
    • Release Calendar
  • Operations
    • Configuration
    • MacOS Installation
    • Linux Installation
    • Docker Installation
    • Database Migration
  • Twitarr API
    • Pitch
    • API Overview
    • Canonical Links
    • API Changelist
    • Example
  • Controllers
    • AdminController
    • – ImportError
    • AlertController
    • AuthController
    • BoardgameController
    • ClientController
    • EventController
    • FezController
    • – FezURLQueryStruct
    • ForumController
    • HuntController
    • ImageController
    • KaraokeController
    • MicroKaraokeController
    • ModerationController
    • PerformerController
    • – PerformerLinksData
    • PersonalEventController
    • PhonecallController
    • PhotostreamController
    • TestController
    • TwitarrController
    • UserController
    • UsersController
  • Models
    • AlertWord
    • Announcement
    • Boardgame
    • Category
    • DailyTheme
    • Event
    • FezPost
    • ForumEdit
    • ForumPostEdit
    • ForumPost
    • Forum
    • FriendlyFezEdit
    • FriendlyFez
    • Hunt
    • KaraokePlayedSong
    • KaraokeSong
    • ModeratorAction
    • MuteWord
    • ProfileEdit
    • Puzzle
    • RegistrationCode
    • Report
    • TimeZoneChange
    • Token
    • TwarrtEdit
    • Twarrt
    • UserNote
    • UserRole
    • User
  • Enumerations
    • CallInResult
    • ContentModerationStatus
    • EventModification
    • EventType
    • ExportableFormat
    • FezType
    • GDError
    • ImageSizeGroup
    • ImageUsage
    • ImportableFormat
    • LikeType
    • ModeratorActionType
    • NotificationType
    • ReportType
    • SwiftarrClientApp
    • SwiftarrFeature
    • UserAccessLevel
    • UserRoleType
  • Request Structs
    • AnnouncementCreateData
    • EventsUpdateData
    • FezContentData
    • ForumCreateData
    • ImageUploadData
    • NoteCreateData
    • PostContentData
    • ReportData
    • UserCreateData
    • UserPasswordData
    • UserRecoveryData
    • UserUsernameData
    • UserVerifyData
  • Return Structs
    • AddedUserData
    • AnnouncementData
    • BoardgameData
    • BoardgameResponseData
    • CategoryData
    • CreatedUserData
    • CurrentUserData
    • EventData
    • FezData
    • – MembersOnlyData
    • FezPostData
    • ForumData
    • ForumListData
    • HuntData
    • HuntListData
    • HuntPuzzleCallInResultData
    • HuntPuzzleDetailData
    • NoteData
    • PostData
    • PostDetailData
    • ProfilePublicData
    • TokenStringData
    • TwarrtData
    • TwarrtDetailData
    • UserHeader
    • UserSearch
  • Extensions
    • Application
    • – UserCacheStorage
    • – UserCacheStorageKey
    • – UserCacheLockKey
    • – WebSocketStorage
    • – WebSocketStorageKey
    • – WebSocketStorageLockKey
    • Array
    • CharacterSet
    • Collection
    • Comparable
    • Data
    • Date
    • Formatter
    • Foundation
    • – UUID
    • ISO8601DateFormatter
    • JSONDecoder
    • – DateDecodingStrategy
    • JSONEncoder
    • – DateEncodingStrategy
    • Model
    • PathComponent
    • QueryBuilder
    • – PostgresConverterDelegate
    • – SQLArrayDataType
    • – AllPlusCountFields
    • RedisClient
    • Request
    • – UserCache
    • – WebSocketStorage
    • – Redis
    • SiblingsProperty
    • String
    • Substring
  • Migrations
    • CreateAdminUsers
    • CreateAlertWordPivotSchema
    • CreateAlertWordSchema
    • CreateAnnouncementSchema
    • CreateBoardgameFavoriteSchema
    • CreateBoardgameSchema
    • CreateCategories
    • – CategoryCreateInfo
    • CreateCategorySchema
    • CreateClientUsers
    • – ClientUserData
    • CreateCustomEnums
    • CreateDailyThemeSchema
    • CreateEventFavoriteSchema
    • CreateEventSchema
    • CreateFezParticipantSchema
    • CreateFezPostSchema
    • CreateForumEditSchema
    • CreateForumPostEditSchema
    • CreateForumPostSchema
    • CreateForumReadersSchema
    • CreateForums
    • CreateForumSchema
    • CreateFriendlyFezEditSchema
    • CreateFriendlyFezSchema
    • CreateHuntSchema
    • CreateKaraokeFavoriteSchema
    • CreateKaraokePlayedSongSchema
    • CreateKaraokeSongSchema
    • CreateModeratorActionSchema
    • CreateMuteWordSchema
    • CreatePostLikesSchema
    • CreateProfileEditSchema
    • CreatePuzzleCallInSchema
    • CreatePuzzleSchema
    • CreateRegistrationCodeSchema
    • CreateReportSchema
    • CreateTestData
    • CreateTestUsers
    • CreateTimeZoneChangeSchema
    • CreateTokenSchema
    • CreateTwarrtEditSchema
    • CreateTwarrtLikesSchema
    • CreateTwarrtSchema
    • CreateUserFavoriteSchema
    • CreateUserNoteSchema
    • CreateUserRoleSchema
    • CreateUserSchema
    • ImportBoardgames
    • ImportEvents
    • ImportKaraokeSongs
    • ImportRegistrationCodes
    • SetInitialCategoryForumCounts
    • SetInitialEventForums
    • UpdateForumReadersLastPostReadSchema
    • UpdateForumReadersMuteSchema
  • Pivots
    • AlertWordPivot
    • BoardgameFavorite
    • EventFavorite
    • FezParticipant
    • ForumReaders
    • KaraokeFavorite
    • PostLikes
    • PuzzleCallIn
    • TwarrtLikes
    • UserFavorite
  • Protocols
    • APIRouteCollection
    • ContentFilterable
    • ExportableFormatter
    • FezProtocol
    • ImportableFormatter
    • LibGdExportableFormatter
    • LibGdImportableFormatter
    • LibGdParametrizableExportFormatter
    • RCFValidatable
    • Reportable
    • Searchable
    • SiteControllerUtils
    • StoredSetting
  • Internal Structs/Classes
    • EventParser
    • Settings
    • – SettingsValue
    • – StoredSettingsValue
  • Site Controllers
    • SiteAdminController
    • – AnnouncementViewData
    • – ManageUserLevelViewContext
    • SiteBoardgameController
    • SiteController
    • SiteEventsController
    • SiteFileController
    • SiteForumController
    • SiteFriendlyFezController
    • SiteHuntController
    • SiteKaraokeController
    • SiteLoginController
    • – LoginPageContext
    • – UserCreatedContext
    • SiteModController
    • SitePerformerController
    • SitePhotostreamController
    • SitePrivateEventController
    • – AppointmentColor
    • – AppointmentVisualData
    • – TableRow
    • SiteSeamailController
    • – SeamailRootPageContext
    • – SeamailQueryOptions
    • – SeamailCreateFormContent
    • SiteTwitarrController
    • SiteUserController
  • Middleware
    • SwiftarrErrorMiddleware
    • CalendarSessionFixerMiddleware
    • DisabledAPISectionMiddleware
    • DisabledSiteSectionMiddleware
    • MinUserAccessLevelMiddleware
    • NotificationsMiddleware
    • RequireAdminMiddleware
    • RequireModeratorMiddleware
    • RequireTHOMiddleware
    • RequireTwitarrTeamMiddleware
    • RequireVerifiedMiddleware
    • SiteErrorMiddleware
    • SiteMinUserAccessLevelMiddleware
    • SiteNoRouteErrorMiddleware
    • SiteRequireAdminMiddleware
    • SiteRequireModeratorMiddleware
    • SiteRequireTHOMiddleware
    • SiteRequireTwitarrTeamMiddleware
    • SiteRequireVerifiedMiddleware
  • Other Guides
    • Privacy
  • Other Actors
    • ActivePhoneCalls
    • – PhoneCall
  • Other Classes
    • CryptoHelper
    • DecoderProxy
    • EventPerformer
    • GDImage
    • – FlipMode
    • – ImageType
    • ICSHelper
    • MKSnippet
    • MKSong
    • Performer
    • PersonalEvent
    • ScheduleLog
    • StreamPhoto
    • UpdateScheduleJobBase
    • ValidatingDecoder
    • – ValidatingUnkeyedContainer
    • – ValidatingSingleValueContainer
    • ValidatingJSONDecoder
  • Other Global Variables
    • usernameSeparatorString
  • Other Enumerations
    • DinnerTeam
    • Entrypoint
    • EventNotificationSetting
    • ExplicitNull
    • MailInbox
    • PhotoStreamBoatLocation
    • PrivilegedUser
  • Other Extensions
    • Foundation.Bundle
    • KeyedDecodingContainer
    • KeyedEncodingContainer
    • Route
    • RoutesBuilder
    • Swift
    • – Bool
  • Other Functions
    • generateContentGroups(from:)
    • generateSchedule(startDate:length:)
    • getImagePath(for:format:usage:size:on:)
    • printEvent(date:startTime:endTime:summary:description:location:categories:uid:)
    • routes(_:)
    • titleAndTab(for:)
    • titleAndTab(for:seamail:)
    • usernameValidations(username:)
  • Other Protocols
    • APICollection
  • Other Structures
    • AddDeletedTimestampToFezParticipantSchema
    • AddDiscordRegistrationMigration
    • AddFoodDrinkCategory
    • AddJocomojiTag
    • AddPerformerFormContent
    • AddWordFormStruct
    • AlertmanagerAlert
    • AlertmanagerWebhookPayload
    • Angle
    • AvatarTag
    • BMPFormatter
    • BoardgameRecommendationData
    • BoardgameSchemaAdditions1
    • BulkUserUpdateVerificationData
    • – BulkUserUpdateCounts
    • Color
    • CreateCallInResultEnum
    • CreateCategoriesV2
    • – CategoryCreateInfo
    • CreateEventPerformerSchema
    • CreateFezPostFormContent
    • CreateMKSnippetSchema
    • CreateMKSongSchema
    • CreateMicroKaraokeUser
    • CreatePerformanceIndexes
    • CreatePerformerSchema
    • CreatePersonalEventSchema
    • CreatePrivateEventPostFormContent
    • CreateScheduleLogSchema
    • CreateSeamailSearchIndexes
    • CreateSearchIndexes
    • CreateStreamPhotoSchema
    • CruiseDayIndexTag
    • DailyThemeData
    • DailyThemeUploadData
    • DinnerTeamTag
    • DisabledFeature
    • DisabledFeaturesGroup
    • EmptyJobPayload
    • ErrorResponse
    • EventPageContext
    • – CruiseDay
    • EventPerformerValidationData
    • EventTimeTag
    • EventUpdateDifferenceData
    • EventUpdateLogData
    • EventsQueryStruct
    • FeatureDisableOverrideStorageKey
    • FezCreateUpdatePageContext
    • FezEditLogData
    • FezListData
    • FezListPageContext
    • – FezTab
    • – QueryParams
    • FezModerationData
    • FezPostModerationData
    • FezTimeTag
    • FixForumPostPinnedMigration
    • FormatPostTextTag
    • – Usage
    • ForumEditLogData
    • ForumModerationData
    • ForumPageContext
    • ForumPostModerationData
    • ForumPostSearchQueryOptions
    • ForumSearchData
    • ForumsSearchPageContext
    • – SearchType
    • – QueryParams
    • ForumsSortOrder
    • GIFFormatter
    • GameListContext
    • – QueryOptions
    • GameRatingTag
    • GenerateDiscordRegistrationCodes
    • GenerateScheduleCommand
    • – Signature
    • HealthResponse
    • HuntCreateData
    • HuntListItemData
    • HuntPatchData
    • HuntPuzzleCreateData
    • HuntPuzzleData
    • HuntPuzzlePatchData
    • ImportTimeZoneChanges
    • JPGFormatter
    • JsonGamesListGame
    • KaraokePerformedSongsData
    • KaraokePerformedSongsResult
    • KaraokeSongData
    • KaraokeSongResponseData
    • KeywordData
    • LFGLabelTag
    • LocalTimeTag
    • MarkdownPageContext
    • MarkdownTextTag
    • MessagePostContext
    • – InitType
    • MessagePostFormContent
    • MicroKaraokeCompletedSong
    • MicroKaraokeOfferPacket
    • MicroKaraokeRecordingData
    • MicroKaraokeSnippetModeration
    • MicroKaraokeSongManifest
    • ModeratorActionLogData
    • ModeratorActionLogResponseData
    • NotEmptyTag
    • OnDemandScheduleUpdateJob
    • OnDemandUpdateRedisJob
    • PNGFormatter
    • Paginated
    • Paginator
    • PaginatorContext
    • – PageInfo
    • PerformerContext
    • PerformerData
    • PerformerHeaderData
    • PerformerResponseData
    • PerformerUploadData
    • PerformersListContext
    • PersonalEventContentData
    • PersonalEventData
    • PersonalEventModerationData
    • PhoneSocketServerAddress
    • PhoneSocketStartData
    • PhotostreamImageData
    • PhotostreamListData
    • PhotostreamLocationData
    • PhotostreamModerationData
    • PhotostreamUploadData
    • Point
    • PopulateForumLastPostIDMigration
    • PostEditLogData
    • PostSearchData
    • PostSearchPageContext
    • – SearchType
    • PrivateEventListPageContext
    • PrivateEventQueryOptions
    • PrivilegedUsers
    • ProfileEditLogData
    • ProfileFormContent
    • ProfileModerationData
    • PruneEventForumsCommand
    • – Signature
    • PublicProfileContext
    • Rectangle
    • RegistrationCodeStatsData
    • RegistrationCodeUserData
    • RelativeTimeTag
    • RemoveCovidCategory
    • RenameWhereAndWhen
    • ReportContentGroup
    • ReportModerationData
    • ReportPageContext
    • ReportsContext
    • SaveRestoreData
    • SearchFormData
    • ServerRollupData
    • – CountType
    • SettingsAdminData
    • SettingsAppFeaturePair
    • SettingsUpdateData
    • SiteErrorMiddlewareStorage
    • SiteErrorStorageKey
    • Size
    • SocketFezMemberChangeData
    • SocketFezPostData
    • SocketNotificationData
    • – NotificationTypeData
    • SongInfoJSON
    • StaticTimeTag
    • StreamPhotoSchemaV2
    • SwiftarrConfigurator
    • TGAFormatter
    • TIFFFormatter
    • TimeZoneChangeData
    • – Record
    • TimeZoneChangeSet
    • TrunkContext
    • – Tab
    • TwarrtModerationData
    • TwarrtQueryOptions
    • TweetEditPageContext
    • TweetPageContext
    • – FilterType
    • UTCTimeTag
    • UpdateFezParticipantSchema
    • UpdateForumLastPostIDMigration
    • UpdateForumPinnedMigration
    • UpdateForumPostPinnedMigration
    • UpdateRedisJob
    • UpdateRedisJobBase
    • UpdateScheduleJob
    • UpdateUserDinnerTeamMigration
    • UserAuthorizedToCreateKaraokeLogs
    • UserBylineTag
    • UserCacheData
    • – BasicAuth
    • – TokenAuthenticator
    • – SessionAuth
    • UserEventNotificationJob
    • UserModerationData
    • UserNotificationAlertwordData
    • UserNotificationData
    • – ModeratorNotificationData
    • UserProfileEditContext
    • UserProfileUploadData
    • UserSaveRestoreData
    • UserSocket
    • ValidatingKeyedContainer
    • ValidationError
    • ValidationFailure
    • WBMPFormatter
    • WEBPFormatter
    • Xoshiro
  • Other Type Aliases
    • LibGdFormatter
    • LibGdParametrizableFormatter

ImportableFormat

public enum ImportableFormat : ImportableFormatter

Enum definition of built-in importable image raster formats

  • bmp: https://en.wikipedia.org/wiki/BMP_file_format
  • gif: https://en.wikipedia.org/wiki/gif
  • jpg: https://en.wikipedia.org/wiki/jpeg
  • png: https://en.wikipedia.org/wiki/Portable_Network_Graphics
  • tiff: https://en.wikipedia.org/wiki/tiff
  • tga: https://en.wikipedia.org/wiki/Truevision_TGA
  • wbmp: https://en.wikipedia.org/wiki/wbmp
  • webp: https://en.wikipedia.org/wiki/webp
  • any: Evaluates all of the above mentioned formats on import
Show on GitHub
  • bmp

    Declaration

    Swift

    case bmp
    Show on GitHub
  • gif

    Declaration

    Swift

    case gif
    Show on GitHub
  • jpg

    Declaration

    Swift

    case jpg
    Show on GitHub
  • png

    Declaration

    Swift

    case png
    Show on GitHub
  • tiff

    Declaration

    Swift

    case tiff
    Show on GitHub
  • tga

    Declaration

    Swift

    case tga
    Show on GitHub
  • wbmp

    Declaration

    Swift

    case wbmp
    Show on GitHub
  • webp

    Declaration

    Swift

    case webp
    Show on GitHub
  • any

    Declaration

    Swift

    case any
    Show on GitHub
  • imagePtr(of:)

    Creates a gdImagePtr from given image data.

    Throws

    GDError if import failed.

    Declaration

    Swift

    public func imagePtr(of data: Data) throws -> gdImagePtr

    Parameters

    data

    The image data of which an image should be instantiated.

    Return Value

    The gdImagePtr of the instantiated image.

    Show on GitHub

© 2025 The Twitarr Team. All rights reserved. (Last updated: 2025-04-23)

Generated by jazzy ♪♫ v0.15.3, a Realm project.