eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HEICReader':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HEICReader


Inheritance:

   Object
   |
   +--ImageReader
      |
      +--HEICReader

Package:
stx:libview2
Category:
Graphics-Images-Readers
Version:
rev: 1.13 date: 2023/10/09 09:42:07
user: cg
file: HEICReader.st directory: libview2
module: stx stc-classLibrary: libview2

Description:


unfinished.


[instance variables:]

[class variables:]


[examples:]
    ISOBMFFReader fromFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/sample1.heic')      
    ISOBMFFReader fromFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic')      

    #(
        'dwsample-heic-4k.heic'
        'dwsample-heic-640.heic'
        'dwsample-heic-1280.heic'
        'dwsample-heic-1920.heic'
        'dwsample-heif-640.heif'
        'dwsample-heif-1280.heif'
        'dwsample-heif-1920.heif'
        'uncompressed_comp_tile_align.heif'
        'uncompressed_pix_tile_align.heif'
        'uncompressed_planar_tiled.heif'
        'uncompressed_rgb3.heif'
        'uncompressed_row.heif'
        'uncompressed_row_tile_align.heif'
        'uncompressed_row_tiled.heif'
    ) collect:[:each |
        ISOBMFFReader fromFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps' / each)      
    ]        

    ISOBMFFReader fromFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/DSC02558.qtif')      

copyright

COPYRIGHT (c) 2023 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

class initialization
o  initialize
HEICReader initialize

testing
o  canRepresent: anImage
return true, if anImage can be represented in my file format.
For now, image saving is not supported in heic format.

o  isValidImageStream: inStream
('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif') readingFileDo:[:s |
HEICReader isValidImageStream:s
]
('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic') readingFileDo:[:s |
HEICReader isValidImageStream:s
]

HEICReader isValidImageFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif')
HEICReader isValidImageFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic')


Instance protocol:

initialization
o  initialize

reading
o  fromStream: aStream
read an HEIC-image from aStream.

o  processBox: box
HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif')

o  processBox_ftyp: box
HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif')

o  processBox_mdat: box
HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic')
HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif')

o  processBox_meta: box
ISOBMFFReader fromFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic')

HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heic-640.heic')
HEICReader readFile:('stx:goodies' asPackageId packageDirectory / 'bitmaps/heifBitmaps/dwsample-heif-640.heif')



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 04:57:30 GMT