QTImage 1.2

Anything QL Software or Programming Related.
User avatar
Giorgio Garabello
Gold Card
Posts: 277
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

QTImage 1.2

Post by Giorgio Garabello »

Hi,
we are released QTImage 1.2
this versione fix an important bug in the management language and allow to import interlaced PNG images
You can download the package here: http://www.hunggartorino.it/ql/qtimage-2/

Enjoy

Giorgio Garabello
Quantum Technology


henry's cat
ROM Dongle
Posts: 9
Joined: Mon Feb 15, 2016 11:51 am

Re: QTImage 1.2

Post by henry's cat »

Hi,

I've been trying to get this impressive looking program to work but have had no luck so far. :( When I execute it I get a Qliberator error message -

Job 16 QTimage Line 2980 QLIB_error 28
Index out of range
Data : 512 0 0 Stack : 4096 104 :?

I've presumably loaded the right DBAS extensions which I got from Dilwyn Jones's website - DBAS database engine for QL, v2.12 and have FileInfo2 loaded. Not quite sure what the 'Home Things' are, is it part of the Pointer Environment? So far I have only tried to run it from a Ramdisc.

I am using QPC2 V4.05 and SMSQ/E V3.31 and use 24 bit colour with a 1280 x 1024 pixel wide screen. Is there anything else I need to load?


User avatar
Giorgio Garabello
Gold Card
Posts: 277
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: QTImage 1.2

Post by Giorgio Garabello »

henry's cat wrote:Hi,

I've been trying to get this impressive looking program to work but have had no luck so far. :( When I execute it I get a Qliberator error message -

Job 16 QTimage Line 2980 QLIB_error 28
Index out of range
Data : 512 0 0 Stack : 4096 104 :?

I've presumably loaded the right DBAS extensions which I got from Dilwyn Jones's website - DBAS database engine for QL, v2.12 and have FileInfo2 loaded. Not quite sure what the 'Home Things' are, is it part of the Pointer Environment? So far I have only tried to run it from a Ramdisc.

I am using QPC2 V4.05 and SMSQ/E V3.31 and use 24 bit colour with a 1280 x 1024 pixel wide screen. Is there anything else I need to load?
The most likely thing is that you have some problems with the home thing
i' had a similar problem during the first tests, the reason was that i had an old version of fileinfo2..
How did you run the qtimage? (EX command, Qascade ...)


User avatar
dilwyn
Mr QL
Posts: 2753
Joined: Wed Dec 01, 2010 10:39 pm

Re: QTImage 1.2

Post by dilwyn »

henry's cat wrote:Hi,

I've been trying to get this impressive looking program to work but have had no luck so far. :( When I execute it I get a Qliberator error message -

Job 16 QTimage Line 2980 QLIB_error 28
Index out of range
Data : 512 0 0 Stack : 4096 104 :?

I've presumably loaded the right DBAS extensions which I got from Dilwyn Jones's website - DBAS database engine for QL, v2.12 and have FileInfo2 loaded. Not quite sure what the 'Home Things' are, is it part of the Pointer Environment? So far I have only tried to run it from a Ramdisc.

I am using QPC2 V4.05 and SMSQ/E V3.31 and use 24 bit colour with a 1280 x 1024 pixel wide screen. Is there anything else I need to load?
I can't answer directly what causes this, but as a QTImage user (version 1.2 8/8/17) I successfully use it on QPC2 4.05 with SMSQE v3.28, DBAS v2.13 and FileInfo II v3e50.

Maybe if Giorgio could let us know which keyword is used in the line number which fails, we could be a step nearer working out if, for example, it's a clash of extension names or something like that.


henry's cat
ROM Dongle
Posts: 9
Joined: Mon Feb 15, 2016 11:51 am

Re: QTImage 1.2

Post by henry's cat »

Thanks for the replies. It turns out I was not starting the program from the command line but using 'Execute' via QPAC2. :roll: When I used 'EX' from the command line it worked absolutely fine. I'm using the Qbase DBAS_bin and DATA_bin extensions loaded through my Boot file.

One thing I have noticed is that when importing a file the little window offering different file formats that appears is blank. Only when you click on one of the empty spaces does text appear i.e. 'import JPEG File'. Has anyone else noticed this?


User avatar
dilwyn
Mr QL
Posts: 2753
Joined: Wed Dec 01, 2010 10:39 pm

Re: QTImage 1.2

Post by dilwyn »

henry's cat wrote:Thanks for the replies. It turns out I was not starting the program from the command line but using 'Execute' via QPAC2. :roll: When I used 'EX' from the command line it worked absolutely fine. I'm using the Qbase DBAS_bin and DATA_bin extensions loaded through my Boot file.
Ah, good, that's that solved then.
henry's cat wrote:One thing I have noticed is that when importing a file the little window offering different file formats that appears is blank. Only when you click on one of the empty spaces does text appear i.e. 'import JPEG File'. Has anyone else noticed this?
On my system at least, here's how it appears:
qtimageimport.jpg


User avatar
Giorgio Garabello
Gold Card
Posts: 277
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: QTImage 1.2

Post by Giorgio Garabello »

henry's cat wrote:Thanks for the replies. It turns out I was not starting the program from the command line but using 'Execute' via QPAC2. :roll: When I used 'EX' from the command line it worked absolutely fine. I'm using the Qbase DBAS_bin and DATA_bin extensions loaded through my Boot file.
Try updating fileinfo2, I'm pretty sure the bug will be fixed
One thing I have noticed is that when importing a file the little window offering different file formats that appears is blank. Only when you click on one of the empty spaces does text appear i.e. 'import JPEG File'. Has anyone else noticed this?

Yes, when I launch QTIMAGE from ramdisk, is a strange bug that I haven't yet solved.
From WIN drive should work correctly.

Please note that QTIMAGE is at begin of his life, Only about 20% of the expected functionality has been developed, the others are under construction and will be released progressively.
Given the complexity of the software and the number of people involved in its development, this version and the next may have different bugs.
Anyone who wants to cooperate is welcome!

Giorgio


henry's cat
ROM Dongle
Posts: 9
Joined: Mon Feb 15, 2016 11:51 am

Re: QTImage 1.2

Post by henry's cat »

Hi Giorgio,

I've now installed QTimage onto my Win1 drive and it starts up without any problem. I had a play with the program's System Palette function and discovered that after choosing different palettes if I went back to Palette 0 in QTimage the text in the file import window was now visible. This seems to correct the problem and persists after the program is closed and re-started.

It's a great piece of software, just what the QL needed for modern graphic formats.


User avatar
Giorgio Garabello
Gold Card
Posts: 277
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: QTImage 1.2

Post by Giorgio Garabello »

I'm not sure I understand the problem well, I'm italian and my english sucks.
Do you cycle on the 4 system palettes and when you turn to zero the menus are invisible ??

If so, I can not replicate the bug on my system.
You can send me your system palettes so I do some testing.


henry's cat
ROM Dongle
Posts: 9
Joined: Mon Feb 15, 2016 11:51 am

Re: QTImage 1.2

Post by henry's cat »

Hi Giorgio,

The blank window when importing files has now gone because I tried different system palettes from the options in QTimage. After the initial installation to hard drive the window was blank, but when I tried a different palettes from within QTimage the text appeared. When I exited QTimage and came back to it again the text was there again and has stayed ever since. A setting must get saved when you exit QTimage. Below is my Boot file and also a QLiberated program (WMON2) which is loaded as a resident procedure in my Boot file and sets the initial colour palette.

I did try to attach these two text files to this post but I get an error message saying - "Error Invalid file extension: Boot.txt"

100 DISP_SIZE 1280,1024
105 LET drv$="win1_OPSYSTEM_": EW
win1_QCOCO_setconf_bas;"win1_QCOCO_themes_taube_thm,0"
110 DEFine PROCedure UPDATE
120 LET q$="Win1_"
130 LET v$=FVERS (\q$ & 'boot')
140 SAVE_O q$ & 'Boot'[/size][/size]
150 SET_FVERS \q$ & 'Boot',v$+1
160 END DEFine UPDATE
170 DATA_USE win1_: PROG_USE win2_: BAUD 1, 1200
175 PE_BGON
180 LRESPR win1_QLIB_Qlib_sys
185 LRESPR drv$ & 'Array_bin'
190 QLIB_USE Win2_QLIB_, Win2_QLIB_
195 PAUSE 20
200 LRESPR drv$ & 'bmpcvt_bin': LRESPR drv$ & 'Getstuffed_rext':LRESPR drv$ &
'Wmon2_obj'
210 WMON2
220 CLS #0: PRINT #0,"Loading QPAC2..."
230 LRESPR drv$& 'QPAC2_Qpac2'
240 REMark Any other resident extensions can be loaded here,
250 REMark including old style HOTKEY files.
260 PAUSE 20
270 CLS #0: PRINT #0, "Loading QTYP..."
280 LRESPR drv$ & 'QTYP_Qtyp_spell'
290 PAUSE 20
300 CLS #0: PRINT #0, "Loading Menuconfig extensions..."
310 LRESPR drv$ & 'MENUCONFIG_Menu_rext'
320 LRESPR drv$ & 'MENUCONFIG_sigext30_rext'
330 PAUSE 25
340 LRESPR drv$ & 'env_bin'
350 SETENV "QASCADE_RC=win1_OPSYSTEM_qascade_rc"
360 PAUSE 25
370 CLS #0: PRINT #0; "Loading ProWess extensions..."
380 REMark Have to load some resident extensions.
390 PWSDIR$="win1_pws_"
400 IF PWSDIR$(LEN(PWSDIR$))<>"_" THEN PWSDIR$=PWSDIR$&'_'
410 REMark Have to load some resident extensions.
420 REMark Don't load ptr_gen and thing system on SMSQ/E.
430 LRESPR PWSDIR$&"ext_dll_rext"
440 LRESPR PWSDIR$&"ext_syslib_rext"
450 LRESPR PWSDIR$&"ext_global_rext"
460 REMark Load some extensions which are often used.
470 REMark Of course they have to be available !
480 REMark This is done to allow auto installation.
490 IF (FOPEN(#3,PWSDIR$&"ext_menu_rext")=0)
500 CLOSE #3 : LRESPR PWSDIR$&"ext_menu_rext"
510 ELSE
520 LRESPR PWSDIR$&"ext_scrap_rext"
530 END IF
540 IF (FOPEN(#3,PWSDIR$&"ext_qpac2")=0)
550 CLOSE #3 : LRESPR PWSDIR$&"ext_qpac2"

WMON2

5 REMark $$external
7 REMark May 2002, July 2003, December 2005, February 2010
10 DEFine PROCedure WMON2
20 LOCal cr, sea, wh, x, pic$, month$
30 LET cr=255*65536+100: LET sea=255*256+155: LET wh=cr+sea
40 PALETTE_QL 0,0,0,cr,cr,sea,sea,wh,wh
50 COLOUR_QL
60 BGCOLOUR_24 1.679652E7
70 REMark Set Windows 0, 1 & 2
80 WINDOW #0, SCR_XLIM(0),150,0,424: BORDER #0, 1,1
90 WINDOW # 1, SCR_XLIM(0)/2,384,SCR_XLIM(0)/2,30: BORDER #1, 1,255
100 WINDOW #2, SCR_XLIM(0)/2,384,0,30: BORDER #2, 1, 255
110 INK # 0,7: PAPER #0,0: CSIZE #0,1,1: INK #2,7: PAPER #2,3: INK #1,0: PAPER #1,7
120 CLS #0: CLS #1: CLS #2
130 LET d$=DATE$: LET x=0: LET pic$="win3_bmp_"
140 LET month$=d$(6 TO 8): LET s$=d$(6 TO 11)
150 LET x= RND (1 TO 6)
160 SELect ON x
170 ON x=1 TO 4
180 LET pic$= pic$ & month$ & x &"_bmp"
190 ON x=5
200 LET pic$=pic$ & "Kathy_bmp"
205 ON x=6
207 LET pic$=pic$ & "Nigella_bmp"
210 END SELect
220 BMP8LOAD #1, pic$
230 REMark Reset pic$ and find the season
240 LET pic$="win3_bmp_"
250 IF month$="Mar" OR month$="Apr" OR month$="May" THEN LET season$="Spring"
260 IF month$="Jun" OR month$="Jul" OR month$="Aug" THEN LET season$="Summer"
270 IF month$="Sep" OR month$="Oct" OR month$="Nov" THEN LET season$="Autumn"
280 IF month$="Dec" OR month$="Jan" OR month$="Feb" THEN LET season$="Winter"
290 BMP8LOAD #2, pic$ & season$ & "_bmp"
300 END DEFine WMON2
Last edited by henry's cat on Wed Aug 30, 2017 9:17 pm, edited 1 time in total.


Post Reply