search for: images

Displaying 20 results from an estimated 28285 matches for "images".

Did you mean: image
2007 Nov 10
1
3 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h
...*ptr; + + ptr = bits->ptr; + if (swfdec_bits_skip_bytes (bits, length) != length) + return CAIRO_STATUS_READ_ERROR; + + memcpy (data, ptr, length); + return CAIRO_STATUS_SUCCESS; +} + static void swfdec_image_png_load (SwfdecImage *image) { - SWFDEC_ERROR ("implement loading PNG images"); + SwfdecBits bits; + + swfdec_bits_init (&bits, image->raw_data); + image->surface = cairo_image_surface_create_from_png_stream ( + swfdec_image_png_read, &bits); } cairo_surface_t * commit c13bbaaf453acdab1f5189990fe2ff91ed887bc8 Author: Benjamin Otte <otte at...
2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
libswfdec/swfdec_movie.c | 4 + libswfdec/swfdec_sprite_movie_as.c | 7 ++ test/image/Makefile.am | 76 +++++++++++++++++++++++ test/image/clip-change-backward-5.swf |binary test/image/clip-change-backward-5.swf.png |binary test/image/clip-change-backward-6.swf |binary
2007 Jun 20
0
Branch 'as' - 5 commits - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/image
libswfdec/swfdec_graphic_movie.c | 6 - libswfdec/swfdec_movie.c | 3 libswfdec/swfdec_sprite_movie.c | 7 + test/image/Makefile.am | 58 ++++++++++++++ test/image/replace-button-button-5.swf |binary test/image/replace-button-button-5.swf.png |binary test/image/replace-button-button-6.swf |binary
2007 May 10
1
problem with read.table( )
Hi All, I would like to input a .txt file by using read.table() the file data.txt: Name ID IMAGE:1000031 suid=115221 IMAGE:1000208 51265 IMAGE:1000334 64770 IMAGE:1000365 suid=99969 IMAGE:1000500 55421 IMAGE:1000875 64770 IMAGE:1000892 399655 IMAGE:1000942 suid=112379 IMAGE:1007141 5001 IMAGE:1007150 55 IMAGE:1007164 suid=117508 IMAGE:1007167 suid=102504
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...d b/test/image/image-lossless-alpha.swf.png differ diff-tree 7ee699c59898c37528d0051fd0c25f6756338dbe (from 801292bafb7bb89ecae7a2764307fda87cb540f0) Author: Benjamin Otte <otte@gnome.org> Date: Tue Feb 6 09:53:20 2007 +0100 make rendering more accurate - Don't premultiply images, they are already premultiplied - Use swfdec_color_apply_transform_premultiplied since the image is premultiplied diff --git a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 224e101..4463228 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -588,24 +588,6 @@ sw...
2007 Aug 23
6
controller spec with model that validates_uniqueness
...t :update, :id => @image.id, :category_id => @category.id, :image => {:name => ''test'', :image_number => 13554} #model validates_presence_of :name validates_uniqueness_of :name, :allow_nil => true # rspec output ActiveRecord::RecordInvalid in ''ImagesController should update a database record when it receives a PUT'' Validation failed: Name has already been taken, Image number has already been taken It seems AR is not detecting that this is an edit/update that will not cause a uniqueness conflict. I believe the code in the model...
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get one form. It seems that all of the fields wind up overwriting eachother and...
2006 Aug 11
6
css - location of files.
...he stylesheet for layout, I have myapp_standard.css in /public/stylesheets and it works fine. However, in the stylesheet I define a image to use for my site background. eg: html, body{ background-image: url(mysite_background.jpg); padding-top: 10px; } It is not working - I tried placing the images in /public/images and publiv/images/mysite - no luck..... Can I run ruby code in my stylesheet? To do something like: html, body{ background-image: <%= image ''mysite_background.jpg'' %; padding-top: 10px; } Any other suggestions on a best practise for this??? Thanks! Pi...
2010 May 03
7
rendering images dynamically
Hi, I have a rails application where I respond to a request by fetching image urls from various web api calls and need to display them as they come available. I am able to display all the images once I get them all, but that causes an unacceptable delay for my user. One approach I am trying is, from my controller, set an @image variable, and then pass in a block to the model that retrieves the image urls. In the block, I call In the controller, I have: @query.load_images! do |image...
2006 Feb 21
3
Images directory
I have a template. In this template i refer to images by using <img src="images/image.gif">. I putted the images in the public/images folder. This works only for the base url, e.g. http://localhost:3000/category. When i make a new category like http://localhost:3000/category/new, the images arent displayed. When i go to the source...
2006 Jul 04
2
links to images keep breaking
Hi, I have a catalog that has images in it. The images are stored in public/images/.... When I open the catalog via the catalog controller I get this url: http://127.0.0.1:3000/images/sow/sow.jpg for the images and they display correctly. When I link to the catalog from another controller and view I get this: http://127.0.0.1:...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...olor_table_size); - g_free (color_table); g_free (ptr); -- } -- if (format == 4) { - unsigned char *p = ptr; ++ } else if (format == 4) { int i, j; unsigned int c; unsigned char *idata; ++ guint8 *p; if (have_alpha) { SWFDEC_INFO("16bit images aren't allowed to have alpha, ignoring"); have_alpha = FALSE; } - ptr = lossless (bits.ptr, bits.end - bits.ptr, 2 * image->width * image->height); - image_data = g_malloc (4 * image->width * image->height); - idata = image_data; ++ p = ptr = los...
2007 Jan 26
0
libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c
...); + swfdec_image_create_surface (image, image_data, TRUE); SWFDEC_LOG (" width = %d", image->width); SWFDEC_LOG (" height = %d", image->height); @@ -464,6 +464,7 @@ swfdec_image_lossless_load (SwfdecImage if (have_alpha) { SWFDEC_INFO("16bit images aren't allowed to have alpha, ignoring"); + have_alpha = FALSE; } image_data = g_malloc (4 * image->width * image->height); @@ -513,7 +514,7 @@ swfdec_image_lossless_load (SwfdecImage } } - swfdec_image_create_surface (image, image_data); + swfdec_image_...
2007 Nov 20
0
4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/image test/trace
libswfdec/swfdec_movie.c | 32 +++++++++++++++- libswfdec/swfdec_movie.h | 6 +++ libswfdec/swfdec_resource.c | 4 +- test/image/Makefile.am | 9 ++++ test/image/mask-different-parent-5.swf |binary test/image/mask-different-parent-5.swf.png
2011 Nov 24
5
ActiveRecord::AssociationTypeMismatch
Hi to all, I have this error and I don''t understand why. I have three model, Image and Playlist and PlaylistItem. Everything works fine. The app should work also a XML REST service. When I made this call I obtain this XML because the playlist don''t contains images: GET http://0.0.0.0:3000/playlists/7.xml <playlist> <id>7</id> <name>metallo</name> <images></images> </playlist> I would put some images in playlist (the images are already presents on server) I should made this call: PUT http://0.0.0.0:3000...
2006 Jul 02
1
mess
I forgot to present the problem of wine failure to launch also to the wine list. While my amd64 debian etch is in order, 32 bit debian etch has suffered much and is now in a state of semi-mess. Kernel booted is linux-image-2.6-15-1-k7: but #aptitude shows also a collection of kernels, partly broken: BA linux-image-2.6-486 BA linux-image-2.6-686 BA linux-image-2.6-686-smp iA linux-image-2.6-k7
2006 May 12
11
Stupid? question about if else logic
this seems so stupid, I keep thinking I''ve dealt with this before but I have this code <h1>Portraits</h1> <% if @image.portrait == 1 %> <%= image_tag(url_for_file_column ''image'', ''file'', ''thumb'') %> <% else %> <h1>Landscapes</h1> <%= image_tag(url_for_file_column
2008 Mar 10
10
tutes on testing controllers
hello spec''ers, i''m in the hunt for guides on testing controllers with rspec, would you guys recommend any? thanks Oliver -- Oliver Azevedo Barnes oli.azevedo.barnes at gmail.com +55 11 9768 0193 http://www.linkedin.com/in/oliverbarnes http://workingwithrails.com/person/4704-oliver-barnes
2006 Mar 06
9
Apache + Displaying images
Hi, I''m new to Rails, sorry if I''m repeating the question, but I couldn''t find a solution for my problem so far :( I''m using Apache2 as the web server of my Rails application. I keep my images in public/images and tried inserting images to the page like this; <%= image_tag "rails.png" %> But the image is not displayed on the browser. Can anyone pleeeeese point out the problem? I could do this using WEBrick though. -Umesha -- Posted via http://www.ruby-forum.com/.
2006 Jun 28
1
sortable lists, database update
Hi, I have some images and I want to be able to drag them into the order I want and have the database updated accordingly. I have an unordered list elsewhere in the application that works well, but for the images I cant get it working. In my controller I have: def updateorder params[:images].each_with_index { |id...