Mike Chaney's Tech Corner

Mike's Software => Qimage Ultimate => Topic started by: knowriteye on December 15, 2020, 11:20:49 AM



Title: out of range
Post by: knowriteye on December 15, 2020, 11:20:49 AM
Running Qimage 2020 100 trying to convert TIFFs to JPEGS and getting asn out of range error. What am I doing wrong?


Title: Re: out of range
Post by: Fred A on December 15, 2020, 11:42:24 AM
Quote
Running Qimage 2020 100 trying to convert TIFFs to JPEGS and getting asn out of range error. What am I doing wrong?

Please describe the steps you are using.
Have you closed and reopened Qimage?
Where did the Tiffs come from?

Fred


Title: Re: out of range
Post by: knowriteye on December 15, 2020, 01:08:55 PM
Hi Fred A, The TIFFs came from my hard drive. Qimage has succesfully converted many hundreds of files taken in the same format, with the same camera in years gone by. I uninstalled Qimage and reinstalled it, managed convert 40 TIFFS to JPEGS, selected another 40 form the same folder and got the out of range message again. Strange!! I will unstall and reinstall Qimage to see what happens. Will keep you posted with the result.


Title: Re: out of range
Post by: Fred A on December 15, 2020, 01:23:09 PM
Quote
managed convert 40 TIFFS to JPEGS, selected another 40 form the same folder and got the out of range message again.
I would have to ask Mike if there's a memory shortage in your system, or perhaps some limit?

Just wait a bit. Mike should get to the office before 10
Fred


Title: Re: out of range
Post by: admin on December 15, 2020, 02:07:03 PM
Nothing has changed in the code in the past year or so with regard to converting images, so let's see if we can figure this out.  I ran a test with 112 TIFFs that I converted to JPEG and checked the memory before, during, and after, and I'm not seeing any memory leaks or other problems.  Unfortunately it can be complicated with TIFFs because their headers can be so complex that it's almost like running unspecified code: and that code can sometimes cause problems.  This is why Fred asked where the TIFFs came from; what he meant was... what software was used to create the TIFFs?  My first suspicion is that you have some TIFFs that have bad headers or have header info that Qimage can't handle for some reason (they are not compatible).  See if you can narrow down the problem.  That is, when you try to convert some TIFFs and you run into this problem, try splitting them into two halves: does the error only happen when one of the two batches of 20 is converted?  If so, split that bad batch of 20 into 10/10 and repeat.  See if you can find the problem TIFF(s): there may only be one... or a few.  If you can find one, you can send it to me and I'll see if I can find what is causing the problem.

Regards,
Mike


Title: Re: out of range
Post by: CHoffman on December 15, 2020, 05:38:03 PM
+1 on the divide and conquer approach. That's always worked for me when I've had the odd file with a problem.


Title: Re: out of range
Post by: knowriteye on December 15, 2020, 06:47:17 PM
Hi all many thanks for your suggestions, will reply with more details tommorow. Please stay safe.


Title: Re: out of range
Post by: knowriteye on December 16, 2020, 10:23:58 AM
The files were originally taken on a Sony a700 in Sony’s ARW format. They were then converted in Qimage to TIFF format. Qimage has over the years converted to TIFF format approx. 75000 images taken with this camera. I have only just started to convert from TIFF to JPEG in Qimage.After un-installing and re-installing Qimage the problem persisted so I decided to reinstall over the existing installation and tried again [Repair mode in other applications I think]. Success I managed in batches of 40 images to be able to convert from TIFF to 100% JPEGS. However, the out of range message appeared once all I did was to press OK [enhance and filtration box] and all was and still is well. The TIFFs were only adjusted with DFS rad 1 option as they have already been adjusted. I only need to reduce the size to save on storage space. So far 405 images converted successfully.


Title: Re: out of range
Post by: Fred A on December 16, 2020, 11:12:25 AM
Quote
The files were originally taken on a Sony a700 in Sony’s ARW format. They were then converted in Qimage to TIFF format. Qimage has over the years converted to TIFF format approx. 75000 images taken with this camera.

1) Is that 75,000 number a typo or real? That camera was released by Sony Sept. 1, 2019, 14 months ago/
2) For my curiosity, what % of jpg compression did you use? Probably means nothing but I like to try to reproduce the error message if possible.
3) You said version 2020.100, which is Sept 2019.  Not 2021.100 Wont be relevant, but I am trying to get it right.
4) Again, not relevant, did you have profile to profile conversion on or off?
Thanks for the help
Stay well too.
Fred


Title: Re: out of range
Post by: knowriteye on December 16, 2020, 11:38:59 AM
Hi Fred, I think you will find the a700 was released in 2007. As regards to the JPEGS I used 100% quality all other settings left at default. I confirm the version I am using is 2020.100


Title: Re: out of range
Post by: Fred A on December 16, 2020, 11:48:57 AM
Quote
Hi Fred, I think you will find the a700 was released in 2007.
Now this is funny. My typo. I typed Sony A 7000. That was Sept 1, 2019.
Sorry.
I have that version of QU, so I am going to simulate. (Nothing better to do. (I have to keep social distancing between JPGS)
Fred


Title: Re: out of range
Post by: Fred A on December 16, 2020, 12:18:06 PM
Just did 3 batches of  57, 60, 45. No error or problems encountered
Fred


Title: Re: out of range
Post by: admin on December 16, 2020, 01:45:45 PM
I still need you to use the "divide and conquer" approach to see if we can locate specific TIFF(s) that are causing the problem.  It may also help if you post a screen capture of the actual error message because sometimes the wording or even the shape of the error dialog will tell me where it came from.

Regards,
Mike


Title: Re: out of range
Post by: knowriteye on December 16, 2020, 07:53:13 PM
Mike, Unfortunately at the moment I have at the moment no other TIFFs to convert. I have somewhere other copies of the problematical TIFFs, however, they will take some finding. As I ‘said’ earlier I processed the files in batches of 40, the error message appeared immediately I attempted to process the files. The counter in the adjustment box showed 0 from 50 in the queue. What is strange is the fact that I converted hundreds of TIFFs to JPEGs before the problem surfaced. The only other error message I have received is one to the effect that Qimage cannot find the q.bmp file. I cured this by re-installing the programme, this was some weeks before the problem under discussion cropped up. When I find the copies I will attempt to convert them. If they still prove problematical I will ‘e’ mail you copies if the files concerned and the screen shots that pop up. As I ‘said’ [post 5] I have processed around 400 files without any problem what so ever including the problem file.



Title: Re: out of range
Post by: Fred A on December 17, 2020, 10:42:41 AM
Quote
nfortunately at the moment I have at the moment no other TIFFs to convert. I have somewhere other copies of the problematical TIFFs, however, they will take some finding
Hi, Good morning.
I am afraid you lost me.
I can convert as many tIFs as I wish, and Qimage never deletes the tifs; just makes JPGs too.
Why do you need to find other copies of the problematical Tiffs?

Fred


Title: Re: out of range
Post by: knowriteye on December 17, 2020, 06:27:44 PM
Hi Fred, please read Mike's post one above my morning's post. Qimage does not delete files, I do after conversion. I will try to find copies so as to enable me to send them to Mike if coversion fails.
Regards,
Knowriteye


Title: Re: out of range
Post by: knowriteye on December 18, 2020, 03:32:31 PM
Hi gents, I have located copies of the problem files. Have re-installed an earlier version of Windows, [from True Image] loaded QImage only to receive the ‘out of range’ message. If you forward me DDI’s postal address I will willingly forward you the files and associated screenshots. The total package comes to approx. 2.75gb, or, if you ‘talk’ me through it [I’m 80 years old] will if possible ‘e’ mail them.
Regards knowriteye


Title: Re: out of range
Post by: Fred A on December 18, 2020, 05:41:04 PM
Quote
Hi gents, I have located copies of the problem files. Have re-installed an earlier version of Windows, [from True Image] loaded QImage only to receive the ‘out of range’ message. If you forward me DDI’s postal address I will willingly forward you the files and associated screenshots. The total package comes to approx. 2.75gb, or, if you ‘talk’ me through it [I’m 80 years old] will if possible ‘e’ mail them.
Regards knowriteye

Ok, I will try to help.  Let's do WE TRANSFER.  It is a free file transfer on line program that allows 2 GB free per use.
  https://wetransfer.com/

You will see a similar screen as they change the welcome screen all the time. Naturally, they want you to buy their not free service of larger files and faster up loads.... Ignore that.
Click around on the left side area until you see this: It will pop up for you. Then add the files where it tells you, and add my email or mike's  in the Email to box, and your email below that.Click TRANSFER.  That's it.
I'm sure Mike doesn't need 2.75 gigs of samples, just two or three bad ones would be fine.
My email address is in the screen snap, and Mike is mchaney@ddisoftware.com
Hint~ Mike gets tons of emails per day. Send it to me or both and it will be faster.
I'm here if you need a touch more help.
Fred
PS He told me to do this because we are from a different generation   I'll be 88 soon.


Title: Re: out of range
Post by: knowriteye on December 19, 2020, 09:17:07 AM
Mornin ' Fred
Have 'e' mailed Mike 7 problematical TIFFs and associated screenshots.Do you remember when MS Office came on 29 [if my memory is correct] floppies? I do.
knowriteye


Title: Re: out of range
Post by: Fred A on December 19, 2020, 09:29:18 AM
Quote
Mornin ' Fred
Have 'e' mailed Mike 7 problematical TIFFs and associated screenshots.Do you remember when MS Office came on 29 [if my memory is correct] floppies? I do.
knowriteye
Wow,
I do remember Windows 3.0 followed quickly by a repaired 3.1 on disk. Windows was a manual menu selection on my DOS machine.
I even had 5 1/4 inch floppies, the big flat ones.
OK on the tifs to Mike. He will know in 5 minutes after checking.

Sir, any chance you would let me know your name? It;s a bit awkward to exchange posts with no name.
I'm sure that Mike will reply later this morning. I am an early riser. He is normal.
Fred


Title: Re: out of range
Post by: admin on December 19, 2020, 01:55:10 PM
Thanks for the TIFFs.  I tried them and had no problem: they process and print without issue.  I did notice one thing in the screen shots you included.  Before you get that range check error, you get two other errors: unable to find q.bmp and sRGB.icm.  Those errors are an indication that your Qimage installation is corrupted or incomplete.  Please try reinstalling Qimage Ultimate and it should fix the issue: no need to uninstall first, just run the installer again.

Regards,
Mike


Title: Re: out of range
Post by: admin on December 19, 2020, 02:16:23 PM
Fred also reminded me how intrusive his AVG antivirus has become, so if you have problems after (another) reinstall, I'd put my bet on antivirus interference.  Sometimes AV software can prevent software from accessing some files.  The solution is to enter an exception for QU in the antivirus software... but I don't know if you want to get into that.

Mike


Title: Re: out of range
Post by: knowriteye on December 19, 2020, 03:11:31 PM
Hi Mike
Many thanks for your prompt replies. I have indeed re-installed Qimage [reply 7] and have had no further problems.  I mentioned in my ‘e’ mail this morning Mike I did suspect that the problem lay with my system, I use Kaspersky as anti virus etc. Anyways alls well that ends well. Mike have a merry Christmas and peaceful New Year.
Stay safe,
Trevor.