[ENGLISH]
SiriusTrumbs 0.8.4 (preview) for AmigaOS 3.2
============================================
Open a drawer full of photos on the Workbench, and the plain icons turn
into small pictures of the photos. SiriusTrumbs is a commodity that
waits in the background: when a drawer with photos is opened it makes a
thumbnail for each photo and saves it as the photo's own icon
(photo.jpg.info). Photos that already have an icon are left alone.
It also does, by hand, the jobs that come with a picture collection:
removing the thumbnails again, deleting the .info files of the photos,
adding the missing extensions and fixing the wrong ones.
ReAction only, no MUI.
Vampire owners: a 68080 build that uses AMMX is in a separate
archive (SiriusTrumbs32_080) on the Apollo LAIR.
For AmigaOS 3.9 there is a separate archive (SiriusTrumbs39).
WHAT IT DOES
------------
Automatic
* Notices the drawers you open on the Workbench and makes the
thumbnails of the photos inside them, one after the other, with a
low priority, so the Workbench stays smooth.
* JPEG: uses the EXIF thumbnail inside the photo when it is big
enough (almost instant), and turns it the right way (EXIF
orientation). Otherwise reads the photo itself.
* PNG with real transparency (also interlaced), IFF/ILBM, GIF, BMP,
WebP, ICO, ICNS and every format your datatypes read.
* A photo replaced by another one with the same name gets a new
thumbnail. SiriusTrumbs writes size and date of the photo in the
comment of its icon, and the drawer listing brings that comment
along: no icon is opened to check, so it stays light also in
drawers with hundreds of photos. Icons made by other programs are
never touched.
* Photos bigger than a limit you choose (MAXMB) are skipped, so a
huge picture never eats all the memory.
* Volumes you exclude (for example network shares or CD) are never
touched.
* Blacklist: drawers where thumbnails are not made by themselves.
A drawer goes in the list only if you want it (checkbox "Also put
in Blacklist" when you remove thumbnails); remove it from the list
with one button.
Thumbnails
* Size from 16 to 256 pixels: pick a ready size from the menu or type
your own.
* Icon type: automatic, PNG or classic colour icons.
* Frame: none, light shadow or white photo border.
* Default tool of the new icons (MultiView unless you change it), so
a double-click opens the photo.
By hand: four boxes in the window, each with its own options
* New thumbnails - make them in a drawer (also in subdrawers).
* Remove thumbnails - take them away again (also in subdrawers,
also put the drawer in the Blacklist).
* Delete .info - delete the .info of the PHOTOS in a drawer.
The .info of other files (archives, programs,
texts) are never touched.
* Extensions - add the extension to photos that have none,
and, if you want, fix the wrong ones (a PNG
called .jpg). The file content decides.
* Press the button and choose the drawer, or simply DRAG drawers or
files from the Workbench onto the box: the box does its job with
its own options.
* Before deleting or renaming, SiriusTrumbs counts and asks. At the
end it says what it did.
* The same jobs are in the Workbench Tools menu (a checkbox takes
them away, if you don't use them) and in the window's menu.
Window and program
* Commodity: starts from WBStartup; double-click it again, use the
hot key (ctrl alt t) or Exchange to open the window.
* The title bar shows version, CPU build, system and whether it is
active or off.
* Two log lines: the last thing done (every thumbnail, extension,
deleted .info, renamed file, Blacklist change) and the status.
* "Apply" uses the settings and keeps the window open, "Save" keeps
them for the next boot.
* Menu bar: About (nick, crew, site, email), "What it does",
Save, Apply, and the four jobs (Amiga-1...4).
* Remembers where its windows and the drawer requester were.
* English built in, Italian built in; the Locale decides, or the
LANGUAGE tooltype.
LONG NAMES
----------
On volumes with names of at most 30 characters, "photo.jpg.info" may
not fit. Then SiriusTrumbs shortens the name of the photo just enough,
keeping the extension, and tells you the old name in the log. It does
it only for photos without an icon and only on volumes it may write.
REQUIREMENTS
------------
* 68020 or better.
* AmigaOS 3.2 (tested on 3.2 with Kickstart 47.115).
* The ReAction classes of 3.2 (they are part of the system).
* Icons: with the icon.library of 3.2 SiriusTrumbs makes classic
colour icons. With the icon.library by Peter Keunecke it makes
PNG icons (ICONTYPE=AUTO chooses by itself).
* The datatypes of 3.2 for JPEG, GIF, BMP, WebP and the others
(PNG and EXIF thumbnails are read by SiriusTrumbs itself).
* Long file names: on FFS with long names, SFS, PFS3 or FAT the
".info" names have room; on volumes with 30 characters the photo
is renamed shorter (see below).
INSTALLATION
------------
1. Copy the drawer SiriusTrumbs where you like and double-click the
program SiriusTrumbs inside it.
2. To start it at every boot, copy the program (with its icon) to
SYS:WBStartup. The icon already has the tooltype DONOTWAIT: it is
a commodity, it never ends, so the Workbench must not wait for it.
Settings are kept in ENV:/ENVARC:SiriusTrumbs.prefs (plain text).
TOOLTYPES
---------
The window sets everything; tooltypes give the starting values.
SIZE=64 thumbnail size, 16-256
ICONTYPE=AUTO AUTO, PNG or CLASSIC
FRAME=NONE NONE, SHADOW or PHOTO
EXIF=YES use the EXIF thumbnail of JPEG photos
TOOL=SYS:Utilities/MultiView default tool of the new icons
EXT=jpg,jpeg,png,... extensions treated as photos
MAXMB=40 skip photos that need more memory
AUTO=YES make thumbnails by itself
INTERVAL=15 look at the open drawers every 1.5 s
EXCLUDE=CD0:,SMB: volumes never touched
PRI=-1 priority of the work, -20 to 5
SUBDIRS=NO "also in subdrawers" for each box:
SUBDIRS_MAKE=NO SUBDIRS (remove), SUBDIRS_MAKE (new),
SUBDIRS_DELETE=NO SUBDIRS_DELETE (delete .info),
SUBDIRS_EXT=NO SUBDIRS_EXT (extensions)
FIXEXT=NO also fix wrong extensions
NOREDO_ADD=NO removing also puts the drawer in Blacklist
TOOLSMENU=YES the jobs also in the Workbench Tools menu
CX_POPKEY=ctrl alt t hot key of the window
CX_POPUP=NO open the window at start
CX_PRIORITY=0 commodity priority
(LANGUAGE=italiano) force a language: italiano or english
(DEBUG=1) write T:SiriusTrumbs.log (for bug reports)
Adding an extension (example): a photo called "holiday.jpe" is a JPEG,
but "jpe" is not in the list, so it gets no thumbnail. Open the window
(ctrl alt t), add ",jpe" at the end of the field "Extensions", press
Apply (or Save, to keep it), and open the drawer again: the thumbnail
comes at once. The same works for any extension your datatypes read.
STATUS AND KNOWN ISSUES
-----------------------
Preview, to get opinions before the first release.
* On a Vampire with AmigaOS 3.2 we saw a few crashes of the PFS3
file system while thumbnails were being written. They are rare and
could not be repeated; this 68020 build never showed them. If it
happens to you: please switch on DEBUG=1, and send the last lines
of T:SiriusTrumbs.log and the error text.
* Every job asks before deleting or renaming. Still: it changes
files, so keep a backup of your precious photos.
* 0.8.2/0.8.3: the disk stays quiet. Open drawers are no longer read
from disk every 1.5 seconds: SiriusTrumbs asks the file system to
tell it when something changes (DOS notification). Disks that
cannot do this are still checked at every interval, as before.
And asking the Workbench which drawers are open is done from RAM:,
so it does not touch the system disk either.
* 0.8.4: new "Live preview: ON/OFF" button (window, window menu with
a tick, and Workbench Tools menu). OFF stops only the automatic
thumbnails of open drawers; jobs by hand, menus and hotkey keep
working, and the title bar says "inactive". It stays until the
next reboot (Save keeps it for good: tooltype AUTO=NO).
"Add extensions" is safer: a file is taken for a BMP or ICO only
with the full header, so a text or a module starting with "BM"
is never renamed, and a photo that already has a photo extension
(.jpe, .pbm...) no longer gets a second one. Damaged ICO, ICNS and
BMP files can no longer make it read outside the file, and files
over 2 GB are skipped as "too big".
Coming next: commands from the Shell and from Directory Opus, with help.
TESTED ON
---------
Vampire V4 Standalone, AmigaOS 3.2, RTG Workbench, PFS3 AIO, with
and without the icon.library by Peter Keunecke.
CREDITS
-------
* SiriusTrumbs: SkIzZoLFs / LfsCrew -
* Bugs and ideas: lfscr3w@gmail.com
* Uses zlib (Jean-loup Gailly, Mark Adler) for PNG.
* Thanks to the Apollo Team for the Vampire.
[ITALIANO]
SiriusTrumbs 0.8.4 (anteprima) per AmigaOS 3.2
==============================================
Apri sul Workbench un cassetto pieno di foto, e le icone tutte uguali
diventano piccole immagini delle foto. SiriusTrumbs e' una commodity che
aspetta in silenzio: quando si apre un cassetto con delle foto fa
un'anteprima per ogni foto e la salva come icona della foto stessa
(foto.jpg.info). Le foto che hanno gia' un'icona non le tocca.
Fa anche, a mano, i lavori che servono con una raccolta di immagini:
togliere di nuovo le anteprime, cancellare i .info delle foto, mettere
le estensioni che mancano e correggere quelle sbagliate.
Solo ReAction, niente MUI.
Per il Vampire c'e' una versione 68080 che usa l'AMMX, in un
archivio a parte (SiriusTrumbs32_080) sulla LAIR di Apollo.
Per AmigaOS 3.9 c'e' un archivio a parte (SiriusTrumbs39).
COSA FA
-------
In automatico
* Si accorge dei cassetti che apri sul Workbench e fa le anteprime
delle foto che contengono, una dopo l'altra, con priorita' bassa,
cosi' il Workbench resta scorrevole.
* JPEG: usa la miniatura EXIF dentro la foto quando basta (quasi
istantanea) e la gira per il verso giusto (orientamento EXIF).
Altrimenti legge la foto vera.
* PNG con la trasparenza vera (anche interlacciate), IFF/ILBM, GIF,
BMP, WebP, ICO, ICNS e ogni formato che leggono i tuoi datatype.
* Una foto sostituita da un'altra con lo stesso nome ha la sua
anteprima nuova. SiriusTrumbs scrive misura e data della foto nel
commento della sua icona, e l'elenco del cassetto porta con se'
quel commento: per controllare non si apre nessuna icona, quindi
resta leggero anche nei cassetti con centinaia di foto. Le icone
fatte da altri programmi non si toccano mai.
* Le foto oltre un limite che scegli tu (MAXMB) si saltano, cosi'
un'immagine enorme non si mangia tutta la memoria.
* I volumi che escludi (per esempio condivisioni di rete o CD) non si
toccano mai.
* Blacklist: cassetti dove le anteprime non si fanno da sole. Un
cassetto ci va solo se lo vuoi tu (casella "Metti anche in
Blacklist" quando togli le anteprime); si toglie con un bottone.
Anteprime
* Misura da 16 a 256 pixel: scegli una misura pronta dalla tendina o
scrivi la tua.
* Tipo di icona: automatico, PNG o classica a colori.
* Cornice: niente, ombra leggera o bordo bianco da foto.
* Programma delle nuove icone (MultiView se non lo cambi), cosi' con
un doppio clic si apre la foto.
A mano: quattro riquadri nella finestra, ognuno con le sue caselle
* Anteprime nuove - le fa in un cassetto (anche nelle sottocartelle).
* Togli le anteprime - le toglie di nuovo (anche nelle sottocartelle,
e se vuoi mette il cassetto in Blacklist).
* Cancella i .info - cancella i .info delle FOTO in un cassetto.
I .info degli altri file (archivi, programmi,
testi) non si toccano mai.
* Estensioni - mette l'estensione alle foto che non ce
l'hanno e, se vuoi, corregge quelle sbagliate
(una PNG chiamata .jpg). Decide il contenuto
del file.
* Premi il bottone e scegli il cassetto, oppure TRASCINA cassetti o
file dal Workbench sul riquadro: il riquadro fa il suo lavoro con
le sue caselle.
* Prima di cancellare o rinominare SiriusTrumbs conta e chiede. Alla
fine dice cosa ha fatto.
* Gli stessi lavori sono nel menu Strumenti del Workbench (una
casella li toglie, se non li usi) e nel menu della finestra.
Finestra e programma
* Commodity: parte da WBStartup; doppio clic di nuovo, il tasto
rapido (ctrl alt t) o Exchange aprono la finestra.
* La barra del titolo dice versione, CPU, sistema e se e' attivo o
spento.
* Due righe di registro: l'ultima cosa fatta (ogni anteprima,
estensione, .info cancellato, file rinominato, Blacklist) e lo
stato.
* "Applica" usa le impostazioni e lascia la finestra aperta, "Salva"
le tiene per il prossimo avvio.
* Barra del menu: Informazioni (nick, crew, sito, email), "Cosa
fa", Salva, Applica e i quattro lavori (Amiga-1...4).
* Ricorda dove erano le sue finestre e la richiesta dei cassetti.
* Italiano e inglese gia' dentro; decide la Locale, oppure il
tooltype LANGUAGE.
NOMI LUNGHI
-----------
Sui volumi con nomi di al massimo 30 caratteri "foto.jpg.info" puo' non
starci. Allora SiriusTrumbs accorcia il nome della foto quanto basta,
tiene l'estensione e scrive nel registro il nome vecchio. Lo fa solo per
le foto senza icona e solo sui volumi dove si puo' scrivere.
REQUISITI
---------
* 68020 o meglio.
* AmigaOS 3.2 (provato sul 3.2 con il Kickstart 47.115).
* Le classi ReAction del 3.2 (fanno parte del sistema).
* Icone: con la icon.library del 3.2 SiriusTrumbs fa icone
classiche a colori. Con la icon.library di Peter Keunecke fa
icone PNG (ICONTYPE=AUTO sceglie da solo).
* I datatype del 3.2 per JPEG, GIF, BMP, WebP e gli altri
(PNG e miniature EXIF le legge SiriusTrumbs da solo).
* Nomi lunghi: su FFS a nomi lunghi, SFS, PFS3 o FAT i nomi ".info"
ci stanno; sui volumi da 30 caratteri la foto si rinomina piu'
corta (vedi sotto).
INSTALLAZIONE
-------------
1. Copia il cassetto SiriusTrumbs dove vuoi e fai doppio clic sul
programma SiriusTrumbs che c'e' dentro.
2. Per farlo partire a ogni avvio copia il programma (con la sua
icona) in SYS:WBStartup. L'icona ha gia' il tooltype DONOTWAIT:
e' una commodity, non finisce mai, il Workbench non deve aspettarla.
Le impostazioni stanno in ENV:/ENVARC:SiriusTrumbs.prefs (testo).
TOOLTYPE
--------
La finestra regola tutto; i tooltype danno i valori di partenza.
SIZE=64 misura dell'anteprima, 16-256
ICONTYPE=AUTO AUTO, PNG o CLASSIC
FRAME=NONE NONE, SHADOW o PHOTO
EXIF=YES usa la miniatura EXIF dei JPEG
TOOL=SYS:Utilities/MultiView programma delle nuove icone
EXT=jpg,jpeg,png,... estensioni trattate come foto
MAXMB=40 salta le foto che chiedono piu' memoria
AUTO=YES fa le anteprime da solo
INTERVAL=15 guarda i cassetti aperti ogni 1,5 s
EXCLUDE=CD0:,SMB: volumi da non toccare mai
PRI=-1 priorita' del lavoro, da -20 a 5
SUBDIRS=NO "anche nelle sottocartelle" per ogni riquadro:
SUBDIRS_MAKE=NO SUBDIRS (togli), SUBDIRS_MAKE (nuove),
SUBDIRS_DELETE=NO SUBDIRS_DELETE (cancella i .info),
SUBDIRS_EXT=NO SUBDIRS_EXT (estensioni)
FIXEXT=NO correggi anche le estensioni sbagliate
NOREDO_ADD=NO togliendo, metti anche il cassetto in Blacklist
TOOLSMENU=YES i lavori anche nel menu Strumenti del Workbench
CX_POPKEY=ctrl alt t tasto rapido della finestra
CX_POPUP=NO apri la finestra alla partenza
CX_PRIORITY=0 priorita' della commodity
(LANGUAGE=italiano) forza la lingua: italiano o english
(DEBUG=1) scrive T:SiriusTrumbs.log (per segnalare errori)
Aggiungere un'estensione (esempio): una foto "vacanze.jpe" e' un JPEG,
ma "jpe" non e' nella lista, quindi non riceve l'anteprima. Apri la
finestra (ctrl alt t), aggiungi ",jpe" in fondo al campo "Estensioni",
premi Applica (o Salva, per tenerla) e riapri il cassetto: l'anteprima
arriva subito. Lo stesso vale per ogni estensione che i tuoi datatype
leggono.
STATO E PROBLEMI NOTI
---------------------
Anteprima, per raccogliere pareri prima della prima versione.
* Su un Vampire con AmigaOS 3.2 abbiamo visto qualche blocco del
file system PFS3 mentre si scrivevano le anteprime. Sono rari e non
si sono potuti ripetere; questa versione 68020 non li ha mai dati.
Se capita anche a te: accendi DEBUG=1 e manda le ultime righe di
T:SiriusTrumbs.log e il testo dell'errore.
* Ogni lavoro chiede prima di cancellare o rinominare. Comunque
cambia dei file: tieni una copia delle foto a cui tieni.
* 0.8.2/0.8.3: il disco resta tranquillo. I cassetti aperti non si
rileggono piu' dal disco ogni 1,5 secondi: SiriusTrumbs chiede al
file system di avvisarlo quando cambia qualcosa (avviso del DOS).
I dischi che non sanno avvisare si controllano come prima. E la
domanda al Workbench su quali cassetti sono aperti si fa da RAM:,
cosi' non tocca nemmeno il disco di sistema.
* 0.8.4: nuovo tasto "Anteprima in tempo reale: ON/OFF" (finestra,
menu della finestra con la spunta, menu Strumenti del Workbench).
OFF ferma solo le anteprime automatiche dei cassetti aperti; i
lavori a mano, i menu e il tasto rapido funzionano, e la barra del
titolo dice "disattivo". Resta cosi' fino al riavvio (con Salva
per sempre: tooltype AUTO=NO).
"Metti le estensioni" e' piu' sicuro: un file e' preso per BMP o
ICO solo con l'intestazione completa, cosi' un testo o un modulo
che comincia con "BM" non viene mai rinominato, e una foto che ha
gia' un'estensione da foto (.jpe, .pbm...) non ne riceve una
seconda. I file ICO, ICNS e BMP rovinati non lo fanno piu' leggere
fuori dal file, e i file oltre 2 GB si saltano come "troppo grandi".
In arrivo: comandi dalla Shell e da Directory Opus, con l'aiuto.
PROVATO SU
----------
Vampire V4 Standalone, AmigaOS 3.2, Workbench RTG, PFS3 AIO, con e
senza la icon.library di Peter Keunecke.
CREDITI
-------
* SiriusTrumbs: SkIzZoLFs / LfsCrew -
* Errori e idee: lfscr3w@gmail.com
* Usa zlib (Jean-loup Gailly, Mark Adler) per le PNG.
* Grazie all'Apollo Team per il Vampire.
|