Jump to content

Welcome!

Sign In or Register to gain full access to our forums.

Photo

JPEG Library Error


  • Please log in to reply
12 replies to this topic

#1 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 01 January 2018 - 05:00 AM

HI,

 

I have successfully run through the program, opting for HSHfitter as there are problems with PTM.

Once I execute I receive a JPEG Library Error, stating "Improper call to JPEG library in state 200". 

 

I have searched extensively for this error message and now seek help here.

 

Andrew

Attached Files



#2 Carla Schroer

Carla Schroer

    Advanced Member

  • Administrators
  • 387 posts
  • LocationSan Francisco, CA

Posted 03 January 2018 - 05:36 AM

This error is discussed elsewhere on the forum - including this post with the error name in the post heading - which links to another thread.

 

http://forums.cultur...y-in-state-200/

 

Here are the highest likelihood errors with RTIBuilder

 

First are there spaces anywhere in the filename or elsewhere in the full pathname of your files?

 

Are you using uppercase "JPG" rather than lowercase jpg?  There is a bug in the ptmfitter that doesn't allow use of the uppercase JPG. 

 

If you are on Mac - you can't run RTIBuilder from the disk image (.dmg) you have to drag RTIBuilder to your applications folder from within the disk image.

 

All of these are further explained in the linked discussions.



#3 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 03 January 2018 - 11:51 PM

Thanks,

 

I read that uppercase issue , which seemed to relate to PTM in that discussion. My images are stored in uppercase and I just now need to find a way to lower them. My viewer wont accept it but I will look for alternatives.

 

Thanks



#4 Carla Schroer

Carla Schroer

    Advanced Member

  • Administrators
  • 387 posts
  • LocationSan Francisco, CA

Posted 04 January 2018 - 12:30 AM

I think that the uppercase JPG issue is specific to PTMs.  There are various programs that can rename files.  I use an application called forklift - which I generally use for comparing drives and backups to look for differences, and then sync things, but it happens to have a file rename feature.  There are many other options.  

 

I do recommend that you rule out that there are any spaces in your filenames or pathnames.  The easiest way to do that is by looking at the .lp file that was generated for your data (in the assembly-files folder)  And check the full pathname.

 

Good luck!



#5 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 04 January 2018 - 01:43 AM

I have manually changed the extension to lower case for each image but again I am stopped by the same error message after the images all execute. I have looked in each of the folders; finished-files, assembly-files, and cropped-files, and find no relevant file to view in RTI viewer. I should also mention that when I searched the forum for this particular error message it came up blank.

 

Thanks again

 

Andrew



#6 Carla Schroer

Carla Schroer

    Advanced Member

  • Administrators
  • 387 posts
  • LocationSan Francisco, CA

Posted 04 January 2018 - 01:58 AM

What I was suggesting was to look in the assembly-files folder for the light position file - which will have the .lp extension. Check the pathnames in there to make sure there are no spaces anywhere in the path.  If you find any, then you need to move the folder - with all the sub-folders to a new location that doesn't have this issue.  Then you can "open an existing file" and you should just be able to build the results.  In other words, you shouldn't need to find the highlights and sphere again since that is already done - assuming you resolve any issues with pathnames.

 

There is another listing with this error message - I searched on "jpeg library" and found several entries - including the one I linked to above.  It isn't smart search, and sometimes you have to choose less terms rather than the full message, in case others didn't type in the exact message the same way. 

 

Carla



#7 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 04 January 2018 - 03:13 AM

And I am certain there are no spaces in anything I do in this program. I will look into the program you nominate to automate the batch  file rename.

 

Thanks,

 

Andrew



#8 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 04 January 2018 - 03:16 AM

The three .lp files are all correctly formatted with underscores.

 

Andrew



#9 Carla Schroer

Carla Schroer

    Advanced Member

  • Administrators
  • 387 posts
  • LocationSan Francisco, CA

Posted 04 January 2018 - 04:28 AM

Andrew - can you copy and paste a line from the .lp file that has the full pathname here?

 

Carla



#10 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 05 January 2018 - 12:14 AM

Is this what you want to see. Here are the first six lines. Could it be the 92 in the first line. This is from the first file appearing in the folder

 

92
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8385.JPG -0.8430064 0.5342322 0.06273952
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8386.JPG -0.78354573 0.29149693 0.5487127
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8387.JPG -0.6741801 -0.33297077 0.65925086
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8388.JPG -0.65759754 -0.48703393 0.5747725
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8389.JPG -0.65153044 -0.6621974 0.37013873
D:\Research Projects\RTI\Dot_painting\jpeg-exports\IMGP8390.JPG -0.69328344 -0.71455485 0.093645304



#11 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 05 January 2018 - 12:16 AM

This is from the file dot_painting_OriginalSet.lp

 

92
D:\Research Projects\RTI\Dot_painting\jpeg-exports\dot(1).jpg -0.5952802 0.76323223 0.25123307
D:\Research Projects\RTI\Dot_painting\jpeg-exports\dot(10).jpg -0.6552721 -0.08540065 0.7505499
D:\Research Projects\RTI\Dot_painting\jpeg-exports\dot(11).jpg -0.63341236 0.29012674 0.7173669
D:\Research Projects\RTI\Dot_painting\jpeg-exports\dot(12).jpg -0.62648886 0.61444914 0.47954556
D:\Research Projects\RTI\Dot_painting\jpeg-exports\dot(13).jpg -0.6602188 0.70433176 0.26082164



#12 Carla Schroer

Carla Schroer

    Advanced Member

  • Administrators
  • 387 posts
  • LocationSan Francisco, CA

Posted 05 January 2018 - 12:25 AM

The problem is clear.  There is a space between Research and Projects in your directory structure.  You can rename this folder, then it should work.

 

The issue with spaces occurs anywhere in the file name path - not just the image file names.

 

The good news is that the fix is easy, and secondly, that you can open the existing .xml file for the project and go straight to building RTIs on the last screen, since you have already detected spheres and highlights.  RTIBuilder will ask if you want to reset the path (since the stored path will be different) say yes - and away you go.

 

Instructions for opening an existing project can also be found in the user guide.

 

Carla



#13 Artcare

Artcare

    Member

  • Members
  • 8 posts

Posted 07 January 2018 - 11:49 AM

Thanks for you help and patience Carla. 

I have a successful result now and have placed all RTI assignments in their own primary folder, instead of having pesky subfolders.

 

I am looking forward to applying the technique to further projects.

 

Regards and thanks,

 

Andrew_Thorn 


  • Carla Schroer likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users