jpeg images greater than 32K

I have Sybase ASE 11.5, PowerDynamo 2.0 Nad Netscape Enterprise Server
running on Sun Solaris 2.6. I store some images in database(JPEG).
PowerDynamo shows this images correctly if the size of image is smaller
than 32K. But it shows only 32K part if the image size is greater than
32K.

I use the following code:

/*call the getpicture.ssc script*/
     document.writeln("<IMAGE
SRC=/Site/getpicture.ssc?kod="+kriter+">");


/*getpicture.ssc*/
<!--SCRIPT getpicture.ssc created on 07/10/98 14:01:07
document.contentType="image/jpeg";
mysql="select LOGO from MARKA where MARKA_KODU="+document.value.kod;
myquery=connection.CreateQuery(mysql);
if (!myquery.GetEmpty()) {
 myquery.MoveNext();
 document.write(myquery.GetValue(1));
}
-->

0
Nesimi
12/1/1998 8:07:51 AM
sybase.easerver 11371 articles. 0 followers. Follow

2 Replies
815 Views

Similar Articles

[PageSpeed] 40
Get it on Google Play
Get it on Apple App Store

Try placing an ASE "set textsize ..." command before your select statement.

Nesimi ABAT wrote:

> I have Sybase ASE 11.5, PowerDynamo 2.0 Nad Netscape Enterprise Server
> running on Sun Solaris 2.6. I store some images in database(JPEG).
> PowerDynamo shows this images correctly if the size of image is smaller
> than 32K. But it shows only 32K part if the image size is greater than
> 32K.
>
> I use the following code:
>
> /*call the getpicture.ssc script*/
>      document.writeln("<IMAGE
> SRC=/Site/getpicture.ssc?kod="+kriter+">");
>
> /*getpicture.ssc*/
> <!--SCRIPT getpicture.ssc created on 07/10/98 14:01:07
> document.contentType="image/jpeg";
> mysql="select LOGO from MARKA where MARKA_KODU="+document.value.kod;
> myquery=connection.CreateQuery(mysql);
> if (!myquery.GetEmpty()) {
>  myquery.MoveNext();
>  document.write(myquery.GetValue(1));
> }
> -->

0
Evan
12/1/1998 5:34:09 PM
Hi,

This is the same problem I had and Carson Hager told me what I needed to do

Put this line in after the script label, I have mine set to 2MB but you can

set it 1MB and it will work fine.

var blobsize = connection.CreateQuery("SET TEXTSIZE 2048000");

We should band together and ask Sybase to write better documentation. There

is barely anything on images and how to get them to work with the browser.

Pat
Nesimi ABAT wrote:

> I have Sybase ASE 11.5, PowerDynamo 2.0 Nad Netscape Enterprise Server
> running on Sun Solaris 2.6. I store some images in database(JPEG).
> PowerDynamo shows this images correctly if the size of image is smaller
> than 32K. But it shows only 32K part if the image size is greater than
> 32K.
>
> I use the following code:
>
> /*call the getpicture.ssc script*/
>      document.writeln("<IMAGE
> SRC=/Site/getpicture.ssc?kod="+kriter+">");
>
> /*getpicture.ssc*/
> <!--SCRIPT getpicture.ssc created on 07/10/98 14:01:07
> document.contentType="image/jpeg";
> mysql="select LOGO from MARKA where MARKA_KODU="+document.value.kod;
> myquery=connection.CreateQuery(mysql);
> if (!myquery.GetEmpty()) {
>  myquery.MoveNext();
>  document.write(myquery.GetValue(1));
> }
> -->

0
Patrick
7/9/1999 4:05:25 AM
Reply:

Similar Artilces:

Retrieve/Retrieving Image greater than 32K (32768)
When ct_get_data (Open Client Client Library) was used to retrieve image data stored in a database table, only 32K out of the 100K is retrieved. Any clue as to what should be done would be greatly appreciated. Thanks, Deep You probably want to run this by the open_client newsgroup. I don't know the property that needsw to be set but the default for text retrieval is 32K if you want to get more than that you need to specify the maximum size expected. sybase.public.connectivity.open_client E <deep.varghese@ps.ge.com> wrote in message news:B7B378148DFC1A9D004AFE758...

Retrieve/Retrieving Image greater than 32K (32768)
When ct_get_data (Open Client Client Library) was used to retrieve image data stored in a database table, only 32K out of the 100K is retrieved. (Actually it seems the function ct_describe says that the image column has a size of 32K). Is there some options to be set to increase this to 2GB or are there some similar functions that permit for more than 32K. Any clue as to what should be done would be greatly appreciated. Thanks, Deep Hello, 'set textsize {number}' is the command you are searching for. Here is an extract from the manual : "textsize - specifi...

JPEG image over Tranparent Image problem
Hi, I am just started my career as a developer few months back  and I am in my first project and I am struck. Please help. I am developing  a website with asp.net and C# In one of the web page, in an Image control, I have to display an image over an other image which I sucessfully did with various code articles help from the web. Now, in one scenario I have to place a smaller image first. Then over that I have to place a gif image(in which there is a circle transparent area). It is something like placing a photo in a photoframe. With some help from the web, I am able to d...

How (and when) is an image cached for an ASPX with ContentType = image/jpeg ?
I have a page 'GetImage.aspx' which takes 3 query string parameters: ID, Height, and Width. It uses the ID to retrieve binary image data from the database then scales the image to the given height and width. The content type for the page is set to "image/jpeg" so I can use this page as the url for an <img> tag or ImageButton control. Examples: <asp:ImageButton id="img" runat="server" ImageUrl="GetImage.aspx?ID=12345&Height=120&Width=200" /><img src=http://www.somedomain.com/GetImage.aspx?ID=12345&Height=120&...

image/jpeg, image/tiff content type
Hi, I am having problem when I try to attach a .jpg and .tiff/.tif image in my email program. I have allowed image/jpeg and image/tiff content type but it still says invalid attachment. I have even tried image/jpg and image/tif content type but it still doesnt work..jpeg image can be attached without any error. Can anybody help? Thank you in advance....

Imaging, but not imaging
We multicasted to 43 machines. Updated the image on the master. Multicasted the updated image to 36 machines. (the other 7 wouldn't join the session for some unknown reason). I visually verified that all 36 were imaging. One of the 8 which didn't rename appears to not even have been imaged. The problems with the previous image were still there. It's as though the machine didn't image even though I saw it take part in the session and the temp bar going across the screen. What the heck's going on here? AlaN As a try, what happens if you boot either to PXE ...

jpeg images
Name: DENIS C WHITE Email: dcwgcwatcomcastdotnet Product: Firefox Summary: jpeg images Comments: I just received an e-mail with many listed jpeg images listed as "unknown.jpg" I then forwarded them to my recently transferred NScape site and all the jpeg images were there. How do I get all these with Firefox ? Sincerly Denis C White Browser Details: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 ...

image and image
// create an image object, using the filename we just retrieved System.Drawing.Image image = System.Drawing.Image.FromFile(Server.MapPath(file)); // create the actual thumbnail imageSystem.Drawing.Image thumbnailImage = image.GetThumbnailImage(64, 64, new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallback), IntPtr.Zero);   now my question is how to display this image in my image1 control in asp.net (version 1.1) the below line of code is not working.  Image1.ImageUrl=thumbnailImage.ToString();Mark As Answer If my reply helped you. Hi, you can save t...

Image in image
Hi, I have a project where clients viewing my website can buy t-shirts. They can choose from a number of t-shirt colors and shapes which are their plain colour. They can also choose a number of prints to be placed on the t-shirt. These will be graphics stored in a database. My problem is on how I can displaty the t-shirt with the graphics or logo they chose on te t-shirt. It would be something like drawing text on an image but instead drawing an existing image on the base image. Any Ideas? (I am using visual studio 2005 and vb.NET)   RegardsMerovingian you 1. You can create a...

JPEG Images
I have a requirement to store JPEGs as blobs in the database and then retrieve them into a datwindow and display them. Is this possible and how can I do it. Please send answers to eugene.lyons@logsa.army.mil Thanks, Ed Ed, If you use PB7, the picture control can display JPEGs. -- Regards, Millard[Team Sybase] Power3 - Custom Enterprise Training Ed Lyons wrote in message <3948EEB6.1F61D75C@logsa.army.mil>... >I have a requirement to store JPEGs as blobs in the database and then >retrieve them into a datwindow and display them. Is this possible and &...

Is Greater Greater?
Hi, In util.c (2 places) there is: (PERL_ABS(rev) > VERSION_MAX ) VERSION_MAX is defined 0x7FFFFFFF (highest + in a signed int) and 'rev' defined as I32 (also signed), so how can 'rev' ever be greater than VERSION_MAX?? By dropping VERSION_MAX to 0x7FFFFFFE confirm my compiler no longer sees this comparison a permanent (logic) 0. Given the numeric size of an int, wonder if versions could really get that large? Norm On 08/03/2011 05:23 AM, NormW wrote: > Hi, > In util.c (2 places) there is: > > (PERL_ABS(rev) > VERSION_MAX ) >...

Image on Image
I am trying to display a page that has image of a map on it. The user can then place other images of red thumbtacks on the image at different locations. Then when these thumb tacks are clicked on, they open a folder of pics related to the area. I saw a method in the imageButton class that returns the (x,y) of the location where the user clicked. I thought I could use this information to place another, smaller image button, on that area. My problem is that i can't seem to get the bottom imageButton to be transparent so I can see the smaller one. Am i on the right track with this. Any advi...

How to SHOW (JPEG) saved images from SQL Server (image type) ?
Hello, I managed to save some processed JPEG files directly into the database (into an image field) How can I get it back from the database and show it ? Thanks, Yovav.10X N C U L8RBest RegardsYovavG@GMail.com Response.ContentType = GetContentTypeFromDB();Response.BinaryWrite(CreateThumbnail(GetDataFromDB(), width, height));private byte[] CreateThumbnail(byte[] data, double width, double height){System.Drawing.Image g = System.Drawing.Image.FromStream(new MemoryStream(Data));Size ThumbSize = new Size(); ThumbSize = NewThumbSize(g.Width, g.Height, Width, Height);Bitmap ImageOut...

Problem with colors when converting a TIF image in CMYK mode to a JPEG image in RGB mode
I am trying to convert a  TIF image in CMYK mode to a JPEG image in RGB by using the code at the end of this message.All works fine, but the colors in the resulted JPG file are really darker than the original TIF file, and it is really a problem for me. Does anybody know how could I do the conversion without losing the original colors ?I have tried the compnent http://www.aspjpeg.com/, and I did the conversion with the following code : ASPJPEGLib.IASPJpeg objJpeg; objJpeg = new ASPJPEGLib.ASPJpeg(); // Open source image objJpeg.Open(tiffFile.FullName); objJpeg.ToRGB(); objJpe...

Web resources about - jpeg images greater than 32K - sybase.easerver

File:Greater London UK location map 2.svg - Wikipedia, the free encyclopedia
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.If the file has been ...

France pushing for greater military effort against Islamic State: ambassador
France is pushing for coalition partners in Iraq and Syria, including Australia, to step up their military contributions to the fight against ...

Paris attacks: combating terrorism to become greater focus at G20, says Prime Minister Malcolm Turnbull ...
Prime Minister Malcolm Turnbull says that&nbsp;an international response to combating terrorism will become a greater focus of G20 talks in Turkey ...

Sex inquiry recommends greater powers for police to tackle brothel crime
EXCLUSIVE: Biggest overhaul of NSW sex industry in over two decades proposes &quot;greater powers&quot; for police.

Phil Davis confident Greater Western Sydney will keep Cam McCarthy in AFL
Captain Phil Davis is upbeat about GWS winning the AFL tug-of-war over Cam McCarthy's future, despite the forward appearing determined to return ...

Paris attacks: Andrew Nikolic calls for Peter Dutton to be given greater say in national security decisions ...
Andrew Nikolic calls for Peter Dutton to be given a greater say in national security decisions following the attacks in Paris.

Cisco: Moving At Greater Speed, Says Carrier Chief; Trust The 'Mature Stack'
Cisco: Moving At Greater Speed, Says Carrier Chief; Trust The 'Mature Stack' Barron's (blog) The company announced enhancements to the “XR” ...

22 Times: Climate Change a Greater Threat than Terrorism
ISIS has taken responsibility for the attacks in Paris that have left more than 150 dead, but Obama is more concerned with climate change.

Airbnb vows greater cooperation with cities
The home-sharing business promises to pay its "fair share" of taxes, be more transparent with data and ban users from listing investment properties. ...

Chris Hemsworth Speaks Adoringly About Wife Elsa Pataky: Motherhood Gave Me a Greater Appreciation for ...
Chris Hemsworth Speaks Adoringly About Wife Elsa Pataky: Motherhood Gave Me a Greater Appreciation for Her

Resources last updated: 11/25/2015 12:23:07 AM